Behavior react-native linking

173 Views Asked by At

My question is about Linking of react-native : https://reactnative.dev/docs/linking

I implement this functionnality but I have a behavior that I don't want.

In case of my app is close, I click on a link and my app start. But before the link is detected my app start normaly, and after the link detected by the method Linking.getInitialURL() the redirection is done. I find this behavior weird because the application starts as if it had been started normally and after a delay the link is detected and the redirection is executed. The user see the start useless screen before the redirecton.

Moroever it's a problem if the redirection with url is faster than the normally redirection. We see firt the redirection with url, and after the redirection of open app. So user can't access to the link redirection.

I don't know how resolve properly this problem.

enter image description here

0

There are 0 best solutions below