additional plugins not available?
Posted: 19:43, 20 Nov 2014
Creating a new cordova project and adding the plugins I need, I can drag the "index.html" to the workbench and run almost everything. However, it seems only the plugins in the demo projects are accessible.
For instance, after deviceready I try both of these lines (separately):
ble = evothings.ble;
pushNotification = window.plugins.pushNotification;
ble has a valid object; for the other, I get:
TypeError: undefined is not an object (evaluating 'window.plugins.pushNotification')
If I build the cordova project to a device directly, it finds both evothings.ble and window.plugins.pushNotification with no problem.
I love the workbench so far, how do I get around this snag?
For instance, after deviceready I try both of these lines (separately):
ble = evothings.ble;
pushNotification = window.plugins.pushNotification;
ble has a valid object; for the other, I get:
TypeError: undefined is not an object (evaluating 'window.plugins.pushNotification')
If I build the cordova project to a device directly, it finds both evothings.ble and window.plugins.pushNotification with no problem.
I love the workbench so far, how do I get around this snag?