
Scan for iBeacons
This app demonstrates how to scan for iBeacons.
You must run this app in the Evothings client app, or build a Cordova app with the plugin cordova-plugin-ibeacon. iOS 7 or Android device with support for Bluetooth 4.0 and Android 4.3 or higher required.

Source Code
You can browse the source code for this example at the Evothings GitHub repository
The file index.html is the main HTML file of the app.
In file index.js you will find the JavaScript code for the app. Note that you need to add your own manufacturer UUIDs to the list in this file (see code around line 50) for the app to detect your iBeacon(s).
What You Need
This example requires an iOS device or Android device with support for Bluetooth 4.0 (which includes BLE). In addition Android 4.3 or later is required, in addition to the hardware.
You need to run the example in the Evothings Client app. Alternatively, you can make a Cordova application if you wish to distribute the app. Then you need to include the Cordova plugin cordova-plugin-ibeacon.
Please note that BLE support on Android is still not fully mature. As a result, you may experience difficulties running this example.
You also need at least one iBeacon device you can work with. Note that you need to add your manufacturer UUID(s) to file index.js for the app to detect your iBeacon(s).
How To Get Up And Running
Follow these steps to get started with this example:
- Run the Evothings Workbench on your desktop/laptop computer.
- Run the Evothings client app on an Android mobile device and connect to the Workbench.
- Press the "Code" button, edit file index.js and add your UUID(s) and save the file.
- Launch the example "iBeacon Scan" from the Workbench window by pressing "Run".
- If everything works, the app should automatically detect your iBeacons.
Copyright © 2013-2014 Evothings AB