Socket.IO integration with chrome extension.

185 views
Skip to first unread message

Villie

unread,
Dec 8, 2014, 6:20:42 AM12/8/14
to chromium-...@chromium.org
Hi All,

I am developing a chat plugin where I am using node.js in the server and using socket.io for implementing the chat updates.

 But its not working in my end for some reason. 
Below is the error string I get when I try to include socket.io in chrome plugin.
(anonymous function)

extensions::platformApp:17 window.localStorage is not available in packaged apps. Use chrome.storage.local instead.extensions::platformApp:17 (anonymous function)socket.io.js:1385 9socket.io.js:1 ssocket.io.js:1 (anonymous function)socket.io.js:989 (anonymous function)socket.io.js:1057 6.debugsocket.io.js:1 ssocket.io.js:1 (anonymous function)socket.io.js:11 2../managersocket.io.js:1 ssocket.io.js:1 (anonymous function)socket.io.js:3 1../lib/socket.io.js:1 ssocket.io.js:1 esocket.io.js:1 (anonymous function)socket.io.js:1 (anonymous function)socket.io.js:1 (anonymous function)
extensions::platformApp:17 window.localStorage is not available in packaged apps. Use chrome.storage.local instead.
extensions::platformApp:17 window.localStorage is not available in packaged apps. Use chrome.storage.local instead.
extensions::platformApp:17 beforeunload is not available in packaged apps.



Has any one integrated socket.io  in chrome extension successfully?

Tks
Reply all
Reply to author
Forward
0 new messages