becvert / cordova-plugin-websocket-server

Cordova WebSocket Server Plugin
MIT License
84 stars 35 forks source link

window.plugins is undefined #32

Closed homakov closed 7 years ago

homakov commented 7 years ago

Using this on macos:

cordova create testwebsocket

cd testwebsocket

cordova platform add android

cordova plugin add cordova-plugin-websocket-server

cordova run android

window.plugins and wsserver are undefined. Is this plugin still supported?

By the way how can I contact you? Interest in a contract gig for similar functionality?

homakov commented 7 years ago

Figured out it's under window.cordova.plugins. Weird, i used window.plugins before... Anyway still interested in reaching out to discuss a project

homakov commented 7 years ago

Btw @becvert do you know any way how to connect to that websocket from safari? It denies all localhost requests. Works on Android.

becvert commented 7 years ago

Do you use the 'origins' option?

becvert commented 7 years ago

support@becvertprod.fr to reach me in private