cordova-android icon indicating copy to clipboard operation
cordova-android copied to clipboard

Edge-to-Edge actions recommended from Google Play Console re org.apache.cordova.statusbar.StatusBar.setStatusBarTransparent

Open kenguest opened this issue 1 month ago • 1 comments

I've not seen these advisories (below) until recently. I'm not sure if getting these addressed is a framework specific thing, or if there is something I need to adjust in my config.xml?


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.

Your app uses deprecated APIs or parameters for edge-to-edge

One or more of the APIs that 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.setStatusBarColor`

These start in the following places:

`org.apache.cordova.statusbar.StatusBar.setStatusBarTransparent`

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

kenguest avatar Nov 11 '25 11:11 kenguest

Hi, this will be fixed with cordova-android 15. You already can test it via cordova platform add android@nightly

GitToTheHub avatar Nov 16 '25 07:11 GitToTheHub