-
Notifications
You must be signed in to change notification settings - Fork 39
cordova app chrome not defined #8
Comments
As a followup, the calls to chrome.sockets... were in a onDeviceReady function; Code as follows var app = { receiveErrorListener: function (info) { receiveListener: function (info) { addReceiveListeners: function () {
alert (typeof(chrome) == "undefined");
}; |
Problem fixed by upgrading to Cordova v 6.0 |
I installed the plugin in Cordova with
cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-sockets-udp
and when the app runs I get a message chrome not defined.
What am I missing?
The text was updated successfully, but these errors were encountered: