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

ionic 4 app.module.ts import MobileOCR not working Solution found #16

Closed
badalpatel6534 opened this issue Aug 23, 2019 · 1 comment
Closed
Assignees

Comments

@badalpatel6534
Copy link

Hello Community,

Issue:

Recently I used mobile ocr plugin in ionic 4
There is mistake in documentation:
import { MobileOCR } from '@ionic-native/ocr/ngx';
This MobileOCR should not be imported

Solution:

change
From: import { MobileOCR } from '@ionic-native/ocr/ngx';
To: import { OCR } from '@ionic-native/ocr/ngx';
This will work perfectly

hope so documentation will update and dev will use from MobileOCR to OCR

image

@badalpatel6534 badalpatel6534 changed the title ionic 4 app.module.ts import MobileOCR not working ionic 4 app.module.ts import MobileOCR not working Solution found Aug 23, 2019
@ChrisTomAlx ChrisTomAlx self-assigned this Aug 23, 2019
@ChrisTomAlx ChrisTomAlx pinned this issue Sep 4, 2019
@ChrisTomAlx
Copy link
Collaborator

Hey @badalpatel6534
Thanks a lot for bringing this to the community's attention. I will pin this issue to the top and close it.

Cheers and have a nice day :)
Chris
Neutrinos

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

2 participants