ones1ght_sdk 0.0.4
ones1ght_sdk: ^0.0.4 copied to clipboard
OneS1ght indoor positioning SDK for Flutter. Wraps the OneS1ght iOS and Android SDKs: UWB positioning, zone enter / exit / dwell events and upload.
Changelog #
0.0.4 — preview #
No plugin code or behavior changes.
- Coding-agent support (MCP): added
Snippets/flutter.json(12 steps, Dart) andMigrations/flutter.json, read by the OneS1ght SDK MCP server (onesight_snippet/onesight_migratewithplatform: flutter). - README: Xcode 27+ build requirement, profile example creates once and reuses the stored id (
ageBand, same keys as the native SDKs), andpermission_handlermust be imported with a prefix (PermissionStatusname clash). - Use
^0.0.4— in Dart a caret on0.0.xallows only that patch.
0.0.3 — preview #
- iOS: SDK error
messageis now a readable sentence with the code ("… (E1001)"), the same shape as Android. It was the bare case name (notInitialized).code,kindandnameare unchanged. - Note:
^0.0.2does not pick up 0.0.3 — in Dart a caret on0.0.xallows only that patch. Use^0.0.3.
0.0.2 — preview #
First release on pub.dev.
- Install with
flutter pub add ones1ght_sdk(git dependency no longer needed). - Main library is now
package:ones1ght_sdk/ones1ght_sdk.dart. The 0.0.1 pathones1ght.dartstill works. - No API or behavior changes. Native SDKs unchanged (iOS
0.2.2, Android0.0.9).
0.0.1 — preview #
First preview, distributed as a git dependency.
- Wraps the OneS1ght iOS SDK
0.2.2(Swift Package Manager) and Android SDK0.0.9(Maven Central). - Dart API follows the iOS SDK names. Native callbacks are
Streams. - Native errors arrive as
OneS1ghtExceptionwith the native SDK's error code (E1001…), same on both platforms. - iOS: Swift Package Manager only (Flutter 3.44+). The podspec stops
pod installwith instructions. - Android:
MainActivitymust extendFlutterFragmentActivityforrequestPermission().