We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/expo/fyi/blob/main/barcode-scanner-to-expo-camera.md
see expo/expo#26315 (comment) for error,
And you should use const { status } = await Camera.requestCameraPermissionsAsync();, there is no Camera.requestPermissionsAsync(); in the article.
const { status } = await Camera.requestCameraPermissionsAsync();
Camera.requestPermissionsAsync();
The text was updated successfully, but these errors were encountered:
I have same issue
Sorry, something went wrong.
what is the solution?
the solution is to use this import , and adapt your code : import { CameraView, Camera } from 'expo-camera';
No branches or pull requests
https://github.com/expo/fyi/blob/main/barcode-scanner-to-expo-camera.md
see expo/expo#26315 (comment) for error,
And you should use
const { status } = await Camera.requestCameraPermissionsAsync();
, there is noCamera.requestPermissionsAsync();
in the article.The text was updated successfully, but these errors were encountered: