[BREAKGLASS] Append-only mirror of github.com/bluewallet/react-native-camera
Go to file
Marcos Rodriguez Vélez 3e04f6156d
Update RNCamera.m
2020-11-15 00:01:11 -05:00
.circleci ci: changing circle to use rn-orb 2020-05-10 23:17:29 -03:00
.github feat(funding): add FUNDING.yml [skip ci] 2019-06-13 15:13:56 -03:00
android fix(android): Fix camera parameters getting lost on setting focus. (#2946) 2020-08-21 08:18:55 -03:00
docs feat(windows): updates for RNW 0.63 (#2960) 2020-09-01 22:24:04 -03:00
examples chore(deps): bump logkitty in /examples/advanced/advanced (#2976) 2020-09-18 07:55:25 -03:00
ios Update RNCamera.m 2020-11-15 00:01:11 -05:00
src feat(android): Added pause and resume recording (#2911) 2020-07-21 18:32:33 -03:00
types feat(android): onBarCodeRead should also send raw photo bytes, fixed #2786 (#2923) 2020-07-23 14:04:18 -03:00
website chore(deps): bump decompress from 4.2.0 to 4.2.1 in /website (#2962) 2020-09-08 09:49:23 -03:00
windows feat(windows): updates for RNW 0.63 (#2960) 2020-09-01 22:24:04 -03:00
.dockerignore feat(docs): Add docusaurus (#2293) 2019-06-02 16:20:35 -03:00
.eslintIgnore feat(test): add on-device tests (#2792) 2020-04-14 20:02:17 -03:00
.eslintrc docs(rn-camera): add rncamera-example without face detection (#1979) [skip ci] 2018-12-11 12:37:48 +01:00
.flowconfig chore(lint): fix lint to make ci work 2018-04-15 08:19:02 -03:00
.gitattributes disable git large files 2018-02-01 11:26:07 -02:00
.gitignore feat(upgrade): upgrade deps (#2967) 2020-09-08 14:28:20 -03:00
.npmignore feat(npm): ignore docs and publish 3.11.0 2019-11-19 23:39:46 -03:00
.prettierrc docs(rn-camera): add rncamera-example without face detection (#1979) [skip ci] 2018-12-11 12:37:48 +01:00
CHANGELOG.md chore(changelog): add link to github releases [skip ci] 2018-11-12 11:26:48 +01:00
commitlint.config.js chore(semantic-release): setup semantic-release for automated publishes (#1898) 2018-11-12 08:46:47 +01:00
docker-compose.yml feat(docs): Add docusaurus (#2293) 2019-06-02 16:20:35 -03:00
Dockerfile feat(docs): Add docusaurus (#2293) 2019-06-02 16:20:35 -03:00
LICENSE Initial commit 2015-03-31 17:54:41 -07:00
package.json chore(release): 3.40.0 [skip ci] 2020-09-18 14:43:23 +00:00
react-native-camera.podspec fix: Xcode 12 compatibility (#2975) 2020-09-17 12:07:03 -03:00
README.md Fixed documentation URL 2020-10-19 21:18:59 -05:00
THIRD-PARTY-LICENSES rename expo to simple RN, add js files, and export them inside the same camera package 2018-01-01 19:16:02 -02:00
yarn.lock feat(upgrade): upgrade deps (#2967) 2020-09-08 14:28:20 -03:00

React Native Camera Backers on Open Collective Sponsors on Open Collective npm version npm downloads

Looking for Maintainers

We are looking for maintainers for this package, or to deprecated this in favor of expo-camera, it nobody want to maintain this

Docs

Follow our docs here https://react-native-camera.github.io/react-native-camera/

Sponsors

If you use this library on your commercial/personal projects, you can help us by funding the work on specific issues that you choose by using IssueHunt.io!

This gives you the power to prioritize our work and support the project contributors. Moreover it'll guarantee the project will be updated and maintained in the long run.

issuehunt-image

react-native-camera for enterprise

Available as part of the Tidelift Subscription

The maintainers of react-native-camera and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Open Collective

You can also fund this project using open collective

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

The comprehensive camera module for React Native.

Supports:

  • photographs.
  • videos
  • face detection (Android & iOS only)
  • barcode scanning
  • text recognition (optional installation for iOS using CocoaPods)

Example import

import { RNCamera, FaceDetector } from 'react-native-camera';

How to use master branch?

We recommend using the releases from npm, however if you need some features that are not published on npm yet you can install react-native-camera from git.

yarn: yarn add react-native-camera@git+https://git@github.com/react-native-community/react-native-camera.git

npm: npm install --save react-native-camera@git+https://git@github.com/react-native-community/react-native-camera.git

Contributing

  • Pull Requests are welcome, if you open a pull request we will do our best to get to it in a timely manner
  • Pull Request Reviews are even more welcome! we need help testing, reviewing, and updating open PRs
  • If you are interested in contributing more actively, please contact me (same username on Twitter, Facebook, etc.) Thanks!
  • We are now on Open Collective! Contributions are appreciated and will be used to fund core contributors. more details
  • If you want to help us coding, join Expo slack https://slack.expo.io/, so we can chat over there. (#react-native-camera)
Permissions

To use the camera,

  1. On Android you must ask for camera permission:
  <uses-permission android:name="android.permission.CAMERA" />

To enable video recording feature you have to add the following code to the AndroidManifest.xml:

  <uses-permission android:name="android.permission.RECORD_AUDIO"/>
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

5j2jduk

  1. On iOS, you must update Info.plist with a usage description for camera
...
<key>NSCameraUsageDescription</key>
<string>Your own description of the purpose</string>
...
	

For more information on installation, please refer to installation requirements.

For general introduction, please take a look into this RNCamera.

Security contact information

To report a security vulnerability, please use the

Tidelift security contact.

Tidelift will coordinate the fix and disclosure.