amplify-flutter
amplify-flutter copied to clipboard
[Auth Migration] Native Session Not Detected After Upgrading to Flutter
Description
When migrating our existing production apps from Native Android/iOS to the new Flutter implementation, the current logged-in session is not being migrated or preserved. As a result, users who update to the Flutter build are forced to log in again instead of continuing seamlessly with their existing authenticated state.
Categories
- [ ] Analytics
- [ ] API (REST)
- [ ] API (GraphQL)
- [x] Auth
- [ ] Authenticator
- [ ] DataStore
- [ ] Notifications (Push)
- [ ] Storage
Steps to Reproduce
- Install native app and sign in
- Update to Flutter version without clearing data
- Launch the app
- Observe user is logged out instead of remaining authenticated
Screenshots
No response
Platforms
- [x] iOS
- [x] Android
- [ ] Web
- [ ] macOS
- [ ] Windows
- [ ] Linux
Flutter Version
3.24.3
Amplify Flutter Version
2.6.0
Deployment Method
Amplify Gen 2
Schema
@ala-harri This not a feature that we have supported. I am gonna mark this as a feature request and at the same time work with my team to investigate if we are able to provide any workaround where you can retain the sessions after an upgrade from iOS/Android to Flutter.