fix:(ui): splash screen crash on android 12+ devices#2499
fix:(ui): splash screen crash on android 12+ devices#2499RohitKushvaha01 wants to merge 1 commit into
Conversation
| <preference name="AndroidWindowSplashScreenBehavior" value="icon_preferred" /> | ||
|
|
||
|
|
||
|
|
||
| <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" |
There was a problem hiding this comment.
Two consecutive blank lines were added after the last preference. One blank line is enough to separate this block from the
edit-config below it.
| <preference name="AndroidWindowSplashScreenBehavior" value="icon_preferred" /> | |
| <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" | |
| <preference name="AndroidWindowSplashScreenBehavior" value="icon_preferred" /> | |
| <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" |
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| <preference name="SplashScreenDelay" value="0" /> | ||
| <preference name="FadeSplashScreenDuration" value="0" /> |
There was a problem hiding this comment.
SplashScreenDelay / FadeSplashScreenDuration redundancy with existing config — the file already declares SplashScreen "none" on line 27, which disables the legacy Cordova splash-screen plugin entirely. The SplashScreenDelay, FadeSplashScreen, and FadeSplashScreenDuration preferences are only consumed by that same legacy plugin, so they have no effect here. These three preferences can be omitted without changing runtime behavior, keeping the fix to just AutoHideSplashScreen and AndroidWindowSplashScreenBehavior.
No description provided.