Page 1 of 1

Libraries v5.0 & 9-patch splash images

Posted: Tue Jan 16, 2018 9:17 pm
by Chris6743166

Hi,

Since upgrading to Libraries version v5.0, I'm having problems getting my 9-patch plash images to display for my Android builds.

I've done the usual uploading 9-patch image files to /res/ folder but that did not work.

I have also manually added the following lines to config.xml, but still nothing:

code <preference name="SplashScreen" value="splash" />/code
code <preference name="SplashScreenDelay" value="10000" />/code

Any assistance would be greatly appreciated!

Thanks,

Chris


Libraries v5.0 & 9-patch splash images

Posted: Tue Jan 16, 2018 9:45 pm
by Serhii Kulibaba

Hello Chris,

Please clarify, what exactly doesn't work there? Does the app show the splash?


Libraries v5.0 & 9-patch splash images

Posted: Tue Jan 16, 2018 10:01 pm
by Chris6743166

Hi Serhii,

The splash isn't showing at all during app launch. Typically, when I upload the 9-patch images to the res folder, the splash shows during launch, but this doesn't seem to be the case with Libraries v5.0

I've shared the app with support (152147d2-16ed-471d-b7c2-07b2daba531f).

Thanks,

Chris


Libraries v5.0 & 9-patch splash images

Posted: Wed Jan 17, 2018 9:58 am
by Chris6743166

I've resolved the problem.

I added the SplashScreen and SplashScreenDelay preferences to the wrong config.xml file (CORDOVA/Platforms/Android/Res/XML). The correct config.xml file to edit is directly in the CORDOVA folder.


Libraries v5.0 & 9-patch splash images

Posted: Thu Jan 18, 2018 9:11 am
by Illya Stepanov

Thank you for the update, Chris! Glad it works now.