Skip to main content

0.0.4

  • Coding agent (MCP) support — added Dart code snippets for Flutter and version upgrade guidance. No plugin code or behavior changes
  • Import permission_handler with a prefix (as ph) — its PermissionStatus name clashes with the SDK’s
  • Not resolvable with ^0.0.3 — change the dependency to ^0.0.4

0.0.3

  • iOS OneS1ghtException.message is now a readable message plus code, like Android
  • Not resolvable with ^0.0.2 — change the dependency to ^0.0.3

0.0.2

  • Published on pub.dev — install with flutter pub add ones1ght_sdk, no git dependency needed
  • Main import path changed to package:ones1ght_sdk/ones1ght_sdk.dart (the old ones1ght.dart still works)

0.0.1

  • First preview — a Flutter plugin wrapping iOS SDK 0.2.2 and Android SDK 0.0.9
  • Same API as the iOS SDK; native callbacks arrive as Streams with the same names
  • Failures arrive as OneS1ghtException; code is the same error code as native
  • iOS can only be installed through Swift Package Manager (Flutter 3.44 or later)
  • On Android, MainActivity must be a FlutterFragmentActivity for requestPermission() to work
  • Custom positioning providers (begin(provider:)) are not supported