React Native - Use camera

Asked

Viewed 451 times

0

I would like a help I started a project in which I now need to use the Camera of the mobile. I created the project with the create-react-native-app, however I can’t find a component or solution using purely JS to use the camera of the mobile phone in the application I’m creating.

Someone could help me?

I’ve tried using the component react-native-camera, but for what I’ve been researching and testing it needs native code.

There would be some other solution for creating the project besides having to create it with the React Native CLI?


EDIT:

Erro React Native Camera

I did not touch any Android configuration, because the project only has JS. Since I used CRNA to create the project.

  • There is documentation on github explaining how to use React-Native-camera follow the link: https://github.com/react-native-community/react-native-camera

  • I’ve used it the way it is there and it’s still not working. And the error it gives I’ve already researched and it’s related to the react-native link.

  • Right, but what’s the mistake you’re making ?

  • post the error in your question and use the react-native-camera observing well the documentation, you released the settings in the Android?

  • I edited the publication to see the error cited.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.