Setup with Expo
masterThis plugin does not run in Expo Go. To use it with Expo, you must use a development build. Follow these steps:
Install the plugin:
npx expo install react-native-document-scanner-pluginAdd the plugin to your
app.jsonorapp.config.jsonto configure permissions:
{
"name": "my expo app",
"plugins": [
[
"react-native-document-scanner-plugin",
{
"cameraPermission": "We need camera access, so you can scan documents"
}
]
]
}- Rebuild your project using
npx expo prebuildoreas build.
npx expo install react-native-document-scanner-plugin