Batch-Android-SDK
Batch-Android-SDK copied to clipboard
[Google Play warning] Your app uses deprecated APIs or settings for edge-to-edge display
Summary
Google Play complains about using deprecated edge-to-edge settings for the app using Batch SDK as a dependency
Reproduction steps
No steps. Just upload app having Batch SDK as a dependency to the Google Play
Logs
Specifications
SDK Version
2.1.1
Installation method
Gradle dependency
Relevant development tools versions
Android targetSDK 35
Additional information
Full Google Play warning text:
Your app uses deprecated APIs or parameters for edge-to-edge
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.setStatusBarColor
These start in the following places:
com.batch.android.b0.f.onCreateDialog
com.batch.android.b0.g.onCreateDialog
com.batch.android.b0.h.onCreateDialog
To fix this, migrate away from these APIs or parameters.
I guess, it's because of using window.setStatusBarColor method in some fragments: https://github.com/search?q=repo%3ABatchLabs%2FBatch-Android-SDK+setStatusBarColor&type=code