A starting project for the Cordova Proximity Plugin.
-
After launching the app, you can start monitoring or ranging beacons by pressing the similarly named buttons on the second and the third tabs of the application.
-
The messages produced by iOS will get populated on the first tab.
-
To see any of the aforementioned in action, you have to edit the properties of the monitored/ranged beacon either by typing them in on the device's keyboard, or modifying the default values in the source code (see the .html files).
After a clean checkout, make sure to add one or all of the supported platforms and the plugin itself before running.
Install the Ionic Framework globally:
$ npm install -g [email protected]
Install Apache Cordova globally:
$ npm install -g [email protected]
Install local npm dependencies
$ npm install
$ ionic cordova run android -lcs
You may need to manually enable location permissions for the application from the settings menu of the Android device.
https://ionicframework.com/docs/native/ibeacon/ https://ionicframework.com/docs/