add v1/legacy instructions
This commit is contained in:
parent
80d9ed6f25
commit
1ac4f82d20
|
@ -1,6 +1,8 @@
|
||||||
# react-native-camera [![npm version](https://badge.fury.io/js/react-native-camera.svg)](http://badge.fury.io/js/react-native-camera) [![Gitter](https://badges.gitter.im/lwansbrough/react-native-camera.svg)](https://gitter.im/lwansbrough/react-native-camera)
|
# react-native-camera [![npm version](https://badge.fury.io/js/react-native-camera.svg)](http://badge.fury.io/js/react-native-camera) [![Gitter](https://badges.gitter.im/lwansbrough/react-native-camera.svg)](https://gitter.im/lwansbrough/react-native-camera)
|
||||||
|
|
||||||
A camera module for React Native.
|
A camera module for React Native.
|
||||||
|
|
||||||
|
**NOTE** These docs are for the work in progress v1 release. If you want to use the latest and greatest and can deal with *significant* instability you can install with `npm install --save lwansbrough/react-native-camera`. If you are using older version of this module please refer to the [old readme](https://github.com/lwansbrough/react-native-camera/tree/8cc61edef2c018b81e1c52f13c7d261fe6a35a63).
|
||||||
|
|
||||||
![](https://i.imgur.com/5j2JdUk.gif)
|
![](https://i.imgur.com/5j2JdUk.gif)
|
||||||
|
|
||||||
|
@ -78,7 +80,7 @@ class BadInstagramCloneApp extends Component {
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
takePicture() {
|
takePicture() {
|
||||||
this.camera.capture()
|
this.camera.capture()
|
||||||
.then((data) => console.log(data))
|
.then((data) => console.log(data))
|
||||||
|
|
Loading…
Reference in New Issue