IONIC/ ITMS-90809: Deprecated API Usage

Dear Ionic team,

I’m facing this problem when upload to IOS store. Pls guide me to pass it

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Maybe you should google 2 Minutes before asking:

yeah. i have tried follow this guide already. But still fail

You need to understand why this happens. This happens because somewhere in your App the old “UiWebView” is included. Are you using Capacitor or Cordova-ios@5.1.1 with the WKWebViewOnly flag? Then the Framework isn’t the Problem. But the WebView can be used from Plugins too, so try the following:

After the iOS Build, open the xCode Project and search for Text Occurrences of UiWebView.

1 Like

Hi [EinfachHans]

I’m using Cordova 9.0.0 (cordova-lib@9.0.1).
And i have search Text UiWebView. Found 128 references.
Could u provide some solutions?

Are you using Cordova-ios Version >=5.1.x ? Have you included <preference name="WKWebViewOnly" value="true" /> in your config.xml?

Yep. i’m using “cordova-ios”: “^5.1.1”,
And inculed <preference name="WKWebViewOnly" value="true" /> in config.xml already

But still got this problem

Where are the References at? In which Plugin Files?

Hi, Have you solved the issue? I’m facing same :frowning:

Hi all,

We recently updated our blog post which is the definitive source for this issue. There are steps in that post that should help you figure out exactly where lingering UIWebView references are hiding:

4 Likes

Sorry,
I have an issue during ios build

[error] Error: Call retries were exceeded
    at ChildProcessWorker.initialize (/Users/Shared/projects/ionic5/appname/node_modules/jest-worker/build/workers/ChildProcessWorker.js:191:21)
    at ChildProcessWorker._onExit (/Users/Shared/projects/ionic5/appname/node_modules/jest-worker/build/workers/ChildProcessWorker.js:268:12)
    at ChildProcess.emit (events.js:311:20)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)

/private/var/folders/_z/mm700wc13hvbh8pgvy9n4y300000gn/T/ng-BPgwm2/angular-errors.log (END)
cordova plugin add cordova-plugin-ionic-webview@latest

npm install @ionic-native/ionic-webview

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

Could you please help me?

Luca

Anyone get the any specific solutions for this ?
I am also facing the same issue while doing live the app.

Configuration:
iOS : 4.5.5

Ionic :

Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1

Cordova :

Cordova CLI : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 6.4.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.0, (and 9 other plugins)

can anyone help me out from this issue ?