- Fixes: petermetz#259
- Android now allows the usage of wildcard UUIDs by passing in
cordova.plugins.locationManager.BeaconRegion.WILDCARD_UUID
as the UUID of a BeaconRegion (constructor)
- iOS 11 .plist compatibility added (
NSLocationAlwaysAndWhenInUseUsageDescription
)
- Fixes: petermetz#323
- Upgrades to the latest stable AltBeacon library at present (v2.12.4)
- Fix: Cordova Android 7.0.0 build issues averted:
- Fix: WKWebView crash no longer happens
- Feature: Stop advertising as iBeacon is now implemented on the Android platform as well.
- Hot-fix: syntax errors fixed in Android
- Upgraded AltBeacon to v2.11
- iBeacon advertising added for Android: https://github.com/petermetz/cordova-plugin-ibeacon/pull/282/commits/85967c962acd0ba50b5f1ccce89c3e28873e4530
- Smaller fixes/updates
- Plugin is now once again usable with Android SDK targets below 23 (Marshmallow)
- New Feature: You can now configure the foreground scan between period (Android) directly from the config.xml file of your Cordova project.
- Dependency updated: AltBeacon jar is now on version 2.7.1.
- Important for contributors: The Android source code has been reformatted with Android Studio, the indentation is now 4 spaces instead of a mixture of tabs and spaces. These changes were on commits that have no other changes contained in them.
- New feature:
enableBluetooth
/disableBluetooth
(Android only) (Thanks to @akreienbring) - New feature:
isBluetoothEnabled
- AltBeacon library backend for Android version (Thanks to @RonMen)
- New feature added:
requestStateForRegion
(iOS only)
- Klass dependency has been removed. Therefore
cordova.plugins.LocationManager.Delegate
entity no longer supports implements and any callbacks mys override the default callbacks directly. SeeReadMe.md
for examples of how to use Delegate since this change
- Fixed a bug when installing the plugin sometimes resulted in broken Javascript source files that contained syntax errors and stopped apps from working after the plugin has been added to the project.
-
Two new methods were added to manage new permissions introduced by iOS 8
-
BeaconRegion
s now support the parameternotifyEntryStateOnDisplay
in their constructor.
- On iOS 8, the beacon interaction won't work without explicitly asking for permission from the user.
- The plugin received a new ID. Previously it was
org.apache.cordova.ibeacon
and now it runs ascom.unarin.cordova.beacon
. To perform an upgrade from earlier versions with the old ID, you'll have to remove and add the plugin again with the cordova cli commands:cordova plugin rm org.apache.cordova.ibeacon
and thencordova plugin add com.unarin.cordova.beacon
to get the latest version. You can have a look at the PhoneGap Build submission here.
- API for Advertising added to 2.0 design (support for iOS only).
- Distance approximation called 'accuracy' added to Ranging callback
- Beacon Tx value added (Android only)
- Redesigned to use Promise .then() .fail(), .done() for method callbacks
- Singleton Delegate object implementation for event handling
- Android support added
- Monitoring and Ranging support for iOS and Android
- iOS API for Advertising, Ranging and Monitoring on iOS.
- Wrote proper documentation and retested all the functionality. No API change introduced.
- Beta version created.