32

Is there any method to open website (PWA) urls in the installed PWA in iOS- Safari?

Use case: I'm sending email links to login in my PWA, how can I make this url's open directly with the installed PWA instead of the browser?

Anand
  • 8,341
  • 3
  • 48
  • 70
Patriciu Nista
  • 644
  • 1
  • 7
  • 15

2 Answers2

23

If you are using Chrome in Android or any of the desktop OS, that would be the default behavior.

Check on "Android intent filter" in this link.

This feature is not supported in iOS yet for PWA apps(created using Safari- the only option for iOS as of June-2018).See "What PWAs can do on Android and not on iOS" section last point.

Anand
  • 8,341
  • 3
  • 48
  • 70
  • I'm using iOS, opening it from the mail app. – Patriciu Nista Jun 19 '18 at 16:56
  • 3
    I've updated your question and answer to reflect the same. Answer is no. Its not possible yet..though we can expect in future. Hope it helps. Accept the answer if it solves your question. – Anand Jun 19 '18 at 17:36
  • i would also add: even in android it seems to open it within standalone mode AFTER the user has opened the PWA once from homescreen. At least that's what i ended up with after some testing around – gauguerilla Mar 16 '19 at 18:00
  • Is it always impossible to open a PWA from a native app on iOS? Or did Apple introduced support for it in the latest versions of its mobile OS? – giani.sim Apr 14 '21 at 15:24
2

For iOS, there is actually a very unknown way which you can install a .mobileconfig profile which installs a web clip (or multiple web clips if you like).

This will run your website in fullscreen and is very similar to how iOS PWAs work. You can also link to it online or send it as an Email attachment for your users to install.

Just make sure you add this for the webpage to open fullscreen:

<key>FullScreen</key>
<true/>

You can read more about creating your own from scratch here:

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/ConfigurationProfileExamples/ConfigurationProfileExamples.html

or if you have a Mac you can get the "Apple Configurator 2" App:

https://apps.apple.com/us/app/apple-configurator-2/id1037126344

or you can take the easy route and use a generator here if you don't have a Mac:

https://webclip.glitch.me/

devwk
  • 326
  • 1
  • 12