dchs_flutter_beacon
0.6.10, released 4 months ago by dariocavada.com
Flutter plugin for scanning and transmitting iBeacons on Android and iOS
What it does
Provides APIs to range, monitor, and advertise iBeacon packets. Handles permission checks and platform-specific setup automatically.
AI-written summary of version 0.6.10, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need BLE beacon ranging or monitoring in a Flutter app
- You want to advertise as an iBeacon from a Flutter device
Skip it when
- You only need simple Bluetooth LE scanning without iBeacon support
- You are targeting platforms other than Android/iOS
Strengths
- Automatic permission handling
- Stream-based API for reactive ranging
- Supports both scanning and advertising
- Cross-platform with minimal code changes
Weaknesses
- Requires manual Android manifest permissions
- Limited to iBeacon format
- No support for other beacon types
- Requires device location services enabled
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Add required Android permissions to AndroidManifest.xml and iOS Info.plist, request runtime permissions via initializeAndCheckScanning, ensure location services enabled
final regions = [Region(identifier: 'all-beacons')];
flutterBeacon.ranging(regions).listen((result) {
// handle ranging results
});Works with
Packages commonly used together with dchs_flutter_beacon: ones it builds on, ones built on it, and its own family.