Skip to content

iOS devices frequently switch between the front and back ends and the screen goes black #176078

@leikeke

Description

@leikeke

Steps to reproduce

Pure Flutter mobile development, iOS devices, frequent switching to the current application and switching to other applications in the background

Expected results

Normal display

Actual results

The same operation for about ten times will cause the application to go black and cannot be restored. This only happens on iOS devices and not on Android devices.

It will appear on flutter3.35.3, but not on the old version 3.32.8. I upgraded directly from 3.32.8 to 3.35.3

Code sample

Code sample
no code

Screenshots or Video

Screenshots / Video demonstration Image

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.3, on macOS 15.3 24D2059 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] Connected device (2 available)
[✓] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions