We have a React app using cordova and we've been getting the following error :
***ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability.***
I added cordova-plugin-wkwebview-engine plugin and followed the cordova documentation.
Also, I added these in my config.xml
:
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
The cordova-plugin-ionic-webview plugin is not installed in the project. When this plugin is added, the app is stuck on a white blank screen.
I tried adding <preference name="WKWebViewOnly" value="true" />
in config.xml file
but the issue still exists.
If I remove the plugin the app just works fine but then TestFlight
rejects it.
Any help would be greatly appreciated !