I cannot seem to get react-native-camera working in Expo. Here is a screenshot of the error I am receiving:
The error originates on line 62 of react-native-camera index.js
which is calling NativeModules.CameraManager
. Does this have something to do with expo not having access to some native APIs?
Steps already taken:
- react-native link react-native-camera
- watchman watch-del-all
- rm -rf node_modules && npm install
- rm -fr $TMPDIR/react-*
- npm start -- --reset-cache
Restarting the build
I also created a regular react native app via react-native init
and was able to properly set up react-native-camera without any issues.