Skip to content

Flag to know the client already download the PWA? #84

Answered by khmyznikov
jihad-gdt asked this question in Q&A
Discussion options

You must be logged in to vote

If isInstallAvailable is false, that's means you are already in standalone pwa or in unsupported environment.
If isUnderStandaloneMode is true, that's means you are in standalone pwa mode specifically.
If isRelatedAppsInstalled is true, that means PWA or Store App already installed (don't work on iOS)

For iOS, you can only put some variable into Local Storage for example when you see event pwa-install-how-to-event, but you can't be sure it was installed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by khmyznikov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants