Everettss
Everettss

Reputation: 16059

Can browser relaunch Web App Install Banner (chrome add to homescreen) after dismissing it?

Docs about heuristics of displaying Web App Install Banner only describes this conditions

enter image description here

But what happen when user dismiss Web App Install Banner (for example by accident)?

I'm trying to find out this question:

  1. Will browser in the future use the same heuristic as I pointed above to show Web App Install Banner once again? Or it will use different heuristic? Or it will never be show in the future?
  2. Can you use some API to manually invoke Web App Install Banner? (something like deferred prompt in this example)

Upvotes: 0

Views: 1061

Answers (2)

asiop
asiop

Reputation: 727

According to Chrome dev: "If dismissed by a user, it will not be shown until a sufficient period of time (~3 months) has passed."

Taken from here: https://developers.google.com/web/updates/2018/06/a2hs-updates

Upvotes: 0

oninross
oninross

Reputation: 999

From what I know (and tested), the moment the user has dismissed, accidentally dismissed or just ignored the banner, it is considered a "Cancelled to add to homescreen." Unfortunately also, Google has not allowed the developers to trigger the banner at any time.

In addition to that, the requirements that you have mentioned are outdated. You might want to check out the PWA checklist

Upvotes: 1

Related Questions