1

i have application with server side (on java) and mobile app for iOS. For implementation flow invite friends to application i need to use deep link. Flow must be following:

  1. From server I send email with deep link and token
  2. User open email with link and click
  3. Download app from store and sign up on application with token from link.

How I can generate link with token on server for application?

Maybe it bad flow, please correct me.

Thanks.

boden
  • 1,621
  • 1
  • 21
  • 42
  • 1
    There is no need for deep-linking concept. Please refer below http://stackoverflow.com/questions/15880395/launching-app-from-sms-link-or-email-link http://stackoverflow.com/questions/15955798/ios-app-store-pass-parameters-in-store-download-link – Gagan_iOS Jan 03 '17 at 13:11
  • @Gagan_iOS, as it is written in the third step _If it fails, you redirect the user to the app store so they can download your app._ but user must download app with a specific invite token that will be avaible during sign up – boden Jan 03 '17 at 13:44
  • 1
    [This might be helpful](https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html) – shallowThought Jan 03 '17 at 14:20
  • solved the problem by using [branch.io](https://dev.branch.io/methods-endpoints/data-export-api/guide) – boden Jan 06 '17 at 06:20

1 Answers1

2

This is known as 'deferred deep linking'. It's complicated to build — I don't recommend trying to do it yourself. Take a look at free services like Branch.io (full disclosure: I'm on the Branch team) or Firebase Dynamic Links.

Alex Bauer
  • 13,147
  • 1
  • 27
  • 44
  • Thanks for answer, I found the documentation to use [API](https://dev.branch.io/methods-endpoints/data-export-api/guide/), a good solution! – boden Jan 06 '17 at 06:19