Splash screen blinking in IOS
Just created a new project(Ionic + Capacitor) following the instructions on: https://capacitor.ionicframework.com/docs/getting-started/with-ionic
And then changed the splash screens using these instructions: https://www.joshmorony.com/adding-icons-splash-screens-launch-images-to-capacitor-projects/
When I start the application the splash screen image is blinking like in the attached video. IMG_0189.TRIM.MOV.zip
Any clues?
@dfjmax it could be related with the type of the image that is being used. Can you upload this image so we can reproduce that issue.
Transformed video to gif: http://www.giphy.com/gifs/ag3qU174aW4jkC8lvw
I also replaced the Capacitor splash with a custom splash. On the Emulator I notice the app starts with the Capacitor logo and then switches to the custom splash. Might that be the flash?
The flash is because iOS first shows the launch storyboard and then the splash plugin shows the same image again, will look into it. Depending on the image it might be more or less noticeable.
When it shows the capacitor image first is because the emulator cached the launch storyboard, you’ll have to delete the app from the simulator. That only happens while in development, not when released from the App Store
We notice it in production. We were able to make it look less noticeable by adding webView?.isOpaque = false inside CAPBridgeViewController.swift
Not a permanent fix, but it helps.
Having this too.
Linking related issue https://github.com/ionic-team/capacitor/issues/1003
Having this issue as well, using Ionic 4 together with Angular. Adding a delay before hiding the splash screen 'fixes' the flickering of screens. But this is bottlenecking performance.