Skip to content

"Edge-to-edge may not display for all users" in Google Play Console #169810

Description

@KCO-SK

Important

If you have found this issue because you see this warning in the Google Play console (or a warning concerning Your app uses deprecated APIs or parameters for edge-to-edge, know that it will not impact your users. See #169810 (comment) for more information.

Steps to reproduce

Following the Flutter documentation at https://docs.flutter.dev/release/breaking-changes/default-systemuimode-edge-to-edge Edge-to-Edge should be automatically active when targeting Android SDK Version 15.

I did not opt out of this within my styles.xml (see below) and nowhere in my code is any SystemUiMode or SystemChrome.setEnabledSystemUIMode(...).

Nevertheless the Google Play Console warns that "Edge-to-edge may not display for all users" in my app.

I have seen #167270 but there is no explanation for the same topic and it is closed.

Does this warning only mean that Edge-to-edge does not work for some older devices or is there something that can be optimized on my side or on Flutter side to get this warning removed?

Expected results

A Flutter build without warnings in Google Play.

Actual results

Google Play Console states a warning:
Edge-to-edge may not display for all users
From Android 15, apps targeting SDK 35 will display edge-to-edge by default. Apps targeting SDK 35 should handle insets to make sure that their app displays correctly on Android 15 and later. Investigate this issue and allow time to test edge-to-edge and make the required updates. Alternatively, call enableEdgeToEdge() for Kotlin or EdgeToEdge.enable() for Java for backward compatibility.

Code sample

AndroidManifest.xml :
            <meta-data
                android:name="io.flutter.embedding.android.NormalTheme"
                android:resource="@style/NormalTheme" />
build.gradle.kts :
    defaultConfig {
        applicationId = "......"
        minSdk = 23
        targetSdk = flutter.targetSdkVersion
        versionCode = flutter.versionCode
        versionName = flutter.versionName
    }
app/src/main/res/values/styles.xml :
        <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
        <item name="android:windowBackground">?android:colorBackground</item>
        <item name="android:defaultFocusHighlightEnabled">false</item>
    </style>

Screenshots or Video

Image

Logs

No response

Flutter Doctor output

Doctor output
flutter doctor -v
[✓] Flutter (Channel beta, 3.33.0-0.2.pre, on macOS 15.5 24F74 darwin-arm64, locale de-DE) [225ms]
    • Flutter version 3.33.0-0.2.pre on channel beta at /opt/homebrew/Caskroom/flutter/3.22.2/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1db45f7408 (2 days ago), 2025-05-29 10:05:06 -0700
    • Engine revision 308a517184
    • Dart version 3.9.0 (build 3.9.0-100.2.beta)
    • DevTools version 2.46.0

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [1.060ms]
    • Android SDK at /Users/kuhlemann/Library/Android/sdk
    • Emulator version 35.5.10.0 (build_id 13402964) (CL:N/A)
    • Platform android-36, build-tools 35.0.0
    • ANDROID_HOME = /Users/kuhlemann/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [713ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [11ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.3) [10ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)

[✓] VS Code (version 1.100.2) [9ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available) [6,0s]
    • sdk gphone64 arm64 (mobile)    • emulator-5554             • android-arm64  • Android 15 (API 35) (emulator)
    • Kuhlephone (wireless) (mobile) • 00008130-000C65060883401C • ios            • iOS 18.5 22F76
    • macOS (desktop)                • macos                     • darwin-arm64   • macOS 15.5 24F74 darwin-arm64
    • Chrome (web)                   • chrome                    • web-javascript • Google Chrome 137.0.7151.55
    ! Error: Browsing on the local area network for Kuhlepad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources [668ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-androidAndroid applications specificallyr: solvedIssue is closed as solvedteam-androidOwned by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions