You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Almerick (via GitHub)" <gi...@apache.org> on 2024/09/06 08:52:14 UTC
Re: [I] Black or blank screen seen after keeping application idle and then open the application in cordova version >= 10. [cordova-android]
Almerick commented on issue #1712:
URL: https://github.com/apache/cordova-android/issues/1712#issuecomment-2333567048
Relating to the Android platform bug in https://issuetracker.google.com/issues/205021357,
I saw that someone listed a possible fix in comment 69 for the icon not displaying when launching the app from a notification, which I'm also experiencing using cordova-android 13.0.0, on an Android 14 device. The solution seems to be to add the following item to styles.xml (which I assumed to be themes.xml in Cordova):
`<item name="android:windowSplashScreenBehavior">icon_preferred</item>`
I tried adding the "icon_preferred" item to android/app/src/main/res/values/themes.xml but it didn't seem to resolve it. I'm not sure whether cordova-android needs to integrate this before it takes effect.
The Android documentation also seems to list this item as an option to always display the splash screen icon. (https://developer.android.com/develop/ui/views/launch/splash-screen#set-theme)
Could this solution possibly be tested in cordova-android to confirm whether it resolves the issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org