EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 445 forks source link

When Dynamic links, on IOS, it doesn't trigger console logs or alerts. #1780

Open JoseChavez98 opened 3 years ago

JoseChavez98 commented 3 years ago

To start, it works fine on Android

firebase.addOnDynamicLinkReceivedCallback(
  function (url) {
    console.log("Dynamic Link: " + url); 
    platform.isAndroid && alert(`Open: ${url}`)
    platform.isIOS && alert(`Open: ${url}`)
  }
);

I also tried the same with

 firebase.init({
   onDynamicLinkCallback: result => { ... 

It seems that logs don't work for both platforms. But the important thing is that in IOS It doesn't trigger a simple alert. That is why I'm not going to be able to apply logic when I open my IOS app from a D Link, such as raising a modal or something else.