evothings / cordova-ble

Bluetooth Low Energy plugin for Cordova
http://www.evothings.com/
Apache License 2.0
242 stars 103 forks source link

How to get beacon data from ble.scan #88

Closed MuraliKrishnaDev closed 8 years ago

MuraliKrishnaDev commented 8 years ago

Hi,

I need to get beacon data from ble.scan i.e. UUID+Major+Minor+Txpower,

Please help me in this regard,

Thanks and Regards, Murali

ghost commented 8 years ago

@MuraliKrishnaDev Hi, on iOS you cannot get iBeacon data using BLE scanning, you must use Apple's CoreLocations API. Here is a plugin that does this for you: https://github.com/petermetz/cordova-plugin-ibeacon On Android, you can also use this plugin. (It is possible to use the BLE plugin for obtaining iBeacon data on Android, but the beacon plugin is a better option since it handles special cases and other things you would need to implement yourself.)

ghost commented 8 years ago

@MuraliKrishnaDev Closing this issue, please contact me if you want to reopen, or have any further questions, email mikael@evothings.com