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

iOS Camera doesn't show up #50

Closed
micksabox opened this issue Jul 21, 2017 · 6 comments
Closed

iOS Camera doesn't show up #50

micksabox opened this issue Jul 21, 2017 · 6 comments
Labels

Comments

@micksabox
Copy link

I'm using this module via react-native-checkout

When I first installed the app, I had no problems using the camera to scan a card. However, at some point, whenever a user tries to scan a card, the camera view does not appear. I am not sure if this is a regression introduced in a new version of iOS.

The link above includes the coded implementation of this module. It is fairly straightforward. I have added a privacy usage description for the camera, but after the user accepts the prompt, no camera is shown.

@micksabox
Copy link
Author

This is the log that displays:

2017-07-21 14:25:58.523977-0400 ***[1042:291649] [Common] _BSMachError: port cc6b; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2017-07-21 14:25:58.524539-0400 ***[1042:291649] [Common] _BSMachError: port cc6b; (os/kern) invalid name (0xf) "Unable to deallocate send right"

@Kerumen Kerumen added the bug label Aug 5, 2017
@anishtr4
Copy link

Even I am facing same issue, did you got any solution ?

@Kerumen
Copy link
Owner

Kerumen commented Aug 29, 2017

Which RN version are you using?

@micksabox
Copy link
Author

I was using 42.x when it did not work. I have not yet tried the latest RN version to see if it works there.

@celso-henrique
Copy link

Did you tried to add permission to camera on info.plist file?

  <key>NSCameraUsageDescription</key>
  <string>${PRODUCT_NAME} Camera Usage</string>

@Kerumen
Copy link
Owner

Kerumen commented Sep 23, 2017

Closing since the OP remains silent for one month.
Let me know if you still have problems and I can reopen :)

@Kerumen Kerumen closed this as completed Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants