GitHub user breautek added a comment to the discussion: Can't get a .png file 
to show up in splashscreen as a "AndroidWindowSplashScreenAnimatedIcon" on 
cordova-android@12. It only shows the default Cordova splashscreen.

Can you try in a sample project without all the extra bits?

e.g. with no hooks, or plugins, just simply a pure cordova app with your 
splashscreen resource. If it doesn't work, then you can zip or publish that 
test project to a public repo where I can take a look.

If splashscreens does work, then you can incrementally start adding back your 
bits to see when it breaks. The hooks would be the first thing I'd look at 
since they have the capability of messing with the native project perhaps in an 
incompatible way.
Then the second likely culprit is an incompatible plugin.

I notice you have a lot of legacy stuff in your config.xml that either suggests 
you're using out-dated dependencies, or you have dependencies updated but 
simply have never updated your config. Stuff like `WKWebViewOnly` preference is 
a no-op (always true on cordova-ios 6.x and later) as an example. None of this 
really concerns the splashscreen issue, **BUT** if you have 
`cordova-plugin-splashscreen` installed, then you can probably uninstall it. If 
you use the `browser` platform, then make sure it's completely up to date, 
which wouldn't have an iOS or android implementation.

Splashscreen has been moved to the core platform, so if you're using the 
splashscreen plugin with an android implementation, it could be overwriting or 
conflicting with the core version of the plugin.



GitHub link: 
https://github.com/apache/cordova/discussions/430#discussioncomment-6897145

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to