Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove name in PWA splash screen

how can I remove the name in the splash screen of my progressive web app?

The app name is already in the logo / icon. That's why I don't want to see the name in the bottom of the splash screen again.

example manifest.json:

{
  "name": "HackerWeb",
  "short_name": "HackerWeb",
  "start_url": ".",
  "display": "standalone",
  "background_color": "#fff",
  "description": "A simply readable Hacker News app.",
  "icons": [{
    "src": "images/touch/homescreen48.png",
    "sizes": "48x48",
    "type": "image/png"
  }, {
    "src": "images/touch/homescreen72.png",
    "sizes": "72x72",
    "type": "image/png"
  }]
}
like image 271
CYGS Avatar asked Oct 09 '17 13:10

CYGS


People also ask

How do I create a custom splash screen in PWA?

So, if you want to set a custom PWA splash screen and icons, the only way out is to add special HTML tags. For splash screens, it is the <link rel=”apple-touch-startup-image” /> meta tag. For icons, you should add one more HTML meta tag – <link rel=”apple-touch-icon” />. That done, your iOS headache isn't over.

Do Web Apps have splash screen?

By default, both Android and iOS show a plain white screen as the splash screen for web apps. It is always better to customize the splash screen to provide a complete app experience.

How do I get rid of the default splash screen in flutter Web?

The default splash screen cannot be overridden with Dart/Flutter alone. They are controls shown by the native Android/iOS context while the Flutter runtime is initializing. As such, any splash screen widget you create inside Flutter will show after the default splash screen.


1 Answers

There is not a way to selectively display the app name on the splash screen. The recommended approach is to develop a logo that will work being displayed next to your application neame. Potentially you could try setting an empty string for the name but that could have unintended consequences including making browsers start ignoring the manifest altogether.

like image 154
abraham Avatar answered Oct 06 '22 01:10

abraham