docs(our): add deprecation warning (#3439)

This commit is contained in:
Jakob Engelbrecht 2020-06-11 17:59:34 +02:00 committed by GitHub
parent 4575cb6050
commit dc6e3313bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,9 @@ export interface OCRResult {
* @name OCR * @name OCR
* @description * @description
* This plugin attempts to identify and extract text from an image. * 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 APIs`
* For more info, please see the following Github issue [Google Mobile Vision relying on deprecated UIWebview](https://github.com/NeutrinosPlatform/cordova-plugin-mobile-ocr/issues/27).
* @usage * @usage
* ```typescript * ```typescript
* import { OCR, OCRSourceType } from '@ionic-native/ocr/ngx'; * import { OCR, OCRSourceType } from '@ionic-native/ocr/ngx';