-
Notifications
You must be signed in to change notification settings - Fork 77
It does not support QR Scanning in Android #4
Comments
+1 |
undefined is not an object(evaluating 'CameraManger.Aspect') |
is this issue still open? |
first, you should read the 'react-native-camera' README.md |
// this is Usage import React, { }from 'react'; import QRCodeScreen from './QRCodeScreen'; //var QRCodeScreen = require('./QECodeScreen'); class YourComponent extends React.Component { class Index extends React.Component{ render() { _onPressQRCode = () => { _onSucess = (result) => { }; const styles = StyleSheet.create({ AppRegistry.registerComponent('YourComponent', () => YourComponent); |
//this is QRCodeScreen.js 'use strict'; import React, { import { //var React = require('react-native'); import Camera from 'react-native-camera'; export default class QRCodeScreen extends Component { static propTypes= { static getDefaultProps= {
} _onPressCancel() { _onBarCodeRead = (result) => {
} render(){
} class CancelButton extends React.Component camera: { rectangleContainer: { rectangle: { cancelButton: { |
Is there any solution ?
The text was updated successfully, but these errors were encountered: