Comment on page
$ ionic cordova plugin add cordova-plugin-mobile-ocr
$ npm install @awesome-cordova-plugins/ocr
This plugin attempts to identify and extract text from an image. Please note: This plugin depends on the GoogleMobileVision pod which is referencing UIWebview, that has been deprecated by Apple. Don't use this plugin in an app intended for App Store as you will get a review rejection from Apple:
Deprecated API Usage — Apple will stop accepting submissions of apps that use UIWebView APIsFor more info, please see the following Github issue Google Mobile Vision relying on deprecated UIWebview.