-
Notifications
You must be signed in to change notification settings - Fork 140
props.navigation.navigate stops working after clicking Firebase Dynamic Link #305
Comments
Sorry I don't have an answer but I'm experiencing a strange issue also quite similar where the nav stops working after a fast refresh has occurred. I'm curious if they are the same issue. Are you able to navigate after a couple of fast refresh auto updates? |
I'm able to navigate after a reload so as a workaround for now I implemented this module https://www.npmjs.com/package/react-native-restart to force a reload |
Hi @thezenvan have you been able to solve this problem? Let me know if you're still stuck with it 😄 |
@mlaco I'm also facing similar issue. In my case, everything was working fine while using the default This issue exists only when trying to use the navigation prop injected by the react-navigation. Instead of using Possible cause of issue: |
@aneem, the state seems to be correct while using |
What's going on?
In welcome screen run Firebase Authentication sendSignInLinkToEmail method which sends an email with a link. Go to email and click the link, it opens the app back to the welcome screen but when clicking a button that should navigate to another screen the button is receiving the tap (can see logged message in console) but navigate function doesn't do anything.
When the email link re-opens the app, clicking on the button should navigate to requested screen.
Steps to reproduce
Create ignite project using Bowser biolerplate, setup the navigation stack and use this code (or something similar):
ignite doctor
results:The text was updated successfully, but these errors were encountered: