react-native-beacons-manager
react-native-beacons-manager copied to clipboard
Monitoring beacons with region equal to null does not work.
Version
1.0.7
Platform
iOS & Android
OS version
iOS 10 & android 7.0
Steps to reproduce
- install library
- use startMonitoringForRegion(null)
Expected behavior
Should scan for any beacon in region.
Actual behavior
Does not monitor any beacons at all.
i believe it´s a required parameter. it works for me with ANY string though.
The parameter regionId must be an unique ID. The parameter beaconsUUID is optional,...
So if i put any valid format of string it will detect any and every beacon broadcasting that format?(for eg ibeacon format)
just try it ;) - it worked for me with some estimote beacons.
We are talking about the identifier parameter of region or UUID here? Could you show me an example where you put any random uuid string for reference and could catch all beacon signals of that format(for eg ibeacon) because I had to explicitly mention all uuid and region details
we are only talking about the parameter regionId, the uuids are optional. if you do not add it, you will get all beacons in range. i just used the "Simple example" code from the Readme.md for android, nothing else.
Yes identifier is compulsory but can be anything but in the example you just pointed out it does use a uuid: parameter in defining region. I was interested in scanning any and every beacon in my proximity without specifying uuid for every beacon, Iam using an iOS device for testing
just ignore the uuid parameter then. you were talking about the region parameter, not the uuid...?
@ateufel No i was talking about the uuid parameter of region