Next.js Discord

Discord Forum

next-pwa question

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Avatar
Transvaal lionOP
hey folks,

i'm using next-pwa package to set up standalone PWA and everything works great so far!

i have one question, tried to google it but so far i haven't found concrete answer to this one, is there a way to redirect user from any other app / chrome or safari to the PWA if it is installed already?

example is, you are browsing twitter on your phone and you stumble upon a link of my app, if you have PWA installed, that link should open up in the PWA instead of browser

EDIT: i have found this source but it looks like it is deprecated https://developer.chrome.com/articles/pwa-url-handler/

3 Replies

Avatar
Transvaal lionOP
bumping this boi, anyone?
Avatar
Nile perch
I believe "deep-linking" is the terminology you are looking for here, and looks like it varies quite a bit. https://intercom.help/progressier/en/articles/6902113-complete-guide-to-pwa-deep-links

Is next-pwa working alright for you? I ended up just making service worker of my own.
Avatar
Transvaal lionOP
yup, you are correct! deep-linking is something i have been researching on, but so far i haven't found 100% solution

deep-linking is more or less supported on android devices, while on iOS there isn't support at all for now. therefore i'm prolly gonna ditch this for now. and yeah, next-pwa is working nicely for now!