Cross-platform (iOS/Android) iBeacon plugin for Cordova and Phonegap
- Platforms: iOS, Android
- Simple usage
- Well tested on real devices (unit/integration tests)
$ cordova plugin add https://github.com/mobilion/cordova-ibeacon-plugin.git
For more examples and all usage information please refer to the documentation.
var region = new ibeacon.Region({
uuid: 'CCE0847C-66CA-45F0-888F-89DD51EE38D2'
});
ibeacon.startRangingBeaconsInRegion({
region: region,
didRangeBeacons: function(result) {
console.log('I see ' + result.beacons.length + ' beacons');
}
});
Please refer to the corresponding documentation page.
- Advertising support for Android platform
- Demo application (+video tutorial)