firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.55k stars 1.45k forks source link

IOS doesn't receive Dynamic Links on first install (No pre-install link matched for this device) #10915

Closed scotch-formitable closed 1 year ago

scotch-formitable commented 1 year ago

Description

Referencing an old issue that was closed by the bot: #7406

#7406

We are seeing an issue where the deferred dynamic link is not picked up when using the Skip app preview for ios. In the console is: (No pre-install link matched for this device)

Can we reopen this old issue or look into this properly as its affecting us and undocumented.

Reproducing the issue

Steps to reproduce:

  1. App not installed previously
  2. Tap Dynamic Link
  3. Device show App Store page for app
  4. From Xcode build and run app
  5. Wait for console error "No pre-install link matched for this device"

Firebase SDK Version

firebase_dynamic_links: ^5.0.15, firebase_core: ^2.5.0

Xcode Version

14.2.0

Installation Method

CocoaPods

Firebase Product(s)

DynamicLinks

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json Replace this line with the contents of your Package.resolved. ```

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml Replace this line with the contents of your Podfile.lock! ```
google-oss-bot commented 1 year ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

ruairioliverwv commented 1 year ago

I'm stuck on this as well. I'm using a custom domain. If I use the firebase default domain it works fine.

There are a few issues related to this and they keep getting closed. It's a valid issue.

scotch-formitable commented 1 year ago

This also happens if we suppress the allow paste pop up that is new to IOS by using the Flag in the Plist. Very annoying.

ruairioliverwv commented 1 year ago

Looks like this issue has been around since 2018. Any chance of it being looked at?

https://github.com/firebase/firebase-ios-sdk/issues/1244

Tagging @morganchen12 as involved in the original issue.

Easy enough to recreate, dynamic link with a custom domain and skip app preview page enabled. Not received after install

"No pre-install link matched for this device"

Thanks

rizafran commented 1 year ago

Sorry for the trouble. I've raised this issue to the FDL team, and I'll let you know once I got an update.

ruairioliverwv commented 1 year ago

Thanks @rizafran, much appreciated!

thomast74 commented 1 year ago

We have the same issue. Would love this issue to resolved for custom domains, with *.page.link domains it is working perfectly fine. If I use a Dynamic Link with efr=1 (no preview page) I see the following request failing:

https:///_/DurableDeepLinkUi/data/batchexecute?rpcids=C2fiEc&source-path=%2F&f.sid=-4510021496100025375&bl=boq_durabledeeplinkserver_20230410.08_p0&hl=en-US&_reqid=55435&rt=c

It fails with a 405 error: The server cannot process the request because it is malformed. It should not be retried.

The same request for a page.link domain does return a 200 without error. I'm not sure if that maybe makes a difference but feels like something is not right there.

paulb777 commented 1 year ago

The Firebase Dynamic Links service will be shutdown on August 25, 2025. In the meantime, only critical or security issues will be fixed in the SDK.

More at https://firebase.google.com/support/dynamic-links-faq