react-native-document-scanner-plugin icon indicating copy to clipboard operation
react-native-document-scanner-plugin copied to clipboard

ERROR [Error: Document scanning is not supported on this device] on IOS

Open alexbennycodes opened this issue 1 year ago • 2 comments

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

alexbennycodes avatar Jun 21 '24 10:06 alexbennycodes

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).

humphreyja avatar Aug 19 '24 22:08 humphreyja

i am facing same issue , if anybody know this issue please let me know that

parthshiroya6 avatar Apr 23 '25 09:04 parthshiroya6