Skip to content

Optionally set the dynamic link domain#813

Open
robholmes wants to merge 1 commit intoGitLiveApp:masterfrom
robholmes:patch-2
Open

Optionally set the dynamic link domain#813
robholmes wants to merge 1 commit intoGitLiveApp:masterfrom
robholmes:patch-2

Conversation

@robholmes
Copy link
Copy Markdown

@robholmes robholmes commented Apr 9, 2026

Dynamic link domains are now deprecated and if the firebase iOS SDK version is 12+ then the function has been removed. Causing the following crash, even though the dynamicLinkDomain is null. This at least supports not calling the removed function if the value is null.

Fatal Exception: NSInvalidArgumentException -[FIRActionCodeSettings setDynamicLinkDomain:]: unrecognized selector sent to instance

Why?

Due to a bug in iOS 26.4 and the Firebase iOS SDK (detailed here: firebase/firebase-ios-sdk#16033), a fix was applied in 12.12.0 and above of the Firebase iOS SDK.

So to fix the crash, we need to update the Firebase iOS SDK version to 12.12.0 and above in xcode.

But doing this then leads to the removed setDynamicLinkDomain crash above.

Dynamic link domains are now deprecated and if the firebase iOS SDK version is 12+ then the function has been removed. Causing the following crash, even though the `dynamicLinkDomain` is `null`. This at least supports not calling the removed function if the value is null.

```
Fatal Exception: NSInvalidArgumentException -[FIRActionCodeSettings setDynamicLinkDomain:]: unrecognized selector sent to instance
```
@robholmes
Copy link
Copy Markdown
Author

This should also fix: #786

@marcorighini
Copy link
Copy Markdown

@Reedyuk do you think this can be merged and a new version be released? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants