Cross-platform (iOS/Android) iBeacon plugin for Cordova and Phonegap
JavaScript Objective-C Java Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
src
test
www
.editorconfig
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
gulpfile.js
package.json
plugin.xml

README.md

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