react-native-document-scanner-plugin
react-native-document-scanner-plugin copied to clipboard
ERROR [Error: Document scanning is not supported on this device] on IOS
i was trying to run this in IOS but when i try to run this it gives an error
const { scannedImages, status } = await DocumentScanner.scanDocument({
croppedImageQuality: 50,
});
ERROR [Error: Document scanning is not supported on this device]
I have added the line <key>NSCameraUsageDescription</key> in info.plist also
IOS: 17.0
Are you on a Simulator? iOS simulators do not support cameras. You'll need to try it out on a physical device or an android simulator (through android studio you can map it to your webcam).
i am facing same issue , if anybody know this issue please let me know that