Unfortunately not. No web browsers have implemented any bridges between beacon detection and JavaScript.
I donβt think the plugin is suitable for mobile browsers (iOS or Android), because no browser supports asynchronous communication between external applications and JavaScript in Mobile Safari / Mobile Chrome. The best you can do is set up a custom application that responds to the beacon and then launches the web page in a browser. But I understand that this is not what you are asking for.
If you want to create a native JavaScript application, you can use Cordova (aka PhoneGap) and use plugins that provide beacon support. My company has one for our ProximityKit beacon system:
https://github.com/RadiusNetworks/proximitykit-plugin-cordova
There is also a Cordova plugin with basic beacon support:
https://github.com/petermetz/cordova-plugin-ibeacon
source share