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

Android 15 compatibility for Status-bar #2297

Open
sergtop opened this issue Jan 18, 2025 · 0 comments
Open

Android 15 compatibility for Status-bar #2297

sergtop opened this issue Jan 18, 2025 · 0 comments
Labels

Comments

@sergtop
Copy link

sergtop commented Jan 18, 2025

I recently got the message in Google Play (along with edge-to-edge recommendation)

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.getStatusBarColor
android.view.Window.setStatusBarColor
These start in the following places:

com.capacitorjs.plugins.statusbar.StatusBar.<init>
com.capacitorjs.plugins.statusbar.StatusBar.setBackgroundColor
com.capacitorjs.plugins.statusbar.StatusBar.setOverlaysWebView
To prepare for the change to Android 15, migrate away from these APIs or parameters.

Do you have any suggestions for fixing this without removing the plugin?

@ionitron-bot ionitron-bot bot added the triage label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant