Skip to content

Optionally set the dynamic link domain#813

Merged
nbransby merged 2 commits into
GitLiveApp:masterfrom
robholmes:patch-2
Jul 15, 2026
Merged

Optionally set the dynamic link domain#813
nbransby merged 2 commits into
GitLiveApp:masterfrom
robholmes:patch-2

Conversation

@robholmes

@robholmes robholmes commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

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
Contributor 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

@nbransby nbransby merged commit 4f8fa16 into GitLiveApp:master Jul 15, 2026
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.

3 participants