diff --git a/CHANGELOG.md b/CHANGELOG.md index 1878203..9f770c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,3 +27,11 @@ errors and stopped apps from working after the plugin has been added to the proj and add the plugin again with the cordova cli commands: ```cordova plugin rm org.apache.cordova.ibeacon``` and then ```cordova plugin add com.unarin.cordova.beacon``` to get the latest version. You can have a look at the PhoneGap Build submission [here](https://build.phonegap.com/plugins/986). + +# 3.2.0 + +## Breaking Changes + +* Klass dependency has been removed. Therefore ```cordova.plugins.LocationManager.Delegate``` entity no longer supports +implements and any callbacks mys override the default callbacks directly. See ```ReadMe.md``` for examples of how to use + Delegate since this change diff --git a/plugin.xml b/plugin.xml index b7bece5..73fa310 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,5 +1,5 @@ - + Proximity Beacon Plugin Proximity Beacon Monitoring and Transmission Plugin (supporting iBeacons) diff --git a/www/Delegate.js b/www/Delegate.js index adc3c46..b7526af 100644 --- a/www/Delegate.js +++ b/www/Delegate.js @@ -27,14 +27,15 @@ var Regions = require('com.unarin.cordova.beacon.Regions'); * * @example * - * var delegate = new cordova.plugins.LocationManager.Delegate.implement({ - * didDetermineStateForRegion: function(region) { - * console.log('didDetermineState:forRegion: ' + JSON.stringify(region)); - * }, - * didStartMonitoringForRegion: function (region) { - * console.log('didStartMonitoringForRegion: ' + JSON.stringify(region)); - * } - * }); + * var delegate = new cordova.plugins.LocationManager.Delegate(); + * + * delegate.didDetermineStateForRegion = function(region) { + * console.log('didDetermineState:forRegion: ' + JSON.stringify(region)); + * }; + * + * delegate.didStartMonitoringForRegion = function (region) { + * console.log('didStartMonitoringForRegion: ' + JSON.stringify(region)); + * } * * @returns {Delegate} An instance of the type {@type Delegate}. */