You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run the javascript below, I get this error:
10-12 22:22:56.329 17624-17624/? W/ScriptView﹕ Uncaught Error: Error calling method on NPObject. -- From line 1 of
JavaScript code:
WS.sensorOn(WS.sensor("ibeacon"), 1000);
WS.subscribe('ibeacon', function (channel_name,UUID,powerLevel,majorNum,minorNum) {
WS.log("ibeacon found with uuid:" + UUID);
});
Activity
kurtisnelson commentedon Oct 13, 2014
Documentation is out of date. See https://github.com/kurtisnelson/wearscript-android/blob/upstream-dev/WearScript/src/main/assets/init.js#L1019
kurtisnelson commentedon Oct 13, 2014
Updated. Needs closing.