When running my Flutter web app from VS Code on port 55586, the app resumes from where I left off after being killed and re-run. It preserves all user data, session tokens, and other information unless flutter clean is executed.
However, when running the same app from Android Studio on port 55587, the app creates a fresh instance every time it is killed and re-run. Despite using the same port, user sessions, tokens, and other information are erased.
Version info
• Flutter version 3.22.2
• Dart version 3.4.3
• DevTools version 2.34.3
• Android Studio (version 2024.1)
• Flutter IntelliJ plugin version 80.0.2
Expected Behavior
The Flutter web app should preserve the user session, tokens, and other information between runs when using Android Studio, similar to the behavior in VS Code.
Launch Config for VS Code:
Launch Config for Android Studio:
Issue Description
When running my Flutter web app from VS Code on port 55586, the app resumes from where I left off after being killed and re-run. It preserves all user data, session tokens, and other information unless flutter clean is executed.
However, when running the same app from Android Studio on port 55587, the app creates a fresh instance every time it is killed and re-run. Despite using the same port, user sessions, tokens, and other information are erased.
Version info
• Flutter version 3.22.2 • Dart version 3.4.3 • DevTools version 2.34.3 • Android Studio (version 2024.1) • Flutter IntelliJ plugin version 80.0.2
Expected Behavior
The Flutter web app should preserve the user session, tokens, and other information between runs when using Android Studio, similar to the behavior in VS Code.