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

enableEdgeToEdge function for Android 15 and above? #7946

Open
ertugruldogan opened this issue Dec 13, 2024 · 0 comments
Open

enableEdgeToEdge function for Android 15 and above? #7946

ertugruldogan opened this issue Dec 13, 2024 · 0 comments

Comments

@ertugruldogan
Copy link

ertugruldogan commented Dec 13, 2024

Warnings when targeting Android 15.
To fix the problem, stop using these APIs or parameters.
https://developer.android.com/about/versions/15/behavior-changes-15?hl=tr#edge-to-edge

End-to-end display may not be shown to all users

All apps targeting SDK 35 will be displayed edge-to-edge by default starting with Android 15. Apps targeting SDK 35 must use attachments to display properly on Android 15 and above. We recommend that you take the time to review this issue and perform end-to-end screen testing of your app and make any necessary updates to your code. Alternatively, for backward compatibility, call enableEdgeToEdge() for Kotlin or EdgeToEdge.enable() for Java.


Your app uses deprecated APIs or parameters for end-to-end display

One or more APIs you use or parameters you set for end-to-end screen and window display have been discontinued in Android 15. Your application uses the following deprecated APIs or parameters:

android.view.Window.getStatusBarColor
android.view.Window.setStatusBarColor

These start from:

com.facebook.react.modules.statusbar.StatusBarModule$setColor$1.runGuarded
com.facebook.react.modules.statusbar.StatusBarModule.getTypedExportedConstants

Anyone have any ideas on this?


react-native: 075.x - 0.76x - 0.77x
react-native-navigation: 7.40.3
java: 17
node: 22.5.1
gradle: 8.10.2
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "27.2.12479018"
kotlinVersion = "2.0.21"

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

No branches or pull requests

1 participant