IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

[FEATURE] Use latest splash screen API #2181

Open jfmcquade opened 7 months ago

jfmcquade commented 7 months ago

What? The splash screen API was updated in Android 12, meaning that devices running 12+ are likely to display just a version of the launcher icon instead of the intended splash screen when launching the app (see example below).

Why? App authors should be able to set the splash screen that users see in a way that applies to modern devices.

How? Capacitor 4 supports the new API (docs here), so it shouldn't be difficult to implement, but some investigation is needed. It may be that we need to migrate our Android asset generating package (#2072), for example if the expected location of the source files has changed.

Other details This was noticed when Laurie was testing the plh_facilitator_mx app, image files here. See screenshot showing a splash screen generated from icon-foreground.png rather than splash.png:

splash screen