Questions tagged [a2hs]

Add to Home screen (or A2HS for short) is a feature available in modern browsers that allows a user to "install" a web app, ie. add a shortcut to their Home screen representing their favorite web app (or site) so they can subsequently access it with a single tap.

https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Add_to_home_screen

12 questions
17
votes
2 answers

How to bring back "Add to home" banner for progressive web app after removed the icon from home screen?

The reason - I made a Progressive web app, opened in the browser - all is fine and browser offered me to add it to home screen. Now, I want to demonstrate this on a presentation, and so - removed the icon from home screen. But for the last whole day…
pesho hristov
  • 1,946
  • 1
  • 25
  • 43
10
votes
2 answers

Is "Add to home screen" feature of PWA supported in iOS?

I am building an app using PWA. I am using Angular. Basically, it is a media application that plays videos. It is working fine on Android and the "Add to Home screen" popup also comes in Android devices, but in iOS devices "Add to Home screen" does…
5
votes
2 answers

How to trigger the simple "Add to home screen" feature (the one without service worker)

There are in fact two "Add to home screen" features on Android browsers: The popup dialog that is automatically showed on the bottom of Chrome Android when specific conditions are met (manifest.json available, having a service worker as discussed…
Basj
  • 41,386
  • 99
  • 383
  • 673
3
votes
2 answers

Ask the visitor of the website to add a home desktop shortcut on mobile (progressive-web-app)

I remember that when I went on certain websites with Chrome Android, there was a bottom popup which displayed something like: "Want to install a shortcut on your home desktop? Click here." How to enable this "progressive-web-app" behaviour for…
Basj
  • 41,386
  • 99
  • 383
  • 673
1
vote
0 answers

A2HS: Basic Safari navigation UI for iOS standalone web app

I'm trying to display a basic browser UI within Safari (next/back buttons, but no address bar) when displaying a site in standalone mode when adding to the home screen on iOS. I'm aware that iOS doesn't support the 'minimal-ui' display property…
1
vote
0 answers

PWA Icon on iOS is not available after adding to home screen

I have PWA support in the application, and icons are not always visible on the screen. After thoroughly examining all PWA forums, no answer seemed to solve the problem. Here is the index.html file(web app manifest and icon attached):
1
vote
0 answers

Android 'Install App' missing for PWA and 'beforeinstallprompt' not fired

I have a PWA with all the requirements to install it to devices. This PWA is being used by multiple people and always installed without any problems. Now I have a customer who bought 3 new identical android devices and on 2 devices the installation…
1
vote
1 answer

No matching service worker detected. You may need to reload the page, or check that the scope of the service worker for the current page endoses

I'm learning the basics of using A2HS on PWA. when I want to open the A2HC banner in chrome devtools, an error appears like this "No matching service worker detected. You may need to reload the page, or check that.....". I don't understand why it's…
Starscream
  • 11
  • 4
1
vote
1 answer

Service-worker doesn't install only adds to home screen

I'm trying to install the pwa onto my mobile device. I only am able to add to home screen. Does anyone have any idea why this is happening?
Das
  • 13
  • 5
1
vote
1 answer

Unable to track pwa add to home screen events

I have create a service worker file and manifeast file and register service worker file in my index.html file. I want to track that how many users can see "Add to home screen button" and how many users have click "Add to home screen" . MY…
Sunil
  • 52
  • 9
0
votes
2 answers

Install banner a2hs doesnt work on my pwa

I am trying to make PWA out of my website. So far added manifest and service workers, all works fine, checked on chrome dev tools through applications and Lighthouse, everything is green and installable. This is my manifest: { "short_name":…
-1
votes
0 answers

I'm trying to add a flutter web app to Home Screen on Android and iOS, but I need it to take an ID at the end of the url as part of the app

I'm building a web app in Flutter and I have a domain where the app is hosted. The app stores a different view for each user, like a business card, these views are public, you can access them with the domain URL and adding a hash at the end like…
Mascor
  • 1
  • 1