Description
Library | Class | Member | Platforms |
---|---|---|---|
auth | ActionCodeSettings | linkDomain | Android, iOS |
I have a custom domain set up with Firebase and need to send links from that domain (instead of the default PROJECT_ID.firebaseapp.com
).
Using the first-party Firebase SDK on Android, I can set ActionCodeSettings.linkDomain
and pass that to Firebase.auth.sendSignInLinkToEmail()
so the link email contains a link with my custom domain.
From the docs:
linkDomain
: When custom Hosting link domains are defined for a project, specify which one to use when the link is to be opened by a specified mobile app. Otherwise the default domain is automatically selected (for example, PROJECT_ID.firebaseapp.com
).
It looks like this will require increasing your Firebase Cocoapods dependency to 11.8.0 but I don't see any API breaks between your current version of 11.4.0 and this new version of 11.8.0 so that hopefully won't cause too much trouble
And this code change in firebase-kotlin-sdk
should be relatively simple as it's just one more String
field so I hope that isn't much of a challenge either.
Thanks! Please see my associated PR.