ITMS-90809: Deprecated API Usage - still there :(

Hallo there,

I have a Ionic v3 Project.
I want to upload a new version of the app. So, i’ve done all the Steps for WKWebView integration.
But still the same error.
Steps i made:

  • update cordova ios to 5.1.1
  • update cordova plugins (include inappbrowser) to the latest versions
  • add a tag (WKWebViewOnly value=“true”) to the projects config.xml
  • remove platform and add it again

When i open xCode and search for “UIWebView” it shows:

  • the CordovaLib.xcodeproj
  • FirAuth (Firebase librarys)

I waste so much time and go crazy with it
Everytime i upload the app on xcode to the store i’ll get the warning and cant use it on itunes connect

First i would recommend to update cordova-ios to the latest Version: 6.1.1 and check again. Where wome the Firebase Libraries from?

i think it comes from cordova-plugin-firebasex
Bin übrigens auch Deutsch.

Hast du das Plugin auch auf den letzten Stand aktualisiert?

Ja, habe ich. Ich wüsste einfach nicht mehr, woher das kommen soll.
Ich weiß nicht, wo sich das Cordova Plugin die Pods zieht.
Die Firebase Pods stehen alle auf Version 6.3.0

Searching for “UIWebview” in XCode will show false positives:

You may notice “UIWebView” references within your Capacitor-based iOS project. Files within the “CapacitorCordova” pod, for example, relate to Cordova compatibility. These will **not** trigger the warning.

I updated our UIWebView blog post last week to include a list of common Cordova plugins that still use UIWebView. Assuming the other steps are done (sounds like they are), check this list.

@netkow i’m helping him via skype :smiley: This he UIWebView in the search that comes from CordovaLib are the one we can ignore, yes, but if there are any other results, it’s a good way of finding out where they came from

Thank you for your help.
For most of the plugins you listed the solution is “switch to capacitor”. I didn’t use Capacitor yet and I really don’t know which are the consequences to switch to it, but, it means Cordova will be no support in future? Because, I think most of the ionic projects are at the moment Cordova based.

We have no plans to drop Cordova support at this point. Learn more about Cordova support here.

Thank you.
I’m still having this issue and I’m not able to fix it.
This is the list of the plugins installed (a section of the package.json file).
I already tried to remove the facebook4 plugin and it is the only one listed in the official article you posted. Is there also the cordova-plugin-inappbrowser plugin but I already updated it to the lasted version.

Checking for UIWebView in all the plugins code i was not able to find one using it.

Do you have a clue about with one is causing this?

  "dependencies": {
    "@agm/core": "^1.1.0",
    "@agm/js-marker-clusterer": "^1.1.0",
    "@angular-devkit/build-webpack": "^0.13.9",
    "@angular/common": "^9.1.0",
    "@angular/core": "^9.1.0",
    "@angular/forms": "^9.1.0",
    "@angular/http": "^7.2.16",
    "@angular/platform-browser": "^9.1.0",
    "@angular/platform-browser-dynamic": "^9.1.0",
    "@angular/router": "^9.1.0",
    "@ionic-native/base64": "^5.23.0",
    "@ionic-native/call-number": "5.2.0",
    "@ionic-native/core": "5.28.0",
    "@ionic-native/dialogs": "5.2.0",
    "@ionic-native/facebook": "^5.28.0",
    "@ionic-native/file": "^5.23.0",
    "@ionic-native/geolocation": "5.2.0",
    "@ionic-native/google-plus": "^5.28.0",
    "@ionic-native/image-picker": "^5.23.0",
    "@ionic-native/in-app-browser": "^5.28.0",
    "@ionic-native/ionic-webview": "^5.23.0",
    "@ionic-native/launch-navigator": "5.2.0",
    "@ionic-native/native-geocoder": "5.5.1",
    "@ionic-native/native-storage": "^5.23.0",
    "@ionic-native/onesignal": "5.23.0",
    "@ionic-native/social-sharing": "5.3.0",
    "@ionic-native/splash-screen": "5.0.0",
    "@ionic-native/status-bar": "5.0.0",
    "@ionic/angular": "5.3.3",
    "@ionic/storage": "2.2.0",
    "@ngx-translate/core": "11.0.1",
    "@ngx-translate/http-loader": "4.0.0",
    "@types/jquery": "^3.3.33",
    "acorn": "6.1.1",
    "agm-direction": "^0.7.9",
    "balanced-match": "1.0.0",
    "call-number": "^1.0.1",
    "color": "3.1.0",
    "com-badrit-base64": "^0.2.0",
    "cordova-android": "^9.0.0",
    "cordova-android-support-gradle-release": "^3.0.1",
    "cordova-ios": "^6.1.1",
    "cordova-plugin-actionsheet": "^2.3.3",
    "cordova-plugin-add-swift-support": "^2.0.2",
    "cordova-plugin-androidx": "^2.0.0",
    "cordova-plugin-androidx-adapter": "^1.1.1",
    "cordova-plugin-cocoapod-support": "^1.6.2",
    "cordova-plugin-device": "^2.0.3",
    "cordova-plugin-dialogs": "^2.0.2",
    "cordova-plugin-facebook4": "^6.4.0",
    "cordova-plugin-file": "^6.0.2",
    "cordova-plugin-geolocation": "^4.0.2",
    "cordova-plugin-googleplus": "^7.0.2",
    "cordova-plugin-inappbrowser": "^4.0.0",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-ionic-webview": "^4.2.1",
    "cordova-plugin-nativegeocoder": "^3.4.1",
    "cordova-plugin-nativestorage": "^2.3.2",
    "cordova-plugin-splashscreen": "^5.0.4",
    "cordova-plugin-statusbar": "^2.4.3",
    "cordova-plugin-telerik-imagepicker": "^2.3.3",
    "cordova-plugin-whitelist": "^1.3.4",
    "cordova-plugin-x-socialsharing": "^6.0.2",
    "cordova-res": "^0.15.1",
    "core-js": "2.5.4",
    "es6-promise-plugin": "^4.2.2",
    "hammerjs": "2.0.8",
    "i": "^0.3.6",
    "ionic-cache": "4.0.1",
    "ionic-image-loader": "^7.0.0-beta.2",
    "js-marker-clusterer": "^1.0.0",
    "leaflet": "^1.6.0",
    "leaflet.markercluster": "^1.4.1",
    "mx.ferreyra.callnumber": "0.0.2",
    "native-run": "^1.0.0",
    "ngx-build-plus": "^10.1.1",
    "onesignal-cordova-plugin": "^2.11.1",
    "rxjs": "^6.5.4",
    "rxjs-compat": "^6.5.5",
    "sharp": "^0.24.1",
    "": "^5.0.5",
    "update": "^0.7.4",
    "zone.js": "^0.10.3"

Also, since facebook4 is used for fb login features and now i cannot use it since you suggested to switch to capacitor to be able to do it, how can i provide facebook login still using Cordova?

And another question, why Capacitor is more “stable” than Cordova? I’m trying to understand why I should pass to Capacitor since it is, of course, a cost for me.

Thank you

There is enterprise section in ionic site and also get in touch with ionic team for cordova support.

This is the correct solution you will ever get.

Have a great day! you will break your your head, hands and everything day by day and later you will realize it is better to go for flutter.

ps: this post may delete