PWA splash screen fades to black?

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

On iPhone iOS 11.4, when tapping a PWA icon from the home screen, it shows a splash screen, goes to black, then back to the splash screen. Not sure why it goes to black, but it can be seen in the PWA example here:

Online demo: https://pwa-splash.now.sh

Github repo: https://github.com/applification/pwa-splash-screens

Source code of demo: https://github.com/applification/pwa-splash-screens/blob/master/index.html

Simply open the online demo link on your phone, add it to your home screen, and click the PWA app icon from your home screen to see the issue with the splash screen.

Any idea how to eliminate the black (so it’s just the splash screen)?

profilepic.png
manpreet 2 years ago

I've tested in iOS 11.4 (iPhone x resolution) and all I saw was the default white splash screen and not the image which is linked via "apple-touch-startup-image".

In the code, I did not see any resolution supporting iPhone X's(2436-by-1125) which answered the behavior.

Please refer this answer to support more higher resolution to make it work in your resolution and all possible iOS devices.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.