question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

onDynamicLinkCallback is never called

See original GitHub issue

Hi,

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:open
  • Created 4 years ago
  • Reactions:5
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
juanpicuervocommented, Mar 18, 2020

Hi, its happening to me too! It never calls onDynamicLinkCallback 😦

2reactions
erkanarslancommented, Jun 15, 2020

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 but applicationOpenURLOptions function in the app delegate is called and I can get url from that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

App open from dynamic link, callbacks not called #503 - GitHub
When opening a dynamic link, the app opens, but registred callbacks are never called. Where, in an Angular nativescript App should I put ......
Read more >
Dynamic Links Firebase function not being called at all Xcode ...
So I have a dynamic link that is working ...
Read more >
MQCB - Manage callback - IBM
The MQCB call reregisters a callback for the specified object handle and controls activation and changes to the callback.
Read more >
How to make a dynamic link in panel - HoloViz Discourse
I'm adding the js_on_click inside the callback function, and that doesn't even work, from what I can see. but I am able to...
Read more >
Receive Dynamic Links on iOS - Firebase
Note that your App ID prefix may not be the same as your Team ID. ... this method will be called with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found