Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30337

Firebase deeplink url is null when installing application - React native

$
0
0

I am using react-native-firebase in react native project. I am able to get link when app is open. but when app is not installed and if I install app from firebase deeplink then I am not getting data.

React native code :

await firebase.links()            .getInitialLink()            .then((url) => {                if (url) {                    // app opened from a url                    Logger.log("-----url-----"+ url)                    this.showAlert(url, url)                } else {                    // app NOT opened from a url                    Logger.log("-----else url-----"+ url)                    this.showAlert(url, url)                }            });

In android side I am getting null in the module :

enter image description here

I have tried following solutions :

https://github.com/invertase/react-native-firebase/issues/1084

https://github.com/invertase/react-native-firebase/issues/1273

but nothing is working. Please help if you have done this type of things.

Thank you!


Viewing all articles
Browse latest Browse all 30337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>