firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Deeplink from Firebase Invite not coming through for New Install

Open richardliveraise opened this issue 8 years ago • 6 comments

  • Xcode version: 9.2
  • Firebase SDK version: 4.8.1
  • Firebase Component: Firebase Invites
  • Component version: 2.0.2

Steps to reproduce:

  1. Send app invite via Firebase Invite
  2. Open the invitation link from email
  3. Link redirect to app store to download
  4. Open app
  5. Received this: ://google/link/?dismiss=1&is_weak_match=1

Note that if I generated the link from Firebase Dynamic Links, it works (deep link is passed after new install). Only Firebase Invite link not working. Thanks!

richardliveraise avatar Mar 01 '18 20:03 richardliveraise

Is there a difference between the links Invites and Dynamic Links generates?

morganchen12 avatar Mar 02 '18 00:03 morganchen12

@morganchen12 : Yes. The Invites URL is longer and has extra /i/

Dynamic Links URL: https://xxx.app.goo.gl/GUNJ6JvHtwq5KyCp2 Invites URL: https://xxx.app.goo.gl/i/209151496987-f4f2b971-c929-465d-b4d5-f0c362964e1f

Also, with the dynamic links url, we can easily debug with adding ?d=1, I can't do the same with invites url. This issue is only happening on iOS, Android was able to retrieve the data after install

richardliveraise avatar Mar 02 '18 00:03 richardliveraise

Got it. This is most likely a bug on our end. I can't provide a timeline for a fix unfortunately.

morganchen12 avatar Mar 02 '18 00:03 morganchen12

@morganchen12 : Any idea why it works on Android but not iOS ?

richardliveraise avatar Mar 02 '18 00:03 richardliveraise

@richardliveraise Deferred deeplinks are handled differently on iOS and Android. Apparently the Google Play store can "hold" a deeplink for an app and pass the link after the app is installed. For Apple there is no such mechanism so developers have to store some identifying information on a back-end the moment the user clicks on a link, then on app start send that same identifying information to see if a deeplink was clicked by this user. That's how I understand it anyway, so a big difference between platforms.

RikAzerion avatar Nov 30 '18 12:11 RikAzerion

FirebaseInvites has been deprecated and we don't plan to fix this.

More at https://firebase.google.com/docs/invites/deprecation

paulb777 avatar Jan 25 '19 21:01 paulb777