-
-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navigation.goBack
crashes the app on Android
#1300
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem? |
Hey! 👋 It looks like you've omitted a few important sections from the issue template. Please complete Reproduction section. |
Did you have any luck resolving this issue or at least finding the source of error? |
Hi @Miraj98, From the provided steps I was unable to reproduce the crash. Could you provide a minimal reproduction eg. a snack, snippet of code, or GitHub repo that reproduces the problem? Cheers |
Hey @Miraj98! were you able to resolve the issue, I am facing the same issue and unable to get the solution. Kindly help me. |
@Chandranshu5 The issue was actually with a masking library that I was using at the time. The masking library worked on iOS but not on Android. |
@Miraj98 IMG_0687.mp4Have you found a solution? Please reply to me with help thanks .
|
Description
When calling
navigation.goBack
on Android, the app crashes. Works perfectly fine on iOS. The issue does not occur for all screens but specifically when navigating back to theTab.Navigator
. My navigation is setup as followsSome where I saw that I should try
detachInactiveScreens={false}
. I tried this and it still does not work. Here is an error log as well -Screenshots
Steps To Reproduce
Expected behavior
App should not crash
Actual behavior
App crashes
Reproduction
Platform
Workflow
Package versions
The text was updated successfully, but these errors were encountered: