When submitting my latest build, Apple suddenly returned a message saying that there was an issue, specifically:
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. What that means and are that related to using the IONIC framework. How to fix it.
Ionic apps are built using web technologies and are rendered using Web Views, which are a full screen and full-powered web browser.
What is UIWebView? UIWebView is a deprecated iOS user interface control in Apple's UIKit framework. It loads HTML files and web content into an app view, rendering them as they would appear in a browser window.
A WKWebView object is a platform-native view that you use to incorporate web content seamlessly into your app's UI. A web view supports a full web-browsing experience, and presents HTML, CSS, and JavaScript content alongside your app's native views.
The cordova team yesterday released 2019-11-25 a release [email protected]
This release resolves the ITMS-90809 alert from the apple store.
cordova platform remove ios
cordova platform add [email protected]
Add <preference name = "WKWebViewOnly" value = "true" /> to your config.xml file
Run "cordova prepare ios" to apply the changes.
https://cordova.apache.org/announcements/2019/11/25/cordova-ios-release-5.1.0.html#comment-4702612854
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With