-
Notifications
You must be signed in to change notification settings - Fork 7
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
Native module cannot be null #9
Comments
Since version 0.1 you need to wrap the main navigator in a This is because since
If you're using an older version of Other than that, I've not seen your error before, but I've found sometimes that after recompiling is also a good thing to clear the metro cache, restart |
@elyalvarado thank you for the prompt response. Anyways I'm already wrapping the main navigator using the createAppContainer function. In fact all the navigation hierarchy works flawlessly with react-navigation 3. All the file caches have been deleted as well. I'll investigate tomorrow and report back. |
@lorenzozanotto Were you able to solve it? I am having the same issue. |
I have not, so I decided to switch to a custom solution. Anyway, since this library depends on react-native-reanimated I would try to install it via manual linking the iOS and Android projects and without using the @elyalvarado please note that no information on react-native-reanimated dependency is stated in the readme, hence no instruction on how to configure it properly. |
This fork fixes the issue. |
After having followed the installation guide, linked the
react-native-reanimated
dependency and rebuilt the project, I get an error message saying "Native module cannot be null".I'm creating a switch navigator with the react-navigation-switch-transitioner's
createSwitchNavigator
as follows. Is there a way to make this work?The text was updated successfully, but these errors were encountered: