Custom Storage
In Flutter Plugin 1.1.1, custom storage injection is not exposed in Dart API.
Current behavior
Section titled “Current behavior”- Flutter bridge does not accept storage adapter in
DetourConfig. - Persistence is handled by native SDK internals:
- Android native SDK storage (the plugin bridge passes
storage = null, so the native SDK falls back to its own SharedPreferences store) - iOS native SDK
UserDefaultskeys for first-entrance and analytics device ID
- Android native SDK storage (the plugin bridge passes
Practical impact
Section titled “Practical impact”- You cannot pass a Flutter-level storage implementation (for example Hive/SecureStorage) to Detour yet.
- Deferred-link first-launch semantics depend on native persisted state.
- To retest deferred flow, use reinstall flow (see Testing & Troubleshooting).