You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Implement next-pwa in a Next.js project.
Convert the application to a PWA using the next-pwa plugin.
Attempt to identify the application installation status on both iOS and Android.
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:
If you want to know if the app is installed, you can put a query string on the start-url in your manifest:
"start_url": "/?installed",
In one of my apps, I have installed instances go to a /start route that checks local storage and does some config before the app starts, then does a router.replace() to the correct main page.
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.
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: