Skip to content

How to redirect landing page to PWA? #976

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

Open
ModalityZ opened this issue Mar 5, 2025 · 3 comments
Open

How to redirect landing page to PWA? #976

ModalityZ opened this issue Mar 5, 2025 · 3 comments

Comments

@ModalityZ
Copy link

I have noticed on Android and iOS that some https urls open in non-browser apps. Is there a way to achieve that with a PWA? Our users will be confused if we guide them through installation of our PWA, only for them to get the landing page again once they reuse their url.

I thought I would find some mention of this desirable behavior among PWA guides on protocol_handlers, but so far none do. So I accepted the invitation to give feedback offered at https://developer.chrome.com/docs/web-platform/best-practices/url-protocol-handler#tell_us_about_the_api_design

@tomayac
Copy link
Contributor

tomayac commented Mar 5, 2025

If you have an installed PWA, you can change this behavior setting now. See the bottom of this screenshot:

Image

(Go to about://apps in Edge or Chrome, right-click, choose App Settings.)

@ModalityZ
Copy link
Author

If you have an installed PWA, you can change this behavior setting now. See the bottom of this screenshot:

Image

(Go to about://apps in Edge or Chrome, right-click, choose App Settings.)

Thanks, that's good to know. But our users would really appreciate not having to follow multiple steps, so if it is possible to configure this in a manifest or js api, that would be much, much better.

For context, our users are elderly who would like to get reminders (push notifications). Every step we would ask them to do reduces the likelihood that they will finish and get the reminders they want. Even trying to explain how to find a "button with three dots or lines in the corner" leads to a huge defection.

@ModalityZ
Copy link
Author

I just discovered this...
https://web.dev/learn/pwa/os-integration#url_handling
...which would be the answer here if you include it in your explainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants