/cordova-ibeacon-plugin

Cross-platform (iOS/Android) iBeacon plugin for Cordova and Phonegap

Primary LanguageJavaScriptApache License 2.0Apache-2.0

cordova-ibeacon-plugin Build Status

Cross-platform (iOS/Android) iBeacon plugin for Cordova and Phonegap

Features

  • Platforms: iOS, Android
  • Simple usage
  • Well tested on real devices (unit/integration tests)

Install

$ cordova plugin add https://github.com/mobilion/cordova-ibeacon-plugin.git

Usage

For more examples and all usage information please refer to the documentation.

Example

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

FAQ

Please refer to the corresponding documentation page.

Roadmap

  • Advertising support for Android platform
  • Demo application (+video tutorial)

Author

Johannes Schickling

License

Apache License, Version 2.0

Credits