onDynamicLinkCallback is never called
See original GitHub issueHi,
I set up Email-Link login and Dynamic Links. After clicking the link in received email from auth, the app opens, but while observing the log output, onDynamicLinkCallback is never called and therefore I cannot route the user accordingly. This is especially problematic if users click on the same email link, because the Email-Link seems to expire after the first click (as it should IMO). I would need to route and/or notify users in the case they are logged in our not after clicking the link, but I cannot do this if onDynamicLinkCallback is never called. I am currently testing with a physical ios device (version 13.3). Please help.
firebase.init({
onDynamicLinkCallback: function (result) {
console.log("Dynamic Link: " + result.url+ ", matchConfidence: "+ result.matchConfidence);
}
});
It looks like this issue may be related to the TODO item you noted regarding the “data” param here. Can someone confirm?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:9 (1 by maintainers)
Top GitHub Comments
Hi, its happening to me too! It never calls onDynamicLinkCallback 😦
I am not an iOS expert but it seems that this problem occurs when the app or another plugin defines a custom App Delegate.
When my app starts,
onDynamicLinkCallback
is not called butapplicationOpenURLOptions
function in the app delegate is called and I can get url from that.