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

Use of UIWebView in GMV will block Apple App Store submissions #28

Open
andrewdaye opened this issue Mar 19, 2020 · 4 comments
Open

Use of UIWebView in GMV will block Apple App Store submissions #28

andrewdaye opened this issue Mar 19, 2020 · 4 comments

Comments

@andrewdaye
Copy link

Hi there - thanks for the great plugin.

Apple will stop accepting submissions to the App Store from April 2020 for new apps (Dec 2020 for updates) that reference the UIWebView, as it is deprecated and supposed to be replaced with WKWebView.

Configuring a Cordova project to WKWebViewOnly avoids the Deprecated API email when uploading to App Store Connect, however adding this plugin to the project brings the warning back. It looks like the Google Mobile Vision module has a reference to the UIWebView which causes the warning.

Since Google have replaced this with the ML Toolkit (https://firebase.google.com/docs/ml-kit/ios/read-barcodes ) which no longer has the UIWebView dependency, are there any plans to update this plugin to switch from Google Mobile Vision to the ML Toolkit?

@JustWoody
Copy link

Hi there - thanks for the great plugin.

Apple will stop accepting submissions to the App Store from April 2020 for new apps (Dec 2020 for updates) that reference the UIWebView, as it is deprecated and supposed to be replaced with WKWebView.

Configuring a Cordova project to WKWebViewOnly avoids the Deprecated API email when uploading to App Store Connect, however adding this plugin to the project brings the warning back. It looks like the Google Mobile Vision module has a reference to the UIWebView which causes the warning.

Since Google have replaced this with the ML Toolkit (https://firebase.google.com/docs/ml-kit/ios/read-barcodes ) which no longer has the UIWebView dependency, are there any plans to update this plugin to switch from Google Mobile Vision to the ML Toolkit?

Hi Andrew or anyone really, just wanted to check if you had gotten anywhere with resolving this? as just about to attempt to convert to use the ML toolkit, but never done any objective-c before so may take some time?

@andrewdaye
Copy link
Author

Hi @JustWoody - sorry I've got very little experience with Obj-C so I can't really help here. Apple clarified that today (Apr 30th, 2020) is the day that new apps will no longer be allowed with UIWebView, and December for updates to existing apps.

@andrewdaye
Copy link
Author

Hi @JustWoody (and anyone else with this issue) - I found this development: https://github.com/Ratsoc/cordova-plugin-firebase-ml-kit-barcode-scanner
I've tested it and (once I registered my app with Firebase and downloaded the custom GoogleServices-Info.plist) it worked. Uploaded the test build to Apple and did not get the UIWebView warning message.
I don't think this is using the latest release, and I prefer the overlay from @forrestmid 's plugin but it solves the immediate issue. In the code it looks like it was based on the GMV plugin.

@JustWoody
Copy link

JustWoody commented Jun 29, 2020 via email

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