-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Identify Application Installation Status in iOS and Android using next-pwa #487
Comments
This doesn't seem to be a bug. If you want to know if the app is installed, you can put a query string on the start-url in your manifest:
In one of my apps, I have installed instances go to a Once either of these criteria have been met, you can stash something on the device to make it easier to identify if the app is installed or not using local storage or indexedDB. |
If you are trying to find out is when the user opens your web-app, it to show varying info based if it's opened in PWA mode or not, try this
let me know if this makes sense or you found a better way |
Issue Description:
I'm using next-pwa for my Next.js project, and I have successfully converted my application into a Progressive Web App (PWA). However, I'm facing a challenge in identifying whether the PWA is installed or not on both iOS and Android devices to improve the user experience.
Steps to Reproduce:
Expected Behavior:
I expect to find a way to determine whether the PWA is installed on the user's device, so I can provide an enhanced user experience, such as displaying a custom install banner or enabling additional features for installed users.
Current Behavior:
As of now, I have not found a suitable method or library within the next-pwa documentation or examples to identify the application installation status in both iOS and Android devices.
Any guidance or pointers on how to identify the installation status of a PWA in both iOS and Android using next-pwa would be greatly appreciated.
The text was updated successfully, but these errors were encountered: