Open ghost opened 7 years ago
So launch screen support has been added to iOS 4.3.1 and above. The syntax is a little different but is more flexible as well. Please take a look at the docs at https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/index.html#designing-launch-storyboard-images and see if that helps you. Just be sure to remove this plugin from your project in case it causes conflicts.
If you want to use a single splash screen using the code in iOS 4.3.1, you should be able to use Default@2x~universal~anyany.png as the file name, and it will apply to all devices.
I need to mark this plugin as deprecated and point at the new docs. Thanks for filing an issue to remind me!
Hmm, I'v tried that but doesn't work for me... I don't get the right screen resolution (for iPad Pro) when trying to use the plugin you linked. The app I'm using is only for iPad Pro's (it's an Enterprise app). So only need it to work for iPad Pro resolution. You'r plugin is working for setting the right resolution, I just don't get my launch screen to override the default one you have inside your plugin.
Sorry for the delayed response; I had some unexpected travel come up, and that's shifted everything else!
Anyway -- I would prefer it if we could get your app working with the core code in iOS@4.3.1+. I could easily imagine this plugin and the core code conflicting in numerous ways, and this was only done as a proof of concept in the first place, so let's focus on that first. If we can't get it working, then it may point to a bug in the core implementation that I can address (I wrote most of the core implementation as well, based on this plugin.)
So... it might help to see your config.xml (minus secret/identifying info) and your splash screen, if you don't mind sharing those. Then I can try to use the same thing on my end and see what works and what doesn't.
Okey here is my config.xml file :)
Have you had any time to check up on this issue? :)
Hi the plugin doesn't want to recognise my lunch screen file.
using the
<plugin name="cordova-plugin-ios-launch-screen" spec="https://github.com/kerrishotts/cordova-plugin-ios-launch-screen" />
& `File name: Default@3x~universal.png File dimensions: 2732 x 2732 file path: res/screen/ios/Default@3x~universal.png