'Document scanner in a React Native project

What would be the best way to implement a document scanner in a React Native app? What I expect from that is something similar to the native document scanner that can be accessed using the VisionKit framework in Swift projects.

My questions are:

  • Is there a good way to display a native view in React Native, such as the document scanning view controller? What's the best way to achieve that?
  • Would you prefer integrating a native view or using a react native framework? If you'd prefer the react native framework, any recommendation as to which one to use?
  • How would you add the scanner capability on Android if displaying a native view on iOS?


Solution 1:[1]

Looks like this one is working the best :

https://www.npmjs.com/package/@woonivers/react-native-document-scanner https://github.com/Woonivers/react-native-document-scanner

It's a fork of Michael Villeneuve version, updated for RN >= 0.6 https://github.com/Michaelvilleneuve/react-native-document-scanner

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 GreuM