adonna library
A Flutter plugin that wraps the Feasycom FeasyBeacon SDK for Android and iOS.
This plugin provides cross-platform BLE beacon functionality with comprehensive background monitoring capabilities, including:
- BLE scanning and device discovery
- Device connection and parameter management
- Beacon configuration (iBeacon, Eddystone, AltBeacon)
- OTA firmware updates
- Background monitoring with event detection
- Cross-platform consistency between Android and iOS
Features
- 100% SDK Implementation: Complete parity with native Android and iOS SDKs
- Cross-Platform: Unified Dart API for both platforms
- Comprehensive Background Monitoring: Identical logic on both platforms
- Professional Example App: Tabbed interface with color-coded event display
Usage
import 'package:adonna/adonna.dart';
// Start scanning for beacons
await FeasyBeacon.startScan();
// Start background monitoring
await FeasyBeacon.startBackgroundMonitoring(config: {
'thresholdMs': 200,
'favoriteAddresses': ['AA:BB:CC:DD:EE:FF'],
});
Classes
- FeasyBeacon
- High-level Flutter API for FeasyBeacon SDK.