Overview
Radar’s beacon monitoring capabilities enable you to detect and range iBeacons for proximity-based experiences. Use beacons for indoor location, asset tracking, proximity marketing, and more.Understanding Beacons
Beacons are Bluetooth Low Energy (BLE) devices that broadcast a signal containing:- UUID: Universal unique identifier (typically organization-specific)
- Major: Major identifier (e.g., for a specific location or building)
- Minor: Minor identifier (e.g., for a specific beacon within a location)
- RSSI: Signal strength indicator (received signal strength)
- Radar ID: Unique Radar identifier
- Tag: Categorize beacons (e.g., “entrance”, “checkout”, “shelf”)
- External ID: Your unique identifier
- Description: Human-readable name
- Metadata: Custom key-value pairs
- Geometry: Location coordinates of the beacon
Setting Up Beacon Monitoring
To monitor beacons, you first need to configure them in your Radar dashboard with their UUID, major, and minor values.Enable Beacon Monitoring
Enable beacon monitoring in your tracking options:Enabling beacon monitoring requires Bluetooth permissions. Ensure your app’s
Info.plist includes NSBluetoothAlwaysUsageDescription and NSBluetoothPeripheralUsageDescription.Beacon Ranging
Range nearby beacons in the foreground:Beacon Events
Radar generates beacon events when users enter or exit beacon range:Beacon Entry
Triggered when a user enters the range of a beacon.Event type:
RadarEventTypeUserEnteredBeaconLocation source: RadarLocationSourceBeaconEnterBeacon Properties
Access beacon properties from theRadarBeacon object:
Understanding RSSI
RSSI (Received Signal Strength Indicator) measures the signal strength between the device and beacon:- Values: Typically range from -100 (weak) to 0 (strong)
- Proximity estimation:
- Immediate: RSSI > -50 (within 1 meter)
- Near: RSSI -50 to -70 (1-3 meters)
- Far: RSSI -70 to -90 (3-10 meters)
- Very far: RSSI < -90 (10+ meters)
Use Cases
Indoor Navigation
Use beacons to provide turn-by-turn directions inside buildings where GPS is unavailable.
Retail Experiences
Trigger product information, promotions, or personalized content when customers approach specific shelves or displays.
Asset Tracking
Monitor valuable equipment, inventory, or assets by detecting when they enter or leave specific areas.
Museum Guides
Provide contextual information about exhibits when visitors approach beacon-equipped displays.
Contactless Check-in
Automate check-ins at venues, airports, or facilities when users enter beacon range.
Workplace Analytics
Track office occupancy, desk usage, and employee presence for space optimization.
Beacon Deployment Best Practices
Choose the Right Beacon Hardware
Select beacons with appropriate range, battery life, and environmental durability for your use case. Consider factors like mounting options and replaceable batteries.
Plan Beacon Placement
Place beacons strategically based on your desired range and coverage area. Consider signal interference from walls, metal, and other obstacles.Recommended spacing: 3-10 meters apart for reliable coverage
Calibrate Signal Strength
Test beacon RSSI at various distances in your environment. Adjust transmit power if your beacons support it.
Use Meaningful Identifiers
Organize beacons with a clear UUID/major/minor scheme:
- UUID: Organization or project
- Major: Building or floor
- Minor: Specific location or area
Combining Beacons with Geofencing
Use beacons together with geofences for enhanced accuracy:Testing Beacon Integration
Test your beacon integration during development:Physical Testing
- Configure test beacons in your Radar dashboard
- Enable beacon monitoring in your app
- Move in and out of beacon range
- Verify entry and exit events are received
- Check RSSI values at different distances
Beacon Simulators
Use beacon simulator apps to test without physical hardware:- iOS: Locate Beacon, BeaconScope, or similar apps
- Configure with your test beacon UUIDs, major, and minor values
Beacon simulator apps require Bluetooth and may not work in iOS Simulator. Test on physical devices.
Troubleshooting
Beacons not detected
Beacons not detected
Common causes:
- Bluetooth is disabled on the device
- Missing Bluetooth permissions in
Info.plist - Beacon monitoring not enabled in tracking options
- Beacons not configured in Radar dashboard
- Beacons out of range or powered off
- Verify Bluetooth is enabled
- Add required permission keys to
Info.plist - Check tracking options have
beacons = true - Confirm beacon UUID/major/minor in dashboard
- Test with beacon nearby (< 5 meters)
Inconsistent RSSI values
Inconsistent RSSI values
Common causes:
- Environmental interference (walls, metal, people)
- Device orientation changes
- Beacon battery low
- Multiple signal reflections
- Average RSSI values over time
- Use relative proximity, not absolute distance
- Test in your actual deployment environment
- Replace beacon batteries
- Consider using multiple beacons for redundancy
Delayed beacon events
Delayed beacon events
Common causes:
- Background tracking limitations
- App suspended or terminated
- Rate limiting to conserve battery
- Use foreground tracking for immediate updates
- Enable background modes in Xcode
- Test with app in foreground first
- Consider beacon ranging frequency vs battery trade-offs
Best Practices
Test in Real Environments
Always test beacon ranging in your actual deployment environment. Signal behavior varies significantly between locations.
Handle RSSI Fluctuations
Use averaging or filtering to smooth RSSI values. Don’t rely on instantaneous readings for proximity decisions.
Provide Fallback Experiences
Design your app to work without beacons. Treat beacon data as enhancement, not a requirement.
Monitor Battery Life
Bluetooth scanning impacts battery. Balance update frequency with power consumption.
For more details on beacon monitoring, visit the Radar documentation.