@wingman thanks for the information. I checked this out and still same issue.
@ghenne I am seeing this: https://i.imgur.com/p5ELS9Y.png.
The splash image (resources/splashTemplate.png) is turning into circle icon in the middle. I have my resources.json file as the following:
{
"fit": "cover",
"orientation": "portrait",
"position": "center"
}
The splashTemplate.png is 2732x2732 at 72dpi (~3mb). https://i.imgur.com/M7zQCMZ.png
The log output:
2022-10-26T10:14:18.953Z cordova-res:platform Building splash resources for android platform
2022-10-26T10:14:18.956Z cordova-res:image Source image for splash: {
format: 'png',
size: 3497047,
width: 2732,
height: 2732,
space: 'srgb',
channels: 3,
depth: 'uchar',
density: 72,
isProgressive: false,
hasProfile: false,
hasAlpha: false
}
2022-10-26T10:14:18.956Z cordova-res:platform Using '/resources/splashTemplate.png' for splash source image for android
2022-10-26T10:14:18.958Z cordova-res:image Generating 'resources/android/splash/drawable-land-ldpi-screen.png' (320x240) fit='fill' position='center'
2022-10-26T10:14:18.958Z cordova-res:image Generating 'resources/android/splash/drawable-land-mdpi-screen.png' (480x320) fit='fill' position='center'
2022-10-26T10:14:18.958Z cordova-res:image Generating 'resources/android/splash/drawable-land-hdpi-screen.png' (800x480) fit='fill' position='center'
2022-10-26T10:14:18.959Z cordova-res:image Generating 'resources/android/splash/drawable-land-xhdpi-screen.png' (1280x720) fit='fill' position='center'
2022-10-26T10:14:18.959Z cordova-res:image Generating 'resources/android/splash/drawable-land-xxhdpi-screen.png' (1600x960) fit='fill' position='center'
2022-10-26T10:14:18.959Z cordova-res:image Generating 'resources/android/splash/drawable-land-xxxhdpi-screen.png' (1920x1280) fit='fill' position='center'
2022-10-26T10:14:18.959Z cordova-res:image Generating 'resources/android/splash/drawable-port-ldpi-screen.png' (240x320) fit='fill' position='center'
2022-10-26T10:14:18.961Z cordova-res:image Generating 'resources/android/splash/drawable-port-mdpi-screen.png' (320x480) fit='fill' position='center'
2022-10-26T10:14:18.961Z cordova-res:image Generating 'resources/android/splash/drawable-port-hdpi-screen.png' (480x800) fit='fill' position='center'
2022-10-26T10:14:18.961Z cordova-res:image Generating 'resources/android/splash/drawable-port-xhdpi-screen.png' (720x1280) fit='fill' position='center'
2022-10-26T10:14:18.961Z cordova-res:image Generating 'resources/android/splash/drawable-port-xxhdpi-screen.png' (960x1600) fit='fill' position='center'
2022-10-26T10:14:18.962Z cordova-res:image Generating 'resources/android/splash/drawable-port-xxxhdpi-screen.png' (1280x1920) fit='fill' position='center'
Generated 24 resources for Android
2022-10-26T10:14:19.933Z cordova-res:cordova:config Orientation preference: undefined
2022-10-26T10:14:19.933Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@foreground][@background][@density='ldpi']" ])
2022-10-26T10:14:19.934Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@foreground][@background][@density='mdpi']" ])
2022-10-26T10:14:19.934Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@foreground][@background][@density='hdpi']" ])
2022-10-26T10:14:19.934Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@foreground][@background][@density='xhdpi']" ])
2022-10-26T10:14:19.934Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@foreground][@background][@density='xxhdpi']" ])
2022-10-26T10:14:19.934Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@foreground][@background][@density='xxxhdpi']" ])
2022-10-26T10:14:19.934Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@src][@density='ldpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@src][@density='mdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@src][@density='hdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@src][@density='xhdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@src][@density='xxhdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'icon' node (not found by xpaths: [ "icon[@src][@density='xxxhdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='land-ldpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='land-mdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='land-hdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='land-xhdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='land-xxhdpi']" ])
2022-10-26T10:14:19.935Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='land-xxxhdpi']" ])
2022-10-26T10:14:19.936Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='port-ldpi']" ])
2022-10-26T10:14:19.936Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='port-mdpi']" ])
2022-10-26T10:14:19.936Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='port-hdpi']" ])
2022-10-26T10:14:19.936Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='port-xhdpi']" ])
2022-10-26T10:14:19.936Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='port-xxhdpi']" ])
2022-10-26T10:14:19.936Z cordova-res:cordova:config Creating 'splash' node (not found by xpaths: [ "splash[@density='port-xxxhdpi']" ])
Wrote to config.xml