[BREAKGLASS] Append-only mirror of github.com/bluewallet/react-native-camera
Go to file
2019-06-01 16:30:22 +02:00
.github Adding a stale.yml handling issues older than 60 days and closing this issues after 7 days. 2019-05-29 21:51:50 -03:00
android feat(android): write Exif tags to modified image file (#2263) 2019-05-15 09:10:03 -03:00
docs minor updates 2019-06-01 16:30:22 +02:00
examples Update AndroidManifest.xml (#2283) 2019-05-26 16:51:17 -03:00
ios added node_modules (#2282) 2019-05-26 16:41:03 -03:00
src feat(android): write Exif tags to modified image file (#2263) 2019-05-15 09:10:03 -03:00
types feat(android): write Exif tags to modified image file (#2263) 2019-05-15 09:10:03 -03:00
website remove blog from docker 2019-06-01 13:49:50 +02:00
windows fix(windows): update min sdk version (#2117) 2019-02-19 16:22:03 +01:00
.dockerignore Add EXPO_USAGE and MIgrating page 2019-06-01 11:09:16 +02: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(mlkit): Migrate Face, Barcode and Text Recognition to Firebase MLKit (iOS - text, Android - all) (#2075) 2019-03-11 08:56:24 -03:00
.npmignore fix: exclude android build artifacts (#2001) [skip ci] 2018-12-17 09:56:27 +01: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
circle.yml Upgrade to React Native 0.59.1 (#2162) 2019-03-28 18:08:43 -03: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 remove blog from docker 2019-06-01 13:49:50 +02:00
Dockerfile Add EXPO_USAGE and MIgrating page 2019-06-01 11:09:16 +02:00
LICENSE Initial commit 2015-03-31 17:54:41 -07:00
package.json chore(release): 2.9.0 [skip ci] 2019-05-15 12:14:22 +00:00
react-native-camera.podspec feat(mlkit): add mlkit barcode detection ios (#2209) 2019-04-16 15:33:46 -03:00
README.md add sponsors section to index 2019-06-01 12:57:55 +02: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(mlkit): Migrate Face, Barcode and Text Recognition to Firebase MLKit (iOS - text, Android - all) (#2075) 2019-03-11 08:56:24 -03:00

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

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

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)

Tidelift

Get supported react-native-camera with the Tidelift Subscription

tidelift

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

Take a look into this documentation.