Current Implementation
beaconManager = BeaconManager.getInstanceForApplication(reactContext);
beaconManager.getBeaconParsers().clear();
beaconManager.getBeaconParsers().add(new BeaconParser().setBeaconLayout("m:2-3=0215,i:4-19,i:20-21,i:22-23,p:24-24"));
What's Working:
- AltBeacon detection works perfectly
- Bluetooth permissions are properly handled
- Scanning starts and runs without errors
- We receive callbacks in the
didRangeBeaconsInRegion
method
What's Not Working:
- iBeacons are not being detected at all
- We've verified the iBeacons are broadcasting using other tools
- No errors in the logs
Questions:
- What is the correct parser layout for iBeacon detection?
- Do I need additional configuration specifically for iBeacon support?
Environment:
- Android Beacon Library version: latest
- Android Version: 15
- Testing device: Pixel 9 pro XL
Implementation
.java
Things I've Tried:
- Different parser layouts
- Verifying Bluetooth is enabled and permissions are granted
- Confirming the iBeacons are within range and broadcasting
- Logging beacon detection events
What's Not Working:
- iBeacons are not being detected at all