I'm using React-Native 0.22.2 and Android SDK with API level 19 (KitKat).
Camera shows up, read barcodes with success, but image is displayed 90° clockwise.
viewFinder and viewFinderDrawLaser shows up on the right position (not rotated).
I have the permissions on my AndroidManifest.xml:
<uses-permission android:name="android.permission.CAMERA" />
App only works in portrait mode, so phone is locked in portrait and orientetion never changes.
This is what my component renders:
` render() {
let camera = ;
let childrenContainerStyle = {
flex: 1
};
I'm using React-Native 0.22.2 and Android SDK with API level 19 (KitKat). Camera shows up, read barcodes with success, but image is displayed 90° clockwise. viewFinder and viewFinderDrawLaser shows up on the right position (not rotated). I have the permissions on my AndroidManifest.xml: ;
let childrenContainerStyle = {
flex: 1
};
<uses-permission android:name="android.permission.CAMERA" />
App only works in portrait mode, so phone is locked in portrait and orientetion never changes. This is what my component renders: ` render() { let camera =} }
var styles = StyleSheet.create({ barcodeScanner: { flex: 1 }`
tl;dr -> it's all working good, but camera image is flipped 90° clockwise. 😢