We are trying to use dynamic links for deep linking. The link is behaving normally.
However, on click, it is not hitting the userActivity restorationHandler method in the app.
We have followed all the steps mentioned in the document, and the output of diagnostics is below
---- Firebase Dynamic Links diagnostic output start
version 12.1.1, model iPhone Current date 2018-12-13 05:08:44 +0000 Device locale en-IN (raw en_IN), timezone Asia/Kolkata Specified custom URL scheme is dev.XXX.xxx and Info.plist contains such scheme in CFBundleURLTypes key. AppID Prefix: XXXX, Team ID: XXXX, AppId Prefix equal to Team ID: YES performDiagnostic completed successfully! No errors found.
---- Firebase Dynamic Links diagnostic output end --------
Firebase Dynamic Links framework version 3.3.0 System information: OS
iOS, OS
There is a warning in the dynamic link console regarding app ID prefix.
iOS app ‘com.xxx.ios’ lacks App ID Prefix. UniversalLinks is not enabled for the app.
We have cross checked our team ID and it seems to be fine.
Could someone please help us resolve this?
I had the same issue. So, I asked Firebase team, got answers and fixed the problem. Here is the solution.
Looks like you’ve encountered an issue while debugging your Firebase Dynamic Link. Just to share, when adding an iOS app to a Firebase project, an OAuth client ID is automatically generated for it in it’s associated Cloud project. Deleting the app doesn't remove its corresponding client IDs, which can cause issues for the dynamic link. Here are the steps to change or delete the package name/bundle ID for the client IDs:
- Access the project on the Cloud console
- Go to APIs and Services > Credentials
- Identify the client ID with the conflicting package name/bundle ID in the name (ex: [Android/iOS] client for (auto created by Google Service)
- Edit the package name/bundle ID and save changes or delete the OAuth client ID
来源:https://stackoverflow.com/questions/53755779/issue-with-firebase-dynamic-links