bug: Deprecated API Usage & UIWebView
Original issue by @Livijn on 2019-08-29T16:06:03Z
Bug Report
I am using version 0.0.9 of @ionic/vue.
When uploading a new archive / binary to App Store Connect I am getting an email from Apple saying:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
This seems to be a new policy enforced by Apple. The same thing happens for Flutter & React Native users:
- https://stackoverflow.com/questions/57700996/flutter-how-to-fix-itms-90809-deprecated-api-usage-apple-will-stop-accepting
- https://github.com/react-native-community/react-native-webview/issues/819
Closing as duplicate of https://github.com/ionic-team/capacitor/issues/1912
I have the same error uploading to iOS TestFighter my app, building with Ionic 3/Cordova.
I don't using UIWebView. Just WebView depencency on my config.xml Ionic project:
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
<plugin name="cordova-plugin-device" spec="2.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
<plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
<plugin name="cordova-plugin-network-information" spec="2.0.2" />
<plugin name="cordova-open-native-settings" spec="1.5.2" />
<plugin name="cordova-plugin-geolocation" spec="4.0.2" />
<plugin name="cordova-sqlite-storage" spec="3.2.1" />
<plugin name="cordova-plugin-camera" spec="4.1.0" />
<plugin name="cordova-plugin-file-transfer" spec="1.7.1" />
<engine name="ios" spec="4.5.5" />
Any solution?
Thanks.
It's not an error, is a warning. The fix will be to update cordova-ios once it removes UIWebView or move to Capacitor.