apache / apache/cordova-android
Edge-to-Edge actions recommended from Google Play Console re org.apache.cordova.statusbar.StatusBar.setStatusBarTransparent
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 1.6k
- Avg merge
- 16h 18m
- Merged PRs (30d)
- 11
Description
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.
Contributor guide
Research direction
The reported entry point is org.apache.cordova.statusbar.StatusBar.setStatusBarTransparent; start by tracing that method and its use of android.view.Window.setStatusBarColor. Confirm how Android 15 and SDK 35 edge-to-edge behavior affects it, then verify that the deprecated API is no longer used and edge-to-edge displays correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100