Skip to content
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

Closed
eldadj opened this issue Apr 4, 2017 · 8 comments
Assignees

Comments

@eldadj
Copy link

eldadj commented Apr 4, 2017

Keep getting the above error when I try to capture an image.

Specs:

"react-native": "0.42.3",
"react-native-camera-kit": "^5.2.12"

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);

@gran33 gran33 self-assigned this Apr 6, 2017
@gran33
Copy link
Contributor

gran33 commented Apr 6, 2017

Can u plz add the camera render part? And the red screen u get?

@Kishanjvaghela
Copy link

screenshot from 2017-08-31 19-58-01

@athmangude
Copy link

I'm stuck here too. Anyone made any progress?

@gitlovenotwar
Copy link

I had the same issue. Any fix for this?

@Borisboky
Copy link

+1

2 similar comments
@SamakaCD
Copy link

+1

@vivekkhurana
Copy link

+1

@vivekkhurana
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants