tight_flutter 0.0.1
tight_flutter: ^0.0.1 copied to clipboard
Flutter bridge to the Tight mileage tracking SDKs (iOS and Android) via platform channels: permissions, detection modes, semi-auto drives and a stream of native drive events.
0.0.1 #
- Initial POC, verified against the public Tight SDK v6.0.0 on both platforms.
- Dart API over
MethodChannel+EventChannel: initialize, isSetup, teardown, permissions, detection mode, semi-auto drive control, getCurrentDrive, Bluetooth devices (Android only), and aStream<TightEvent>. - iOS bridge (Swift, SPM,
SDK.manager) guarded for iOS 17 with gracefulunsupported_osfallback below it. Builds and runs on the iOS simulator. - Android bridge (Kotlin, coroutines,
ActivityAwarepermission flow). Builds and round-trips into the SDK on an emulator. - Unified
MileageDetectionMode(disabled/automatic/bluetooth) mapping the differing native enums;bluetoothis Android-only.