[URGENT] ITMS-90809: Deprecated API Usage

Hi,

While uploading iOS build, I got an error 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.

Please help me out because as per my understanding, if we upload iOS build with the same Warning so maybe in the future, my APP will be rejected.

The quickest response is highly appreciable.

1 Like

See App Store Connect: Your app

It’s just a warning for now, they won’t reject the app because of multiple warnings.

But in future from apple side it’s clear instruction they will be reject the build if this happend again. So what will be the next steps to avoid this Bugs / Warnings in future releases ?

1 Like

They will reject it at some point in the future, not clear when. Read the other thread.

Yes agreed.It is inevitable that they will reject it in the future.

Install WkWebView and make sure you’ve allowed CORS if it’s not already set up properly on your server, as UIWebView never enforced it.

WkWebView info at Ionic

As of today, they are rejecting all new app submissions. Here is an easy workaround by Ionic.

No, they are not rejecting apps yet, those are the official dates:

April 2020: New apps
December 2020: Existing apps

1 Like

Hi,

As mentioned here https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation, I have updated cordova-ios to 5.1.1 latest version and updated all my Cordova plugins. Still, I got the same warning message from the Apple side.

updated plugins list

call-number 0.0.2 “Cordova Call Number Plugin”
cordova-android-play-services-gradle-release 4.0.0 “cordova-android-play-services-gradle-release”
cordova-plugin-app-version 0.1.9 “AppVersion”
cordova-plugin-background-mode 0.7.3 “BackgroundMode”
cordova-plugin-badge 0.8.8 “Badge”
cordova-plugin-camera 4.1.0 “Camera”
cordova-plugin-device 2.0.3 “Device”
cordova-plugin-email-composer 0.9.2 “EmailComposer”
cordova-plugin-file 6.0.2 “File”
cordova-plugin-file-opener2 2.2.1 “File Opener2”
cordova-plugin-file-transfer 1.7.1 “File Transfer”
cordova-plugin-firebase 2.0.5 “Google Firebase Plugin”
cordova-plugin-globalization 1.11.0 “Globalization”
cordova-plugin-inappbrowser 3.2.0 “InAppBrowser”
cordova-plugin-ionic 5.4.6 “cordova-plugin-ionic”
cordova-plugin-ionic-keyboard 2.1.3 “cordova-plugin-ionic-keyboard”
cordova-plugin-ionic-webview 4.1.3 “cordova-plugin-ionic-webview”
cordova-plugin-local-notification 0.9.0-beta.2 “LocalNotification”
cordova-plugin-mauron85-background-geolocation 3.0.3 “CDVBackgroundGeolocation”
cordova-plugin-network-information 2.0.2 “Network Information”
cordova-plugin-safariviewcontroller 1.6.0 “SafariViewController”
cordova-plugin-splashscreen 5.0.3 “Splashscreen”
cordova-plugin-statusbar 2.4.3 “StatusBar”
cordova-plugin-touch-id 3.3.1 “Touch ID”
cordova-plugin-whitelist 1.3.4 “Whitelist”
cordova-sqlite-storage 3.4.1 “Cordova sqlite storage plugin - cordova-sqlite-storage plugin version”

config.xml

    <access origin="http://localhost:8080/*" />
    <allow-navigation href="http://localhost:8080/*" />
    <feature name="CDVWKWebViewEngine">
        <param name="ios-package" value="CDVWKWebViewEngine" />
    </feature>
    <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
    <preference name="WKWebViewOnly" value="true" />

Ionic Info:

Ionic:

Ionic CLI : 6.3.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 4.11.4
@angular-devkit/build-angular : 0.803.21
@angular-devkit/schematics : 8.3.0
@angular/cli : 8.3.0
@ionic/angular-toolkit : 2.0.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, ios 5.1.0
Cordova Plugins : cordova-plugin-ionic 5.4.6, cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.3, (and 20 other plugins)

Utility:

cordova-res (update available: 0.11.0) : 0.6.0
native-run (update available: 0.3.0) : 0.2.8

System:

Android SDK Tools : 26.1.1 (/Users/sys-user/Library/Android/sdk)
ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v10.16.1 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS Catalina
Xcode : Xcode 11.2.1 Build version 11B500

Do you have any idea or I have missed anything to update?

Hi, Alexandar,

Try to update your cordova-plugin-ionic-webview to the latest ( today is 4.2.1 ).

Fragment from version notes: "This plugin uses WKWebView on iOS and the latest evergreen webview on Android. "

You current version is 4.1.3!

https://www.npmjs.com/package/cordova-plugin-ionic-webview/v/4.2.1#migrating-to-4x

Regards!

I am developing an Ionic 5 application and is the facing this exact problem ITMS-90809 deprecation. Below is the list of Cordova plugins I am using.

com.telerik.plugins.nativepagetransitions 0.6.5 “Native Page Transitions”

cordova-plugin-device 2.0.3 “Device”

cordova-plugin-file 6.0.2 “File”

cordova-plugin-ionic-keyboard 2.2.0 “cordova-plugin-ionic-keyboard”

cordova-plugin-ionic-webview 5.0.0 “cordova-plugin-ionic-webview”

cordova-plugin-network-information 3.0.0-dev “Network Information”

cordova-plugin-screen-orientation 3.0.2 “Screen Orientation”

cordova-plugin-splashscreen 6.0.0 “Splashscreen”

cordova-plugin-statusbar 2.4.3 “StatusBar”

cordova-plugin-tts 0.2.3 “TTS”

cordova-plugin-whitelist 1.3.4 “Whitelist”

cordova-plugin-x-socialsharing 5.6.8 “SocialSharing”

cordova-plugin-youtube-video-player 2.4.0 “CordovaYoutubeVideoPlayer”

cordova-sqlite-storage 5.0.1 “Cordova sqlite storage plugin - cordova-sqlite-storage plugin version”

es6-promise-plugin 4.2.2 “Promise”

phonegap-plugin-mobile-accessibility 1.0.5-dev “Mobile Accessibility”

I followed all the points mentioned in the Ionic blog post. But Apple has still rejected the submission. Not sure what else to do. Please help.

Ionic Info:
Ionic:

Ionic CLI : 6.11.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.1
@angular-devkit/build-angular : 0.901.7
@angular-devkit/schematics : 10.0.4
@angular/cli : 9.1.7
@ionic/angular-toolkit : 2.3.0

Capacitor:

Capacitor CLI : 2.4.0
@capacitor/core : 2.0.2

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 12 other plugins)

Utility:

cordova-res : 0.15.1
native-run : not installed

System:

ios-deploy : 2.0.0
ios-sim : 8.0.2
NodeJS : v12.18.1 (/usr/local/bin/node)
npm : 6.14.5
OS : macOS Catalina
Xcode : Xcode 11.6 Build version 11E708