Reputation: 5191
Existing user of the app will send email to other user.
Other user may have app installed or not installed on their device. The email will contain some token. Now I want to pass that token to my app. I have read that by deep-linking, its possible. But how will I handle the case when other user have not installed my app yet in their IOS device.
Any help is appreciated.
Upvotes: 2
Views: 1527
Reputation: 13613
What you're describing is called Deferred Deep Linking (Deep Linking
refers to using a link to open your app, even directly to a specific piece of content, and Deferred
means that it works even if the app isn't installed first).
Unfortunately there's no native way to accomplish this yet on either iOS or Android. URL schemes don't work, because they always fail if the app isn't installed. Apple's new Universal Links in iOS 9 get closer, but you'd still have to handle redirecting the user from your website to the App Store
A free service like Branch.io (full disclosure: they're so awesome I work with them) can handle all of this for you though. Here's the docs page covering exactly how to create email links like you described: https://docs.branch.io/pages/emails/email-partners-list/
Upvotes: 1