> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ones1ght.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Flutter SDK

## 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](https://pub.dev/packages/ones1ght_sdk) — 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 `Stream`s with the same names
* Failures arrive as `OneS1ghtException`; `code` is the same [error code](/en/developers/sdk/troubleshooting/error-codes) 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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.