Merge pull request #1096 from react-native-community/improvement/master-branch-info

Update README with "How to use master branch"
This commit is contained in:
João Marins 2018-01-12 14:48:22 -02:00 committed by GitHub
commit ff90df3e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,10 +5,15 @@ The comprehensive camera module for React Native. Including photographs, videos,
### Experimental ### Experimental
RNCamera and FaceDetector module for Android based on Expo camera module (https://docs.expo.io/versions/latest/sdk/camera.html) RNCamera and FaceDetector module for Android based on Expo camera module (https://docs.expo.io/versions/latest/sdk/camera.html)
You can test and use this from master like this: You can test and use this from `master` like this:
`import { RNCamera, FaceDetector } from 'react-native-camera';` `import { RNCamera, FaceDetector } from 'react-native-camera';`
#### How to use master branch?
Inside your package.json, use this
`"react-native-camera": "git+https://git@github.com/react-native-community/react-native-camera"`
instead of `"react-native-camera": "^0.12.0"`.
### Contributing ### 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 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 and even more welcome! we need help testing, reviewing, and updating open PRs - Pull Request Reviews and even more welcome! we need help testing, reviewing, and updating open PRs