Amine Gn
Amine Gn

Reputation: 138

Is it possible to launch an iOS app using Universal Links (deep link) from Email - iOS

Is there a way to launch my iOS app using Universal Links from the Email (on Safari) ?

I have an iOS app containing the forgot password process, that's why I need to redirect the user from email to my app.

Upvotes: 1

Views: 10730

Answers (2)

CZ54
CZ54

Reputation: 5588

YES.

In order to do that you have 2 options :

1 - Using deeplink:

You can add a custom scheme to your app ( like com.yourcompany.yourapp:// ) and use this scheme in your email to open your app ( is it is installed )

-> com.yourcompany.yourapp://forgottentPassword/token

+ Super easy to implement. No server side configuration

- If the app is not installed or if the user is not an an iPhone it will not work.

2 - Using Universal Links: See https://developer.apple.com/ios/universal-links/ for more details.

You can pair your app with a website. Every time an app ( except safari ) will try to open a link from your website ( ie: https://youdomain.com/forgotPassword?token=1234 ) your app will be awake and asked if the user may continue using your app.

+ Even if the user don't have the app, or if the reset password occurs on a desktop everything will be ok for your user.

- You will need to access to your webserver to add a configuration file ( to ensure you are the owner of the website, and to declare all URLs you want to support )

Conclusion: You can and based on my experience, you should support Universal Links

Upvotes: 4

Dixit Rathod
Dixit Rathod

Reputation: 177

Yes you can open your iOS Application from anywhere except Skype. and if you want to create dynamic link with firebase. you can refere https://firebase.google.com/docs/dynamic-links/ios/create this link.

Upvotes: 1

Related Questions