Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading to iOS 14 a black screen is quickly shown before splash screen appears ios #990

Closed
dtsc-engenharia opened this issue Sep 19, 2020 · 73 comments

Comments

@dtsc-engenharia
Copy link

dtsc-engenharia commented Sep 19, 2020

Bug Report

Problem

It appears that the plugin is not working how it used to be on previous iOS versions. After upgrading to iOS 14, a black screen is shown very quickly before the real splash screen image is shown.

The easiest way to simulate the problem is using iOS simulator. A black screen will show up before splash and stay there for a few seconds. When I run on device, I can also see the black screen before splash but it happens very quickly.

What is expected to happen?

Splash screen is supposed to appear immediately after opening the app. A black screen is shown before the splash screen appears. Also the splash screen appears very quickly and disappears before the expected time compared to previous versions of the plug-in.

What does actually happen?

Black screen appears before splash screen

Information

I am using only the Default 2x universal image in my config.xml:

Additional splash screen configurations are:

Command or code

I am using cordova-plugin-splashscreen 6.1.1

Environment, Platform, Device

Version information

iOS 14
Cordova 10
Cordova android 9.0.0
Cordova ios 6.1.1

Checklist

  • [ x] I searched for existing GitHub issues
  • [ x] I updated all Cordova tooling to most recent version
  • [x ] I included all the necessary information above
@goangus
Copy link

goangus commented Sep 22, 2020

Not sure this is an issue specifically with cordova-plugin-splashscreen. I tried removing the plugin and added a new LaunchScreen storyboard with just an image and still had the same problem. Eventually managed to sort it by just removing the UILaunchStoryboardName entry from the {app name}-info.plist file.

@breautek
Copy link
Contributor

breautek commented Sep 22, 2020

Cordova iOS@6.0.1

