Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With the expo it's not working #53

Closed
Relison opened this issue Jan 26, 2023 · 5 comments
Closed

With the expo it's not working #53

Relison opened this issue Jan 26, 2023 · 5 comments

Comments

@Relison
Copy link

Relison commented Jan 26, 2023

Erro: The package 'react-native-document-scanner-plugin' doesnt seem to be linked. Make sure:

  • You rebuilt the app after installing the package
  • you are not using Expo managed workflow

Obrigado!

@dmarcs
Copy link
Contributor

dmarcs commented Jan 27, 2023

See #51

I just tested the plugin using Expo, and it works for me.

npx create-expo-app my-app
npx expo install react-native-document-scanner-plugin
npx expo prebuild
npm run android

Did you create the project using npx create-expo-app my-app?

@Relison
Copy link
Author

Relison commented Jan 30, 2023

Thanks for the feedback!

Yes using "npx create-expo-app my-app"

package.json
"dependencies": {
"expo": "~47.0.12",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-native": "0.70.5",
"react-native-document-scanner-plugin": "^0.7.1",
"react-native-web": "~0.18.9",
"sharp-cli": "^2.1.0"
},

@dmarcs
Copy link
Contributor

dmarcs commented Jan 31, 2023

why is expo-status-bar missing from your package.json?

@Relison
Copy link
Author

Relison commented Feb 1, 2023

The problem is the execution of the Emulator, I sent it to the Google store and it worked perfectly.

I was emulating inside the android expo

Thanks! For the return!

@nazirahmad7340
Copy link

@dmarcs
The react-native-document-scanner-plugin is not working with ios please check once. For Android it's ok.
I tested with different states but always showed the below error.

Erro: The package 'react-native-document-scanner-plugin' doesnt seem to be linked. Make sure:
You rebuilt the app after installing the package
you are not using Expo managed workflow
......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants