Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter 3.22 different behavior between debug and release mode #148401

Open
alr2413 opened this issue May 15, 2024 · 8 comments
Open

Flutter 3.22 different behavior between debug and release mode #148401

alr2413 opened this issue May 15, 2024 · 8 comments
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@alr2413
Copy link

alr2413 commented May 15, 2024

Steps to reproduce

After upgrading to latest stable version of flutter (i.e. 3.22), found out that the application is not working properly in release mode. but everything works fine in debug mode. I also checked with fresh installation with no luck. So, I downgraded flutter to the previous stable version (i.e., 3.19.6) and both release and debug mode worked fine.

Expected results

Both release and debug mode should have the same behavior.

Actual results

Released version has a different behavior compare to debug version in both windows/mac, the web version works fine.

Code sample

Developed application is a bit complicated to share a part of code here.

Screenshots or Video

No response

Logs

There is no output log by running in release mode

Flutter Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.19045.4291], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
X cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.2)
[√] Android Studio (version 2023.3)
[√] VS Code, 64-bit edition (version 1.62.3)
[√] Connected device (3 available)
[√] Network resources

@moffatman
Copy link
Contributor

No information about what changed. and no code. please help!

@danagbemava-nc danagbemava-nc added the in triage Presently being triaged by the triage team label May 15, 2024
@danagbemava-nc
Copy link
Member

Hi @alr2413, as noted above, we will more information than is currently available if we're to be able to provide some assistance.

What platform is this issue on?
Are you seeing any errors in your app (do you have crash monitoring/logging setup)?

Please provide additional information and if possible a minimal reproducible code sample so that this can be properly investigated.

Thank you

@danagbemava-nc danagbemava-nc added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 15, 2024
@synstin
Copy link

synstin commented May 16, 2024

Same for me.
Although in the simulator, i.e. debug mode, everything is fine,
When I deploy the app to the testflight and run it, the app crashes.
I don't see any error logs in either debug mode or release mode.

It works fine on previous stable versions.
Here's my device info
iPhone15, iOS 17.5

@danagbemava-nc
Copy link
Member

Hi @synstin, testflight should be keeping track of crashes, can you share the crash log? If you run it locally in release mode, does it also crash? Is this specific to iOS or are other platforms affected as well?

@synstin

This comment was marked as off-topic.

@synstin

This comment was marked as off-topic.

@Anders3byg

This comment was marked as off-topic.

@danagbemava-nc

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

5 participants