Skip to content

Android: decide on edgeToEdgeEnabled=true as its own UI migration #4556

Description

@kaloudis

Split out of #4546 (React Native 0.86.0 -> 0.87.1).

The RN 0.87 template flips edgeToEdgeEnabled from false to true in android/gradle.properties. #4546 deliberately leaves it at false (android/gradle.properties:47).

Leaving it false is still a supported configuration rather than a deprecated path: the flag is read by the 0.87 Gradle plugin (EDGE_TO_EDGE_ENABLED in PropertyUtils.kt, alongside the newer scoped react.edgeToEdgeEnabled). But flipping it draws content under the system bars app-wide, which is an inset and padding migration across every screen. That is its own piece of UI work, not part of a version bump, so it was kept out.

Worth scheduling rather than deferring indefinitely, since Zeus is on targetSdkVersion = 36 and Android 15 enforces edge-to-edge for apps targeting API 35 and above. The per-app opt-out is itself on a deprecation path, so the current appearance is more likely being produced by the compatibility path than by our own layout choices.

Related prior work: #2908, the Play Console deprecation warnings for setDecorFitsSystemWindows / setStatusBarColor / setNavigationBarColor, closed as completed.

To do

  • Audit safe-area and inset handling across screens
  • Flip the flag and test on Android 15+ and on pre-15
  • Pay particular attention to the POS and landscape layouts, and to the views/Stealth/* decoy screens

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions