Using webview plugin but app still rejected by Apple for UIWebView


Ionic CLI : 5.2.1
Cordova CLI: 8.0.0
Cordova iOS 5.1.1

I’ve got two questions:

  1. Is there any way to confirm whether UIWebView is being used before I upload to Apple because that’s a time-consuming way of checking …

  2. I have installed cordova-plugin-ionic-webview 5.0.0 and I have modified the config.xml to force WKWebView as below

     <feature name="CDVWKWebViewEngine">
         <param name="ios-package" value="CDVWKWebViewEngine" />
     <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
     <preference name="WKWebViewOnly" value="true" />

But when I upload through XCode, Apple bounces the app back saying it’s using UIWebView

I have done platform rm/add multiple times, to no avail

Any ideas?

For anyone else hitting this issue - the paypal plugin (PayPal - Ionic Documentation) seems to require the UIWebView and, as other forum posts have pointed out (Ionic 4 Paypal Plugib UIwebView Issue for Ios) it’s no longer supported