-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
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
expected Map, got a boolean (constructing arguments for RCTCameraModule.capture at argument index 0) #31
Comments
Can u plz add the camera render part? And the red screen u get? |
I'm stuck here too. Anyone made any progress? |
I had the same issue. Any fix for this? |
+1 |
2 similar comments
+1 |
+1 |
A possible scenario when this issue arises is if you have react-native-camera and react-native-camera-kit both installed and imported. Even if they are imported in separate file, this issue is noticed. Most probably it is because both modules have same class CameraModule and oth export RCTCameraMoule. |
Keep getting the above error when I try to capture an image.
Specs:
Both auto and manual install give the error. The camera shows and its ok, just that executing the function below fails:
const image = await this.theCamera.capture(true);
The text was updated successfully, but these errors were encountered: