Android Integration
Android is the most complete platform for Protection Mode and background BLE ownership.
What the SDK owns
- Protection method and event channels
- Foreground-service-backed Protection runtime wiring
- Merged plugin manifest pieces for the SDK-owned Android path
- Runtime readiness and diagnostics exposed to Dart
What the host app owns
- Runtime permission UX
- App bootstrap that creates the SDK instance
- App-level notification channel branding
- Product-specific BLE or safety UX around the SDK
Required setup
- Declare Bluetooth, location, and notification permissions in
AndroidManifest.xml— see the Permissions Checklist - Keep foreground service requirements aligned with your app policy when using Protection Mode
- Bootstrap with
EixamConnectSdk.bootstrap(...)
Protection Mode behavior
remarque
Protection Mode is off by default. The host app must arm it explicitly.
- When armed, Android provides the strongest background path
- Host UI should inspect diagnostics if readiness evaluation is blocked
Validation checklist
- Bootstrap the SDK
- Request permissions explicitly
- Connect a device if your flow requires it
- Run
evaluateProtectionReadiness() - Call
enterProtectionMode() - Inspect
watchProtectionStatus()andwatchProtectionDiagnostics()