Try updating to the latest cordova-ios version, which is 6.1.1 at the time of writing. It contains fixes regarding splashscreens that sounds similar to the described issue. (#890)

See Release Notes for more info.

@dtsc-engenharia
Copy link
Author

Cordova iOS@6.0.1

Try updating to the latest cordova-ios version, which is 6.1.1 at the time of writing. It contains fixes regarding splashscreens that sounds similar to the described issue. (#890)

See Release Notes for more info.

Thanks for replying. I updated my original text. I am using cordova-ios 6.1.1 indeed and the problem persists.

@nice2seeu
Copy link

Thanks for replying. I updated my original text. I am using cordova-ios 6.1.1 indeed and the problem persists.

the same bug on me

@hburrows
Copy link

hburrows commented Sep 28, 2020

I'm experiencing the same issue. When launched from Xcode it hangs on a black screen for about 20 seconds with nothing in the console. Then it springs to life and populates console -- but no errors or anything notable. When launched from iOS proper (after force quick) the black screen flashes very briefly, then splash screen, then app. This is new since upgrading to Cordova 10.0.0 and iOS platform 6.1.1. I'm also running the latest version of Xcode (12.0.1)

@davidpadych
Copy link

Same for cordova-ios 5.1.1..can it be fixed without updating cordova ios?

@davidtoledo
Copy link

Same for cordova-ios 5.1.1..can it be fixed without updating cordova ios?

Depending on the root of the problem, it might work on cordova-ios 5.1.1. Even so, I recommend upgrading your project to the latest cordova-ios version as soon as possible.

@harivenkatesh-id
Copy link

harivenkatesh-id commented Oct 6, 2020

Issue persists, able to see black screen every time for few seconds before splash screen appears.

@dpogue
Copy link
Member

dpogue commented Oct 6, 2020

Hey folks,
I'm looking to better understand this issue, since the initial launch screen is handled by iOS and the "splash screen" is just showing that launch screen for a longer duration.

Is the black screen happening right when you first launch the app, or does it show the launch screen for an instant and then show a black screen and then show the launch screen again?

If the black screen is showing before the launch screen comes up, that sounds like an iOS issue that we wouldn't any control over.

@harivenkatesh-id
Copy link

to better understand this issue, since the initial launch screen is handled by iOS and the "splash screen" is just showing that launch screen for a longer duration.

Thanks for replying, Yes every time i launch application first black screen appears for few seconds then splash screen is shown.

If this issue is not related to cordova-ios could you pls tell me where to raise this issue ??

@lempere
Copy link

lempere commented Oct 6, 2020

Is the black screen happening right when you first launch the app, or does it show the launch screen for an instant and then show a black screen and then show the launch screen again?

With the next gif you can see what happens. The black screen appears before the splashscreen.
(cordova@10, cordova-ios@5.1.1 used)

blackScreenOnLaunch_ios14 mov

@harivenkatesh-id
Copy link

Is the black screen happening right when you first launch the app, or does it show the launch screen for an instant and then show a black screen and then show the launch screen again?

With the next gif you can see what happens. The black screen appears before the splashscreen.
(cordova@10, cordova-ios@5.1.1 used)

blackScreenOnLaunch_ios14 mov

Black screen happening right every time when i first launch the app

@goangus
Copy link

goangus commented Oct 6, 2020

Eventually managed to sort it by just removing the UILaunchStoryboardName entry from the {app name}-info.plist file.

@harivenkatesh-id Did you try this? I think this is a change in how splashscreens are shown natively. The cordova splashscreen plugin emulates the native one, so this turns the native one off. It worked for me.

@lempere
Copy link

lempere commented Oct 6, 2020

I try the @goangus fix, and it worked, thanks!! :-D

@harivenkatesh-id
Copy link

I try the @goangus fix, and it worked, thanks!! :-D

could you pls explain what you have done acutally in XCode ?

@goangus
Copy link

goangus commented Oct 6, 2020

Yeah, if you click on the project navigator icon (top left) and open up the Resources folder, you should see a file called *-Info.plist. In there you will see an entry that refers to the Launch Storyboard Name. Just highlight that entry, and then click the little minus sign to remove it.

@goangus
Copy link

goangus commented Oct 6, 2020

* being your projects name

@goangus
Copy link

goangus commented Oct 6, 2020

Just as an FYI, that entry will be added back in every time you run cordova build ios so it's not an ideal solution. But it should help until the issue is resolved.

@harivenkatesh-id
Copy link

* being your projects name

Hi thanks for the quick replay. I'm using Xcode 12.0. In the *.Info.plist i couldnt see Launch Storyboard Name instead i could see Launch screen interface file base name. Is both are same. attached screen shot for your reference.

Screenshot 2020-10-06 at 1 32 56 PM

@goangus
Copy link

goangus commented Oct 6, 2020

* being your projects name

Hi thanks for the quick replay. I'm using Xcode 12.0. In the *.Info.plist i couldnt see Launch Storyboard Name instead i could see Launch screen interface file base name. Is both are same. attached screen shot for your reference.

Screenshot 2020-10-06 at 1 32 56 PM

yeah that's it

@goangus
Copy link

goangus commented Oct 6, 2020

If you right-click and click Raw Keys & Values you should see it's called UILaunchStoryboardName

@davidpadych
Copy link

did not help (cordova ios 5.1.1) ... the screen of the whole application has shrunk

@harivenkatesh-id
Copy link

If you right-click and click Raw Keys & Values you should see it's called UILaunchStoryboardName

This didn't help @goangus . whole app got shrunk and splash screen is not appearing able to see only white screen

@goangus
Copy link

goangus commented Oct 6, 2020

Well, you should be able to get back to where you were by rebuilding with cordova. Mine is on cordova ios 6.1.1. Maybe try updating to that version and see if it helps?

@harivenkatesh-id
Copy link

i'm having cordova ios 6.1.1. still issue persists.

@goangus
Copy link

goangus commented Oct 6, 2020

i'm sorry to hear that, I'm not sure what else to suggest. I have cordova ios 6.1.1 and cordova-plugin-splashscreen 5.0.4.
Removing UILaunchStoryboardName worked for me. Maybe try removing and reinstalling the ios platform and the splashscreen plugin with cordova. Then rebuild the app and remove that plist entry again. Hopefully that will work for you.

@dpogue
Copy link
Member

dpogue commented Oct 6, 2020

Does this still happen with cordova-plugin-splashscreen 6.0.0?

@davidtoledo
Copy link

i'm sorry to hear that, I'm not sure what else to suggest. I have cordova ios 6.1.1 and cordova-plugin-splashscreen 5.0.4.
Removing UILaunchStoryboardName worked for me. Maybe try removing and reinstalling the ios platform and the splashscreen plugin with cordova. Then rebuild the app and remove that plist entry again. Hopefully that will work for you.

Hi @goangus Thanks for your reply. The problem persists to me even using corvoda ios 6.1.1. Removing the UILaunchStoryboardName entry won't work. Besides not working it also squeezes the app view port to the middle of the screen. Did you try it using a new device on simulator like "iPhone 11 Pro Max"? I believe if you try in an old device (small screen) it might give you the impression it is working correctly.

Please take a look on how the app is presented after removing the UILaunchStoryboardName entry from the info.plist file:

Screen Shot 2020-10-06 at 12 14 57 PM

@davidtoledo
Copy link

Does this still happen with cordova-plugin-splashscreen 6.0.0?

Yes. The problem persists with cordova-plugin-splashscreen 6.0.0 and also cordova-plugin-splashscreen 6.0.1-dev version

@roman-rr
Copy link

roman-rr commented Oct 6, 2020

@goangus works for me, many thanks!

@roman-rr
Copy link

roman-rr commented Oct 8, 2020

Note: removing UILaunchStoryboardName works only for cordova-ios: 5.1.1 in my case.

@roman-rr
Copy link

roman-rr commented Oct 8, 2020

Finally i use this solution:

npm rm cordova-ios
npm i cordova-ios@5.1.1

config.xml

<platform name="ios">
  <hook src="scripts/patchStoryboard.sh" type="after_prepare" />
  ...
</platform>   

scripts/patchStoryboard.sh

#!/bin/bash

if [[ ! -f /usr/libexec/PlistBuddy ]]; then
exit 0
fi

PLIST=./platforms/ios/*/*-Info.plist
/usr/libexec/PlistBuddy -c 'Delete UILaunchStoryboardName' $PLIST

@davidpadych
Copy link

davidpadych commented Oct 8, 2020

we may be missing the correct LaunchStoryboard sizes...
then it would be enough to use UILaunchScreen and the value LaunchStoryboard

<splash src="res/screen/ios/Default@2x~universal~anyany.png" /> <splash src="res/screen/ios/Default@2x~universal~comany.png" /> <splash src="res/screen/ios/Default@2x~universal~comcom.png" /> <splash src="res/screen/ios/Default@3x~universal~anyany.png" /> <splash src="res/screen/ios/Default@3x~universal~anycom.png" /> <splash src="res/screen/ios/Default@3x~universal~comany.png" />

@davidtoledo
Copy link

davidtoledo commented Oct 8, 2020

we may be missing the correct LaunchStoryboard sizes...
then it would be enough to use UILaunchScreen and the value LaunchStoryboard

<splash src="res/screen/ios/Default@2x~universal~anyany.png" /> <splash src="res/screen/ios/Default@2x~universal~comany.png" /> <splash src="res/screen/ios/Default@2x~universal~comcom.png" /> <splash src="res/screen/ios/Default@3x~universal~anyany.png" /> <splash src="res/screen/ios/Default@3x~universal~anycom.png" /> <splash src="res/screen/ios/Default@3x~universal~comany.png" />

Sounds like a good fix. Did you try it?

@davidpadych
Copy link

not yet... maybe tomorrow

@davidpadych
Copy link

Guys I have it ... :-) It already works ... all dimensions need to be prepared ... don't ask me why, but it is so!

<splash src="resources/ios/splash/Default@2x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comcom.png" />
<splash src="resources/ios/splash/Default@3x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@3x~universal~anycom.png" />
<splash src="resources/ios/splash/Default@3x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comcom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anycom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~anyany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~comany.png" />

and run:

ionic cordova build ios

Make sure cordova added it to Images.xcassets ...
Do not change anything in info.plist ... leave Launch screen interface file base name: CDVLaunchScreen

@davidpadych
Copy link

Don't forget to invalidate the cache ... delete the application from your phone, turn off / on and clean the new install...

viz link Cordova README

@davidtoledo
Copy link

davidtoledo commented Oct 12, 2020

Guys I have it ... :-) It already works ... all dimensions need to be prepared ... don't ask me why, but it is so!

<splash src="resources/ios/splash/Default@2x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comcom.png" />
<splash src="resources/ios/splash/Default@3x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@3x~universal~anycom.png" />
<splash src="resources/ios/splash/Default@3x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comcom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anycom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~anyany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~comany.png" />

and run:

ionic cordova build ios

Make sure cordova added it to Images.xcassets ...
Do not change anything in info.plist ... leave Launch screen interface file base name: CDVLaunchScreen

Hi @davidpadych That's awesome! I thought this solution might work but I didn't have time to try it. Thanks for sharing! Will try it as soon as I have some time!

The explanation is simple: iOS 14 is using a splash format other than the regular "Default@2xuniversalanyany.png". Maybe the default 3x (I don't know). Since we don't know which one is being used for a specific device, It seems to be a good idea to provide all of them, just like you did.

Will try this solution soon and will let you know about the results,

Thanks!

@roman-rr
Copy link

@davidtoledo Cordova resources doesn't generate following files automatically:

<splash src="resources/ios/splash/Default@2x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comcom.png" />
<splash src="resources/ios/splash/Default@3x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@3x~universal~anycom.png" />
<splash src="resources/ios/splash/Default@3x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comcom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anycom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~anyany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~comany.png" />

What the best way to create this resources before build and avoid errors ?

@davidtoledo
Copy link

davidtoledo commented Oct 12, 2020

@davidtoledo Cordova resources doesn't generate following files automatically:

<splash src="resources/ios/splash/Default@2x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~universal~comcom.png" />
<splash src="resources/ios/splash/Default@3x~universal~anyany.png" />
<splash src="resources/ios/splash/Default@3x~universal~anycom.png" />
<splash src="resources/ios/splash/Default@3x~universal~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~iphone~comcom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anyany.png" />
<splash src="resources/ios/splash/Default@3x~iphone~anycom.png" />
<splash src="resources/ios/splash/Default@3x~iphone~comany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~anyany.png" />
<splash src="resources/ios/splash/Default@2x~ipad~comany.png" />

What the best way to create this resources before build and avoid errors ?

@roman-rr Yes. It doesn't. You have to generate your splash screen files according to the instructions stated at:

https://cordova.apache.org/docs/en/9.x/reference/cordova-plugin-splashscreen/#multi-image-launch-screen

Here are the list of files and image aspects you have to generate:

2x* | universal | any | any | 2732x2732 | Default@2xuniversalanyany.png
2x | universal | com | any | 1278x2732 | Default@2xuniversalcomany.png
2x | universal | com | com | 1334x750 | Default@2xuniversalcomcom.png
3x* | universal | any | any | 2208x2208 | Default@3xuniversalanyany.png
3x | universal | any | com | 2208x1242 | Default@3xuniversalanycom.png
3x | universal | com | any | 1242x2208 | Default@3xuniversalcomany.png

You can generate these images manually using any image editor you like,

Make sure all the important content (texts, logos, relevant figures) are inside the safe area into these images and generate the files according to the file names and image aspects listed above.

...and please let us know if the problem is solved after you make these changes.

@davidpadych
Copy link

I prepared them manually in GIMP... I would add it as a requirement rather to the cordova-res plugin ..

Cordova documentation:

scale idiom width height size filename
2x* universal any any 2732x2732 Default@2x~universal~anyany.png
2x universal com any 1278x2732 Default@2x~universal~comany.png
2x universal com com 1334x750 Default@2x~universal~comcom.png
3x* universal any any 2208x2208 Default@3x~universal~anyany.png
3x universal any com 2208x1242 Default@3x~universal~anycom.png
3x universal com any 1242x2208 Default@3x~universal~comany.png
scale idiom width height size filename
2x* iphone any any 1334x1334 Default@2x~iphone~anyany.png
2x iphone com any 750x1334 Default@2x~iphone~comany.png
2x iphone com com 1334x750 Default@2x~iphone~comcom.png
3x* iphone any any 2208x2208 Default@3x~iphone~anyany.png
3x iphone any com 2208x1242 Default@3x~iphone~anycom.png
3x iphone com any 1242x2208 Default@3x~iphone~comany.png
2x* ipad any any 2732x2732 Default@2x~ipad~anyany.png
2x ipad com any 1278x2732 Default@2x~ipad~comany.png

@EtienneLem
Copy link

I confirm that only adding the Default@2x~iphone~anyany.png finally solved the issue for us. I did have to delete + reboot iPhone in order to see a difference (also did Clean Build Folder (Cmd + Shift + K in Xcode) just in case). Not sure if relevant, but we also have a dark version of the launch screen.

At the end we only have these assets:

<splash width="2732" height="2732" src="www/res/splash/Default@2x~universal~anyany.png" />
<splash width="2732" height="2732" src="www/res/splash/Default@2x~universal~anyany~dark.png" />
<splash width="1334" height="1334" src="www/res/splash/Default@2x~iphone~anyany.png" />
<splash width="1334" height="1334" src="www/res/splash/Default@2x~iphone~anyany~dark.png" />

@michaelargast
Copy link

I can also confirm, replacing the screens and adding additional sizes has fixed the issue on my end. Works both in Cordova 5.1.1 and Cordova 6.1.1.

@davidtoledo
Copy link

That's it!

The solution is finally confirmed!

As we can see, something changed in the way splash screens are handled in iOS 14:

The entry <splash src="res/screen/ios/Default@2x~universal~anyany.jpg" /> is no longer being used for iPhones.

Now we have to add this entry: <splash src="res/screen/ios/Default@2x~iphone~anyany.jpg" /> in order to get iPhone devices covered too.

For people using only the universal~anyany entry (the only entry necessary in previous iOS versions): you just have to add the iphone~anyany entry to your config.xml file and you are good to go.

See example below:

<splash src="<path to your image>/Default@2x~universal~anyany.jpg" />
<splash src="<path to your image>/Default@2x~iphone~anyany.jpg" />

Obviously you also have to create another image file called Default@2xiphoneanyany.jpg (or png) with the resolution 1334 x 1334 pixels and put it inside your splash screen images directory.

Another thing that I noticed is that the splash screen fading effect is no longer working if the FadeSplashScreenDuration entry is not stated in the config.xml file.

So, you just have to add this line to your config.xml file and you will get the same default fading effect as in the previous iOS versions:

<preference name="FadeSplashScreenDuration" value="500"/>

Thank you very much for all collaborators in this thread.

I believe the final solution is finally found!

@harivenkatesh-id
Copy link

It works like charm!! Thanks @davidpadych @davidtoledo

@philippogol
Copy link

philippogol commented Dec 30, 2020

solvedx3!

cordova 10.0.0
ios: 6.1.0

maybe this helps some one, I spent some hours updating our app, solving this new splash black screen issue, here the step-by-step: (i recommend building a new app just to make it work; zip/backup the original one)

  1. cordova create [NAMEAPP] [BUNDLEID] [NAMEAPP]
  2. on folder-root (not inside platform, is also not created) create this folder structure: res > screen > ios
  3. create this 3 following splashes and add them inside res > screen > ios (before building platform)
  4. name: Default@2x~iphone~anyany.png (size: 1334 × 1334)
  5. name: Default@3x~iphone~anyany.png (size: 2208 ×2208)
  6. name: Default@2x~ipad~anyany.png (size: 2732 × 2732)
  7. edit config.xml (on folder-root), add following lines:
    <platform name="ios">
    <splash src="res/screen/ios/Default@2x~iphone~anyany.png" />
    <splash src="res/screen/ios/Default@3x~iphone~anyany.png" />
    <splash src="res/screen/ios/Default@2x~ipad~anyany.png" />
    </platform>
  8. cordova platform add ios

some tips:

  1. test it first on the simulator and play within until it works (if it does not work delete the app from the simulator and restart)
  2. when testing on device delete the previous app and restart the phone, otherwise will not work
  3. do not touch in xcode the folder Images.xcassets > LaunchStoryboard
  4. this official guide (ios section) helped me out: https://github.com/apache/cordova-plugin-splashscreen#installation

additional thoughts:
since everybody is using a splash image, cordova could provide dummy data for future versions and avoid issues

@brodybits
Copy link
Contributor

Should this be solved in the Hello World template for new apps?

Should this be documented - apache/cordova-docs#1144?

@philippogol
Copy link

philippogol commented Dec 30, 2020 via email

@erisu
Copy link
Member

erisu commented Dec 30, 2020

@philippogol One of the things your mentioning as tips to remove the app and reinstall when the splash screen is not reflected is a known quirk with iOS and had already been mentioned in docs.

https://cordova.apache.org/docs/en/9.x/reference/cordova-plugin-splashscreen/index.html#quirks-and-known-issues

Also, IMO I think it is not necessary to add anything to the hello world app. User should add their own splash screen. Additionally if we add, then we have to add for all various platforms, and then the users must replace all or delete...

@Birowsky
Copy link

Birowsky commented Jan 7, 2021

I'd say this is not a fix, but a workaround. I'd still like to have a feature where I provide a single image, and then the Cordova build process takes care of the sizes.

@breautek
Copy link
Contributor

breautek commented Jan 7, 2021

I'd say this is not a fix, but a workaround. I'd still like to have a feature where I provide a single image, and then the Cordova build process takes care of the sizes.

Cordova supports this on iOS. See https://github.com/apache/cordova-plugin-splashscreen#single-image-launch-screen

Note this only works well if your splashscreen is relatively simple.

@Birowsky
Copy link

Birowsky commented Jan 7, 2021

Cordova supports this on iOS.

Of course, but not without the problem described in this issue. That's how I ended up here : )

@FPCSJames
Copy link

It would sure be nice if this could be fixed - cordova-ios should be able to transform a universal-anyany image for iOS 14 devices just like it always did. Why was this ever closed when the bug still exists? There's no fix here or in the splashscreen plugin, @breautek.

@philippogol The set of three images seems to at least improve the behavior. Cheers.

@jcesarmobile
Copy link
Member

Cordova has never transformed nor done any image manipulation, the thing is iOS "allowed" to have a single image that was displayed for all the devices, but on iOS 14, if the image is too big as recommended by the "single image" tip, it doesn't display on iPhone devices anymore. So it's not a cordova bug and cordova won't be doing anything to fix that, in any case document that it doesn't work for iOS 14 anymore on iPhone devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests