What's happening?
For Android its working properly during IOS scan getting the error as ERROR TypeError: null is not an object (evaluating 'NativeModule.requestPermission' but i have installed by following the steps.
Please help me fix the issue or suggest the changes required.
How can it be reproduced?
If we try to use the qr code scanner code in render its getting the above error but with the same code its working in Android
<QRCodeScanner
onRead={this.barcodeReceived.bind(this)}
style={{flex: 1}}
cameraStyle={{height: Dimensions.get('window').height}}
showMarker={false}
fadeIn={false}
reactivate={true}
cameraType={"back"}
/>
Build details
"react": "17.0.2",
"react-native": "0.66.4",
"react-native-permissions": "^3.6.1",
"react-native-qrcode-scanner": "^1.2.1",

