The react native expo camera example gives errors like _Camera is not defined https://docs.expo.io/versions/latest/sdk/camera.html but I see others have gotten it to work here
Does anyone have some basic code on how to make use of the camera module? Or debug why the documentation example isn't working?
I got same issue, after a lot of research Expo Camera is added from v20.I was using v19.0. I am new to Expo and did not realize it was added in v20 here. Problem is solved after upgrading react-native expo version to v20. .basic code for camera in expo is here
edit in package.json
edit in app.json
Delete your project’s node_modules directory and run
npm install
Reopen your project in XDE and press “Restart” to clear the packager cache