【发布时间】:2020-10-05 23:29:52
【问题描述】:
我正在开发 4 月份开始的应用程序,但被应用商店拒绝。
昨天接手项目,删除平台ios,安装最新版本(6.0)
https://cordova.apache.org/announcements/2020/06/01/cordova-ios-release-6.0.0.html
但是,虽然 6.0 版应该停止使用 UiWebView,但当我尝试将应用程序发送到 Apple store connect 时收到此错误消息
“ITMS-90809:已弃用的 API 使用 - 不再接受使用 UIWebView 的新应用。改为使用 WKWebView 以提高安全性和可靠性。了解更多信息 (https://developer.apple.com/documentation/uikit/uiwebview)。”
我的 package.json
{
"name": "X",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "~8.1.2",
"@angular/compiler": "~8.1.2",
"@angular/core": "~8.1.2",
"@angular/forms": "~8.1.2",
"@angular/platform-browser": "~8.1.2",
"@angular/platform-browser-dynamic": "~8.1.2",
"@angular/router": "~8.1.2",
"@ionic-native/app-rate": "^5.26.0",
"@ionic-native/badge": "^5.26.0",
"@ionic-native/base64": "^5.26.0",
"@ionic-native/calendar": "^5.26.0",
"@ionic-native/call-number": "^5.26.0",
"@ionic-native/camera": "^5.26.0",
"@ionic-native/clipboard": "^5.26.0",
"@ionic-native/core": "^5.26.0",
"@ionic-native/crop": "^5.26.0",
"@ionic-native/fcm": "^5.26.0",
"@ionic-native/file": "^5.26.0",
"@ionic-native/in-app-browser": "^5.26.0",
"@ionic-native/launch-navigator": "^5.26.0",
"@ionic-native/native-storage": "^5.26.0",
"@ionic-native/network": "^5.26.0",
"@ionic-native/photo-viewer": "^5.26.0",
"@ionic-native/social-sharing": "^5.26.0",
"@ionic-native/splash-screen": "^5.26.0",
"@ionic-native/status-bar": "^5.26.0",
"@ionic-native/stripe": "^5.26.0",
"@ionic/angular": "^4.11.10",
"aios": "0.2.3",
"call-number": "1.0.1",
"com-badrit-base64": "0.2.0",
"com-sarriaroman-photoviewer": "1.2.5",
"cordova-android": "7.1.4",
"cordova-clipboard": "1.3.0",
"cordova-ios": "^6.0.0",
"cordova-plugin-actionsheet": "2.3.3",
"cordova-plugin-apprate": "1.5.0",
"cordova-plugin-badge": "0.8.8",
"cordova-plugin-calendar": "5.1.5",
"cordova-plugin-camera": "4.1.0",
"cordova-plugin-crop": "0.4.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-dialogs": "2.0.2",
"cordova-plugin-facebook4": "1.7.4",
"cordova-plugin-fcm-with-dependecy-updated": "6.4.3",
"cordova-plugin-file": "6.0.2",
"cordova-plugin-inappbrowser": "git+https://github.com/apache/cordova-plugin-inappbrowser.git",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-nativestorage": "2.3.2",
"cordova-plugin-network-information": "2.0.2",
"cordova-plugin-splashscreen": "^5.0.4",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-plugin-x-socialsharing": "5.6.8",
"core-js": "^2.6.11",
"es6-promise-plugin": "4.2.2",
"firebase": "^6.6.2",
"ngx-qrcode2": "0.0.9",
"ngx-qrcode3": "^0.3.0",
"ngx-stripe": "^7.4.4",
"rxjs": "^6.5.5",
"tslib": "^1.13.0",
"uk.co.workingedge.phonegap.plugin.launchnavigator": "5.0.4",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/architect": "~0.801.2",
"@angular-devkit/build-angular": "~0.801.2",
"@angular-devkit/core": "~8.1.2",
"@angular-devkit/schematics": "~8.1.2",
"@angular/cli": "~8.1.2",
"@angular/compiler": "~8.1.2",
"@angular/compiler-cli": "~8.1.2",
"@angular/language-service": "~8.1.2",
"@ionic/angular-toolkit": "~2.0.0",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "^2.0.8",
"@types/node": "~8.9.4",
"codelyzer": "^5.2.2",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"protractor": "^5.4.4",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"uk.co.workingedge.phonegap.plugin.launchnavigator": {
"GOOGLE_API_KEY_FOR_ANDROID": "X",
"OKHTTP_VERSION": "3.12.0",
"LOCATION_USAGE_DESCRIPTION": "This app requires access to your location for navigation purposes"
},
"cordova-plugin-badge": {},
"cordova-plugin-nativestorage": {},
"cordova-clipboard": {},
"com-badrit-base64": {},
"cordova-plugin-file": {},
"cordova-plugin-calendar": {
"CALENDAR_USAGE_DESCRIPTION": " ",
"CONTACTS_USAGE_DESCRIPTION": " "
},
"cordova-plugin-facebook4": {
"APP_ID": "X",
"APP_NAME": "X"
},
"cordova-plugin-network-information": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-apprate": {},
"cordova-plugin-x-socialsharing": {
"ANDROID_SUPPORT_V4_VERSION": "24.1.1+",
"PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.",
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly."
},
"mx.ferreyra.callnumber": {},
"cordova-plugin-crop": {},
"com-sarriaroman-photoviewer": {}
},
"platforms": [
"android",
"ios"
]
}
}
如果有人有想法。 提前致谢。 诚挚的。
【问题讨论】:
-
你有可以使用 uiwebkit 的插件吗?尝试更新您的插件,如果失败,请创建一个新应用并将代码复制到那里。
-
你知道我该如何验证吗?担心的是它是一个非常大的应用程序,我担心从 0 开始重新启动一个项目需要时间(即使通过复制/粘贴)谢谢您的回复。
-
确保您使用的所有cordova插件都是最新的。我不知道有任何自动查找方法。您还可以在项目范围内进行搜索。
-
我已经更新了所有的cordova插件,但我仍然有同样的顾虑......
标签: javascript ios cordova ionic-framework uiwebview