I’m especially interested in the Android splash screens here. How do you guys add these splash screens to your projects? And how do you know you’ve covered all the different screen sizes?
Do you use a 9-patch image and if so, how did you make it?
Same question for the app icons.
Adding splash screens and app icons to an iOS project is pretty straight forward in my opinion but Android always bothers me somehow.
This helps for sure! Thanks a lot @darrenahunter
But my question mainly related to ‘how do you add your splash screen files to your Cordova project’? As in, where do you put them and how do you make sure that Cordova picks them up correctly?
My problem with the docs is that they describe an other way to name your files and for instance for iOS, they describe 4 icon sizes while I can add a lot more icon sizes in Xcode.
Hi @Robin, just to harp on what you already know. It could all get messy with splashscreens and icons sometimes, have had issues with android way back too. I do hope you know you need a plugin ($ cordova plugin add org.apache.cordova.splashscreen) for splashscreens now and then to configure for iOS: http://docs.phonegap.com/en/3.4.0/config_ref_images.md.html#Icons%20and%20Splash%20Screens
To specify the icons and splash screens in the file system without using XCode, copy the icons into the …/platforms/ios/YourApp/Resources/icons folder and splash screens into the …/platforms/ios/YourApp/Resources/splash folder.
@Robin for iOS splash screens, I’ve honestly just used Xcode to manage things at the platform level. If you have them all sized correctly, in iOS you can import them all in to an assets catalog and manage them there.
For android, its a little less great. I just make my 9 patch image in res/drawable just put it there.
As of now, I don’t think there is anything in the Cordova CLI that can help with splash screens. Its up to you to manage them and move them over.