Dynamic Links don't survive app install on iOS 11.3.1
- Xcode version: 9.3
- Firebase SDK version: 5.0.0
- Firebase Component: Dynamic Links
- Component version: 3.0.0
Problem:
Dynamic links does not survive app install from app store on iOS 11.3.1
Steps to reproduce:
- Click on Firebase Dynamic Links
- Browser redirect to app store
- Install from app store
- Open the app
- Dynamic link not passed
Can you share your link handling code?
cc @dmandar
@morganchen12 For sure.
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
//the url here returns:
//google/link/?match_type=none&match_message=No pre-install link matched for this device.
or
//google/link/?dismiss=1&is_weak_match=1
FIRDynamicLink *dynamicLink = [[FIRDynamicLinks dynamicLinks] dynamicLinkFromCustomSchemeURL:url];
//dynamicLink.url is nil here.
}
Note that on iOS 11.2 it still works. Not sure if it's the same issue, but check this out: https://github.com/BranchMetrics/ios-branch-deep-linking/issues/830#issuecomment-387562738
@morganchen12 @dmandar Any update on this? Thanks!
No update yet, but we should be able to get to this this week.
Can you confirm if your links are using the app preview page? (when creating a DL in the console, are you checking the 'Skip the app preview page (not recommended)' option?
@dmandar yes, we're skipping the app preview page. But this works prior to iOS 11.3.1
@morganchen12 @dmandar any update on this? thanks.
Mandar is currently investigating this, but hasn't come back with anything yet.
Internal bug filed at b/79657436.
What about the issue ? If this issue persist in every latest OS version then what is the meaning of using Firebase Dynamic link ? And why they are not providing with any solutions to this when this issue is creating so much noise over the internet.
@kbcodelogicx we are actively investigating this issue and will have an update very soon.
Update: Can you confirm this is fixed for you in iOS 11.4?
@dmandar @morganchen12 this is fixed on iOS 11.4, but issue still persists on iOS 11.3
@richardliveraise is this iOS 11.3.1, or just iOS 11.3?
@morganchen12 correction, issue is on 11.3.1, I don't have 11.3 device to confirm.
@richardliveraise that's correct - the issue still persists only on that version - we have a bug fix in the works for it. Also, 11.4 should not exhibit the behavior.
To clarify, this is a server issue, so you won't need an SDK update in order to receive the fix. I'll leave this issue open for the time being until all of the error cases are fixed.
+1
It's working on iOS11.3, but not iOS11.3.1
Hi @morganchen12 , I'm also having this issue and am troubled because iOS 11.3 has currently the majority of iOS userbase. No pressure but do we have any ETA on the server side fix? Thanks in advance...
I unfortunately can't provide an exact ETA, but can hopefully shed some light on what's going on behind this issue.
The bug in matching 11.3.1 devices occurs because Safari doesn't report the full version of 1.3.1 in the user agent. The fix for this is relatively simple, but is only one of three fixes we're making, and I don't know how they'll be prioritized.
I'll update this bug with an ETA once it's available.