Mirror image for Android (#399)

* Add mirrorImage support for Android

* Release resources after mirroring

* Mirror image only for TYPE_FRONT

* Remove unnecessary annotation

* Document mirrorImage for Android

* Improved compression and error handling

* Add support for mirroring on Android back camera too
This commit is contained in:
Gonzalo Aguirre
2016-09-13 09:48:48 -07:00
committed by Zack Story
parent 2bbdf8ce91
commit b01c64e773
5 changed files with 83 additions and 7 deletions
+1
View File
@@ -189,6 +189,7 @@ export default class Example extends React.Component {
type={this.state.camera.type}
flashMode={this.state.camera.flashMode}
defaultTouchToFocus
mirrorImage={false}
/>
<View style={[styles.overlay, styles.topOverlay]}>
<TouchableOpacity