Due to continuing issues with the new splash screen configuration for Android 12 (and 13) I checked if the sample for Cordova (GitHub - voltbuilder/sample: Simple app for VoltBuilder as linked to from volt.build) could help me out.
It’s >2 years old and clearly not adapted to those new versions. It also includes this bug, even though there’s clearly no such image (there’s a 150 one though):
<icon src="/www/images/voltbuilder-192.png" />
Also, I believe there’s an unnecessary amount of images anyway.
I haven’t tested the sample, as it would be no point now.
Anyway, after a system upgrade an Xiaomi 11T will now show a tiny version of the square 2732x2732 splash in the middle of the screen, so an improvement since before, but not by much :).
Put things related to a specific platform under each platform block.
Is icon needed anymore? I added one just in case.
I have more platform-specific settings, as I haven’t seen that they are outright outdated. Not saying they are necessary (some are copy-paste).
I include the config.xml from the app I’m working on right now after switching to VoltBuilder generating the images. I did some re-ordering to better follow the template.
Even if existing devs might not use it as-is, it’s good to compare with a working example (and not just docs), to see how to update for new things, like the Android 12 splash screen.
It seems the content tag is not necessary. Anyway, I sometimes use it to switch between different UI layouts (in separate .html files) while testing out those aspects. Not needed for a template though.