-
Notifications
You must be signed in to change notification settings - Fork 586
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
Migrate to Splash Screen API #561
Comments
I just got a new device with Android 12 (Samsung Galaxy S22) and thought I was going crazy when seeing two splash screens. Does anybody know of any quick and relatively painless ways of disabling the Ionic Capacitor splash screen for SDK 31+ devices while this plugin gets updated? |
This seems to be becoming more and more important as Android 12 is adopted more and more every day. |
There seems to be a workaround, at least for the cordova plugin: apache/cordova-plugin-splashscreen#311 (comment) |
Full disclosure, I don't know if this is the correct solution here but doing some testing and adding this to the 'styles.xml'
Allows me to control the first splash to a degree anyhow.. If setting windowisTranslucent to false, it will not show the first splash icon.. Next, and I don't know why but if adding the colorBackground, I can get the background to change from black to white, however it does not honor the hex value.. This is OK for me because changing light to dark is enough to add the contrast, however it would be nice to be able to change that. I lack the skills at this point to modify the plugin itself, but from what I can tell, adding support for windowSplashScreenIconBackgroundColor |
@mlynch @maxcodefaster For capacitor project this is the fix :) |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out. |
Feature Request
Plugin
splash-screen
Description
When targeting Android SDK 31, a new Splash Screen API can be used
https://developer.android.com/about/versions/12/splash-screen-migration?hl=es
Some features might not be possible with that API.
Platform(s)
android
Preferred Solution
Alternatives
Additional Context
The text was updated successfully, but these errors were encountered: