Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova "Apple will stop accepting submissions of apps that use UIWebView" warning when submitting to app store #148

Closed
3 tasks done
sts-ryan-holton opened this issue Sep 3, 2019 · 1 comment

Comments

@sts-ryan-holton
Copy link

sts-ryan-holton commented Sep 3, 2019

Bug Report

Problem

I'm building a hybrid app for both iOS and Android. The app primarily is built using Nuxt JS, a Javascript based Vue JS framework, along with Vuetify JS. I'm using Cordova 8.0.0 currently to build and compile my app and have recently submitted our first ever app to the app store for review, I have recieved back a depreciation warning and am concerned that this isn't going to be fixed in Cordova?

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'm using very few Cordova plugins, and am wondering whether this issue has been addressed, or is related to one of my Cordova based plugins listed below.

What is expected to happen?

The depreciation warning shouldn't appear when submitting to the app store from a Cordova project.

What does actually happen?

The warning appears.

Information

NPM version: 6.10.2
Node version: 10.13.0
Xcode: 10.3

I'm building for iOS 12.4, with a deployment target of 10.0

I'm using the following Cordova plugins and their versions:

"dependencies": {
        "cordova-android": "^7.1.4",
        "cordova-ios": "^4.5.5",
        "cordova-plugin-actionsheet": "^2.3.3",
        "cordova-plugin-app-event": "^1.2.1",
        "cordova-plugin-background-mode": "^0.7.3",
        "cordova-plugin-badge": "^0.8.8",
        "cordova-plugin-console": "^1.1.0",
        "cordova-plugin-device": "^2.0.3",
        "cordova-plugin-local-notification": "git+https://github.com/katzer/cordova-plugin-local-notifications.git",
        "cordova-plugin-native-keyboard": "^2.0.3",
        "cordova-plugin-powermanagement-orig": "git+https://github.com/boltex/cordova-plugin-powermanagement.git",
        "cordova-plugin-whitelist": "^1.3.3"
    }

I'm using both iOS and Android for building, I'm using Nuxt JS 2.9.2

Command or Code

The commands used to build the app are as follows:

"scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "generate": "NODE_ENV=production nuxt generate",
    "cordova-ios": "NODE_ENV=production npm run build-spa && npm run replace-relative-paths && npm run copy-cordova && npm run run-ios;",
    "cordova-android": "NODE_ENV=production npm run build-spa && npm run replace-relative-paths && npm run copy-cordova && npm run run-android;",
    "cordova-browser": "NODE_ENV=production npm run build-spa && npm run replace-relative-paths && npm run copy-cordova && npm run run-browser;",
    "build-spa": "nuxt build --spa",
    "replace-relative-paths": "replace '/nuxtfiles/' 'nuxtfiles/' dist --recursive && replace '/assets/' 'nuxtfiles/' dist --recursive && replace '(href|src|\"href\"|\"src\")=\"/' '$1=\"../' dist --recursive && replace '(href|src|\"href\"|\"src\"):\"/' '$1:\"../' dist --recursive",
    "copy-cordova": "cp -R dist/* cordova/www/",
    "clear-cordova": "rm -R cordova/www/*",
    "run-ios": "cd cordova && cordova run ios --buildFlag='-UseModernBuildSystem=0' --target='iPhone-X, 12.2'",
    "run-android": "cd cordova && cordova run android",
    "run-browser": "cd cordova && cordova run browser"
  }

Environment, Platform, Device

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@timbru31
Copy link
Member

timbru31 commented Sep 3, 2019

The discussion is happening here: apache/cordova-ios#661 - and currently it is just a warning :)

@timbru31 timbru31 closed this as completed Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants