A Cordova/PhoneGap plugin for iBeacon support on iOS and Android, enabling ranging, monitoring, and advertising.
Cordova-plugin-ibeacon is an open-source plugin that adds iBeacon support to Apache Cordova and PhoneGap applications. It enables hybrid mobile apps to interact with Bluetooth Low Energy beacons for proximity-based experiences like indoor navigation, contextual notifications, and asset tracking. The plugin abstracts the platform-specific native APIs (iOS Core Location and Android AltBeacon) into a unified JavaScript interface.
Mobile developers building hybrid apps with Cordova or PhoneGap who need to integrate iBeacon functionality for proximity-aware features on both iOS and Android.
Developers choose this plugin because it provides a consistent, well-documented API across platforms, eliminates the need to write separate native code for beacon interactions, and is actively maintained with community contributions.
An iBeacon plugin for Phonegap / Cordova 3.x and upwards. Supports both iOS and Android (contributions are welcome)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a unified JavaScript API for ranging and monitoring on both iOS and Android, leveraging native libraries like Core Location and AltBeacon, as stated in the README's cross-platform support.
Since version 2, uses promises instead of callbacks for asynchronous operations, improving code readability and maintainability, as highlighted in the API changes.
Closely mimics Apple's CLLocationManager API, including advertising and region monitoring, offering a native-like experience for iOS developers, as described in the philosophy.
Includes features like the ARMA filter for improved distance calculations and control over Bluetooth permissions, enhancing performance on Android, as noted in the exclusive features.
Advertising as an iBeacon is iOS-only, with no current support for Android, limiting functionality for cross-platform projects that require device transmission.
Requires manual setup of delegates for event handling, adding boilerplate code and complexity compared to simpler, callback-driven alternatives.
As a Cordova plugin, it may introduce latency in beacon detection and processing compared to native implementations, especially for intensive ranging tasks.