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
Invariant Violation: requireNativeComponent: "RNSModalScreen" was not found in the UIManager. #11926
Comments
Hey @ayushthumar! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro. The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue. You can provide a repro using any of the following:
A snack link is preferred since it's the easiest way to both create and share a repro. If it's not possible to create a repro using a snack, link to a GitHub repo under your username is a good alternative. Don't link to a branch or specific file etc. as it won't be detected. Try to keep the repro as small as possible by narrowing down the minimal amount of code needed to reproduce the issue. Don't link to your entire project or a project containing code unrelated to the issue. See "How to create a Minimal, Reproducible Example" for more information. You can edit your original issue to include a link to the repro, or leave it as a comment. The issue will be closed automatically after a while if you don't provide a repro. |
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
hello @ayushthumar can you share how you resolve this issue please ? |
Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro. |
Hello @Dhruv-88, I just deleted the build file in ios folder and then rebuild it, and also I stopped the server at port 8081 and restarted it ! Let me know if it works for you or not ! |
I am using Expo, and I am receiving the same error with the same code you provided. Any insight on how to correct this? I saw you mentioned deleting the build file in the ios folder, where exactly is this? Any other tips? |
I did not found any other valid and sensible solution for this issue, I am assuming that this issue came with the new version. @brentvatne @skevy @satya164 can you please help us on this. |
I think you may have accidentally tagged me on this issue, I'm not able to assist with this. |
Just want to report I'm experiencing this too on Expo. I was able to resolve it by downgrading
|
Thanks! aminesebastian it's work! |
same error facing . Tried all methods but now working |
Same error as OP here. Another similarity is that it's the Tabs component
|
I'm encountering the same issue as described in this thread. However, I'm using While the application runs smoothly on the Android emulator, it throws the following error and gets stuck at the splash screen when launched on my iPhone 7:
EDIT: I solved it by this command: |
This works |
yeah theres definetly something wrong with the last 3.30 version |
Is there a workaround without downgrading from 3.30 to 3.29 ? |
Till now I have not found any other way to get the work done with 3.30 ! |
Current behavior
Below is my code and I am not using expo, I am using the react-native cli:
This is the error I am getting
Invariant Violation: requireNativeComponent: "RNSModalScreen" was not found in the UIManager.
This error is located at:
in RNSModalScreen
in Unknown (created by InnerScreen)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by InnerScreen)
in InnerScreen (created by Screen)
in Screen (created by MaybeScreen)
in MaybeScreen (created by BottomTabView)
in RNSScreenNavigationContainer (created by ScreenContainer)
in ScreenContainer (created by MaybeScreenContainer)
in MaybeScreenContainer (created by BottomTabView)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaProviderCompat)
in SafeAreaProviderCompat (created by BottomTabView)
in BottomTabView (created by BottomTabNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by BottomTabNavigator)
in BottomTabNavigator (created by App)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by App)
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in appUI(RootComponent), js engine: hermes
Screenshot
Expected behavior
What I want is
Reproduction
https://reactnavigation.org/docs/tab-based-navigation
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: