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

I want to use custom camera

Open ibenettaleb opened this issue 3 years ago • 9 comments

Hello ;-)

Thank you very much for your fantastic plugin.

I'm simply wondering whether I may utilize the custom camera that I made.

  • Take a look at the following screenshot:
  • Give me this screen after that:

Thanks for considering my request.

ibenettaleb avatar Aug 30 '22 12:08 ibenettaleb

That would probably not be too difficult for Android. The problem is that iOS uses the native document scanner, so I can't customize that. It would only be possible if I use Vision instead.

dmarcs avatar Aug 31 '22 03:08 dmarcs

I appreciate your reply. How can I include it in Android? Or will you include that in the future?

ibenettaleb avatar Aug 31 '22 11:08 ibenettaleb

I'll consider it if time allows. Right now you can't do this with Android.

dmarcs avatar Aug 31 '22 13:08 dmarcs

OK, Thank You

ibenettaleb avatar Aug 31 '22 16:08 ibenettaleb

Is the answer same for using the cropping/image editing screen for without camera usage? e.g. using share functionality to import an image from third party apps and passing image path to the cropper.

comertcimen avatar Nov 09 '22 11:11 comertcimen

Yeah it's basically the same. In order to make that work I would need to skip the camera capture on Android, and send the cropper an image. On iOS it's possible, but tricky because right now this plugin uses VisionKit.

dmarcs avatar Nov 14 '22 03:11 dmarcs

Yes this will be a great addition to this lib

deepakv-z14 avatar Jun 16 '23 06:06 deepakv-z14

+1 this would be a great addition or if you can expose the cropping functionality on Adnroid would be great!

harbolaez avatar Jan 17 '24 23:01 harbolaez

+1 Team, I'm also looking for something similar, just to show the rectangular mask on camera without any functionality.

paramrana78 avatar Mar 13 '24 05:03 paramrana78