Questions
Android 15 Edge-to-Edge Compatibility Warning and Deprecated API Usage
We’ve received warnings related to edge-to-edge display and deprecated APIs when preparing our app for Android. It seems that some parts of the app (or dependencies) still use APIs that will no longer be supported.
The message indicates the following:
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.
Additionally, we received this message regarding deprecated APIs:
Our app uses deprecated APIs or parameters for edge-to-edge:
android.view.Window.setStatusBarColor
android.view.Window.setNavigationBarColor
These appear to be referenced from:
androidx.activity.m.a
androidx.activity.n.a
androidx.activity.q.a
com.google.android.material.internal.d.a
We want to ensure our app remains fully compatible with Android 15 and avoids layout or display issues.