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

The react native firebase both onLink() and getInitialLink() have run only the ios device fires

$
0
0

I want to run only getInitialLink, but from a closed state After stepping on a dynamic link, both onLink and getInitialLink fire.

firebase.links().onLink((url) =>{ … }))firebase.links().getInitialLink((url) => { ... })

The IOS code for react native firebase can be found at https://v5.rnfirebase.io/docs/v5.x.x/links/ios to configure it It has been done.

When I check the operation on android devices, only getInitialLink runs as I expected. It works on the street.

By way of a supplement, We are using firebase's long dynamic link to get the query parameters passed in.

Does anyone know how to solve this problem?

library versions are below.

simulator ios: 13.3
device ios: 13.4.1
react: 16.8.6
react-native: ^0.60.6
react-native-firebase: ^5.6.0


Viewing all articles
Browse latest Browse all 16552

Trending Articles