amplify-flutter icon indicating copy to clipboard operation
amplify-flutter copied to clipboard

[Auth Migration] Native Session Not Detected After Upgrading to Flutter

Open ala-harri opened this issue 1 month ago • 1 comments

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

  1. Install native app and sign in
  2. Update to Flutter version without clearing data
  3. Launch the app
  4. 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 avatar Nov 28 '25 14:11 ala-harri

@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.

harsh62 avatar Nov 28 '25 14:11 harsh62