I am working on a gitlab project with my friend, windows 10, I have pulled from master and there were few conflicts that I had to solve and I did npm install
however when I run my android project by using npx react-native start
and then from android studio I run by going to tools->AVN manager->start, my app starts loading, after a while of loading it give me this error:
Invariant Violation: requireNativeComponent: "RNCWebView" was not found in the UIManager.
here is a photo:
I have already run react-native link react-native-webview
, it didnt do anything. In my package.json
I have this:
"react-native-webview": "^10.8.3",
here is the code:
<SafeAreaView style={{flex: 1}}>
<View style={{flex: 1}}>
<WebView
ref={(ref) => setMap_ref(ref)}
source={{html: openstreet_html}}
/>
<LocationView address={address} navigation={navigation} />
</View>
</SafeAreaView>
I have already done everything in this thread as well. I get the same error. Before I pull from master this problem didnt exist. is there anything I have to do?