You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I dynamically go to different initial page by deeplink ?
Say like, I have stayapp://bloc and stayapp://card, and I want to navigate to different page as the initial scene in the same component entry using the link.
Currently,
varurl=Linking.getInitialURL().then((url)=>{if(url){console.log('Initial url is: '+url);}}).catch(err=>console.error('An error occurred',err));
If I use Linking, I can only use Action to navigator in the callback and cannot realize the effect I want (as there was already a page in stack).