react-native-document-scanner
closed
Cooper Brown
There is no document scanner component that can be used with Expo, so that would be great!!
Kim Brandwijk
closed
This functionality can be included in your project through any available community library using Development Builds (https://docs.expo.dev/development/getting-started/) and EAS Build (https://docs.expo.dev/build/introduction/). We have no plans to add this to the Expo core SDKs.
Kim Brandwijk
closed
This functionality can be included in your project through any available community library using Development Builds (https://docs.expo.dev/development/getting-started/) and EAS Build (https://docs.expo.dev/build/introduction/). We have no plans to add this to the Expo core SDKs.
Wodin
In theory this should work with EAS Build, but it looks like you'll need a config plugin for Android.
G
Graham Evans
Wodin: what is EAS? If there’s a guide or more information I’d be keen to understand
Expo Application Service - got it. For the android config plugin, any pointers to references on this?
Wodin
Graham Evans: Here's the documentation on Config Plugins.
I'm slowly getting more of an idea of how they work, but I am still pretty much in the dark about exactly how to implement one.
It looks like some combination of
withSettingsGradle
and withAndroidManifest
should work if you can figure out how to do it.Wodin
Graham Evans: See the
app.plugin.js
and related files under the packages
directories in the expo/expo-cli
, expo/expo
and expo/config-plugins
repositories for examples.G
Graham Evans
This would be a huge module, we are looking at document scanning right now and we don't quite have the dev team bandwidth to manage the project after an eject
Ludovic Lamerre
👍
Santiago Montoya S.
I would love to see any scanner in expo : (
Jake Humphrey
I'm the author of the react-native-rectangle-scanner package which is a cross platform document scanner (more up-to-date than the one in question here), I'd love to work with someone to figure out how to get this to work with expo as my company has at least 1 app in production that runs on expo. Is this something that the community would be interested in? If so, open an issue on my repo here https://github.com/HarvestProfit/react-native-rectangle-scanner so we can start the discussion.
F
Facundo Rossi
Jake Humphrey: I would love to see this one in Expo, seems the best open source solution out there.
Ben Shyong
Facundo Rossi: Per Expo's docs they do not support any module that is "not supported by React Native Core or the Expo SDK". So the only option is to eject. https://docs.expo.io/expokit/eject/
Max Heinritz
It also looks like that library only supports iOS. There are a few cross-platform solutions, but they might require payment:
S
Sarah Karbach
Max Heinritz: You can also add to that list: https://sdk.docutain.com
mateen hussain
What is a workaround till then ? Dont want to detach from Expo and go down the linking route