Skip to content

Fix app uses deprecated APIs or parameters for edge-to-edge #63

@tobiaswu

Description

@tobiaswu

One or more of the APIs you use or parameters that you set for edge-to-edge and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:

android.view.Window.getStatusBarColor
android.view.Window.setStatusBarColor
android.view.Window.setNavigationBarColor
android.view.Window.getNavigationBarColor
LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT

These start in the following places:

com.facebook.react.modules.statusbar.StatusBarModule$setColor$1.runGuarded
com.facebook.react.modules.statusbar.StatusBarModule.getTypedExportedConstants
com.facebook.react.views.view.WindowUtilKt.enableEdgeToEdge
com.google.android.material.bottomsheet.BottomSheetDialog.onCreate
com.google.android.material.internal.EdgeToEdgeUtils.applyEdgeToEdge
com.google.android.material.sidesheet.SheetDialog.onCreate
com.swmansion.rnscreens.ScreenWindowTraits.setColor$react_native_screens_release
com.swmansion.rnscreens.ScreenWindowTraits.setNavigationBarColor$react_native_screens_release
expo.modules.devlauncher.launcher.configurators.DevLauncherExpoActivityConfigurator.setColor
com.facebook.react.views.view.WindowUtilKt.statusBarHide
com.facebook.react.views.view.WindowUtilKt.statusBarShow

To fix this, migrate away from these APIs or parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions