requireNativeComponent: "RNCamera" was not found in the UIManager. code example
Example: requireNativeComponent: "RNCSafeAreaProvider" was not found in the UIManager.
npm install react-native-safe-area-context
npx pod-install ios
//add SafeAreaProvider to the app
import { SafeAreaProvider } from 'react-native-safe-area-context';
function App() {
return <SafeAreaProvider>...</SafeAreaProvider>;
}