Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Not able to submit to App Store because of 'Deprecated API Usage - UIWebView' warning #720

Closed
tomavic opened this issue Nov 19, 2020 · 8 comments

Comments

@tomavic
Copy link

tomavic commented Nov 19, 2020

After many searches and trials. Following this and this and this

The problem exists with This plugin, Facebook4, SocialSharing. I have removed Facebook and social sharing but I need to use this plugin and the latest version is still doesn't have the solution.

My Environment

Ionic:

   Ionic CLI          : 6.11.11 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.5
   @ionic/app-scripts : 3.2.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 20 other plugins)

Utility:

   cordova-res (update available: 0.15.2) : 0.15.1
   native-run                             : 1.2.2

System:

   Android SDK Tools : 26.1.1 (/Users/tooma/Library/Android/sdk)
   ios-deploy        : 1.11.3
   ios-sim           : 8.0.2
   NodeJS            : v10.22.1 (/usr/local/Cellar/node@10/10.22.1/bin/node)
   npm               : 6.14.6
   OS                : macOS Catalina
   Xcode             : Xcode 12.0.1 Build version 12A7300

@sebastian-zarzycki-apzumi

Any reason why you're not using cordova 10 and cordova-ios 6.1.1?

@tomavic
Copy link
Author

tomavic commented Nov 19, 2020

Currently I am using cordova-ios @5.1.1 with cordova 9 Because most plugins I am currently use are compatible with that. Although I tried cordova@6.1.1 with cordova 9 and build is successful but app has been rejected.

FYI, I do remove node_modules, platforms, plugins folders each time I try different version

I don't think that trying with cordova 10 may solve it but I will give it a try and I will post it here!!

@sebastian-zarzycki-apzumi

So you're using cordova-ios 5.x, because "plugins are compatible", but then you also use cordova-ios 6.x and "build is successful"?

My ionic info:

Ionic:

   Ionic CLI          : 6.12.2 (/opt/local/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.10
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 10.0.0
   Cordova Platforms : 6.0.0, android 9.0.0, browser, ios 6.1.1
   Cordova Plugins   : cordova-plugin-ionic-webview 5.0.0, (and 17 other plugins)

Utility:

   cordova-res : 0.15.2
   native-run  : 1.2.2

System:

   Android SDK Tools : 26.1.1 (/Users/rattkin/Library/Android/sdk)
   ios-deploy        : 1.11.3
   ios-sim           : 8.0.2
   NodeJS            : v14.15.1 (/opt/local/bin/node)
   npm               : 6.14.8
   OS                : macOS Big Sur
   Xcode             : Xcode 12.2 Build version 12B45b

and some excerpt from package.json:

    "cordova-plugin-facebook4": "^6.4.0",
    "cordova-plugin-firebasex": "11.0.3-cli",
    "cordova-plugin-googleplus": "^8.5.1",
    "cordova-plugin-inappbrowser": "^4.0.0",
    "cordova-plugin-ionic-webview": "^5.0.0",

No complaints from Apple.

@tomavic
Copy link
Author

tomavic commented Nov 19, 2020

I've tried cordova@9 and cordova-ios@6.1.1 and build failed due to : this issue

Here is my environment

Ionic:

   Ionic CLI          : 6.11.11 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.5
   @ionic/app-scripts : 3.2.2

Cordova:

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

Utility:

   cordova-res (update available: 0.15.2) : 0.15.1
   native-run                             : 1.2.2

System:

   Android SDK Tools : 26.1.1 (/Users/pekandesigns/Library/Android/sdk)
   ios-deploy        : 1.11.3
   ios-sim           : 8.0.2
   NodeJS            : v10.22.1 (/usr/local/Cellar/node@10/10.22.1/bin/node)
   npm               : 6.14.6
   OS                : macOS Catalina
   Xcode             : Xcode 12.0.1 Build version 12A7300

@tomavic
Copy link
Author

tomavic commented Nov 19, 2020

I've tried cordova@10 and cordova-ios@6.1.1 and build failed due to : this issue

Again !

Ionic:

   Ionic CLI          : 6.11.11 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework    : ionic-angular 3.9.5
   @ionic/app-scripts : 3.2.2

Cordova:

   Cordova CLI       : 10.0.0
   Cordova Platforms : ios 6.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 19 other plugins)

Utility:

   cordova-res (update available: 0.15.2) : 0.15.1
   native-run                             : 1.2.2

System:

   Android SDK Tools : 26.1.1 (/Users/pekandesigns/Library/Android/sdk)
   ios-deploy        : 1.11.3
   ios-sim           : 8.0.2
   NodeJS            : v10.22.1 (/usr/local/Cellar/node@10/10.22.1/bin/node)
   npm               : 6.14.6
   OS                : macOS Catalina
   Xcode             : Xcode 12.0.1 Build version 12A7300

@tomavic
Copy link
Author

tomavic commented Nov 20, 2020

@sebastian-zarzycki-es I've successfully build and archive the app and it's got rejected :))))))

@djdannycastillo
Copy link

@tomavic did you find a solution? I have the same problem, my app was archived successfully but it was reject because use UIWebView.

I'm use the plugin versión 7.0.2 with cordova-io@6.0.0

@tomavic
Copy link
Author

tomavic commented Mar 6, 2021

@djdannycastillo I ended up refactoring my app and using cordova also, instead of capacitor. :(

$ ionic info

Ionic:

   Ionic CLI                     : 6.12.3
   Ionic Framework               : @ionic/angular 5.5.4
   @angular-devkit/build-angular : 0.1100.7
   @angular-devkit/schematics    : 11.0.7
   @angular/cli                  : 11.0.7
   @ionic/angular-toolkit        : 3.0.0

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 9.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 13 other plugins)

Utility:

   cordova-res : 0.15.1
   native-run  : 1.2.2

@tomavic tomavic closed this as completed Mar 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants