Cordova-plugin-ionic-webview: iOS Deprecated API Usage Warning

Created on 29 Aug 2019  路  5Comments  路  Source: ionic-team/cordova-plugin-ionic-webview

Just submitted my app to TestFlight and got an email with the 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.

I got this error, when use ionic( 4.12.0), while I am not using UIWebview in my application at all.

Here are some main configuration information
package.json
"cordova-plugin-ionic-webview": "^4.0.1",

config.xml

Most helpful comment

Same as version 4.1.1

All 5 comments

Same as version 4.1.1

First of all, that's a warning, not an error.

This is a problem on cordova-ios as even if you use WKWebView as this plugin does, the cordova code is also sent for review and that confuses Apple.

It's already reported in cordova-ios repo.
https://github.com/apache/cordova-ios/issues/661

Same thing happening to me here since today.
i have removed all the things that could have the webview involved (inappbrowser, themeablebrowser, ....) and i麓ve upgraded the cordova-webview to the latest version and i still get the error from apple.

I repeat, it鈥檚 a warning, not an error. And it鈥檚 in cordova-ios

Like @nielsjakob said:

UIWebView has been deprecated for well over a year though, so I fear the "long time" is coming to an end very soon. So I'd second that this is a rather urgent issue.

Here's a Twitter thread from one Apple dev on the topic:
https://twitter.com/NiklasMaerz/status/1167031874738434048

Was this page helpful?
0 / 5 - 0 ratings

Related issues

peterpeterparker picture peterpeterparker  路  6Comments

begbeder picture begbeder  路  5Comments

BorntraegerMarc picture BorntraegerMarc  路  5Comments

nfischer picture nfischer  路  3Comments

Yuripetusko picture Yuripetusko  路  3Comments