Source:  Twitter logo

I've been playing around with React Native and I'm confused about what I do to access the camera.

What is the standard way to access the camera on a phone with React Native under iOS?

lwansbrough on github has packaged a camera bridge for react native.

https://github.com/lwansbrough/react-native-camera

However, as stated in document,

This module is currently in the very early stages of development

17 users liked answer #0dislike answer #017
qsun profile pic
qsun

Right now, React Native doesn't have a way to access the camera. If you feel like wanting to help, React Native has a plugin system that lets you implement Camera support (or any API that isn't provided by default).

https://github.com/facebook/react-native#extensibility http://facebook.github.io/react-native/docs/nativemodulesios.html#content

9 users liked answer #1dislike answer #19
Vjeux profile pic
Vjeux

Copyright © 2022 QueryThreads

All content on Query Threads is licensed under the Creative Commons Attribution-ShareAlike 3.0 license (CC BY-SA 3.0).