react-native-ble-plx icon indicating copy to clipboard operation
react-native-ble-plx copied to clipboard

Feature Request

Open ParshantArora opened this issue 6 years ago • 3 comments

Hi my need is to get static Bluetooth id during scanning. So that i can differentiate a particular persons iphone/ipad based on that id . But as you know apple provide us UUID which is not constant or static which changes during every session.

On android we are getting static MAC address In short i need a constant id that is throughout the app or phone in iOS

ParshantArora avatar Apr 04 '20 07:04 ParshantArora

Hi I also have same requirement in my application. Is there any method in library which gives advertising packet from where unique ID can be fetched? Sample code will be highly appreciated here. Thanks

Harneetk avatar Apr 05 '20 05:04 Harneetk

It's not possible on iOS. What you can do is to insert your own unique value inside Manufacturer Data record, put unique service UUID or service data (on peripheral side).

Cierpliwy avatar Apr 16 '20 08:04 Cierpliwy

Yes Solved the problem by setting service UUID data in advertising data

ParshantArora avatar Apr 18 '20 05:04 ParshantArora