Skip to content

Issue when trying to listen to iBeacons #235

@jaredalexander

Description

@jaredalexander

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);
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions