设备更新到iOS 10.0.2后,Cordova应用程序无法启动

时间:2016-10-16 10:23:47

标签: ios cordova

将iPad Air更新为10.0.2后,基于Cordova的应用程序无法启动:显示启动画面,加载插件,但不会触发deviceready事件。

这是应用程序日志:

2016-10-16 12:12:31.188478 DZG[433:33347] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/F4E968B2-0238-4B1A-9B22-E34AD2FFA73D/Library/Cookies/Cookies.binarycookies
2016-10-16 12:12:31.266977 DZG[433:33347] Apache Cordova native platform version 4.2.1 is starting.
2016-10-16 12:12:31.268141 DZG[433:33347] Multi-tasking -> Device: YES, App: YES
2016-10-16 12:12:31.380723 DZG[433:33347] Using UIWebView
2016-10-16 12:12:31.385431 DZG[433:33347] [CDVTimer][handleopenurl] 0.136018ms
2016-10-16 12:12:31.388662 DZG[433:33347] Unlimited access to network resources
2016-10-16 12:12:31.388891 DZG[433:33347] [CDVTimer][intentandnavigationfilter] 3.329039ms
2016-10-16 12:12:31.389143 DZG[433:33347] [CDVTimer][gesturehandler] 0.189960ms
2016-10-16 12:12:31.417669 DZG[433:33347] [CDVTimer][file] 28.379977ms
2016-10-16 12:12:31.443143 DZG[433:33347] [CDVTimer][splashscreen] 25.337994ms
2016-10-16 12:12:31.455962 DZG[433:33347] [CDVTimer][statusbar] 12.651980ms
2016-10-16 12:12:31.460579 DZG[433:33347] [CDVTimer][localstorage] 4.449010ms
2016-10-16 12:12:31.460668 DZG[433:33347] [CDVTimer][TotalPluginStartup] 75.469971ms
2016-10-16 12:12:32.092153 DZG[433:33347] Resetting plugins due to page load.
2016-10-16 12:12:32.610606 DZG[433:33347] Finished load of: file:///var/containers/Bundle/Application/7545578F-C31D-40EF-A600-41648A64BDD9/DZG.app/www/index.html

可以在此处找到更完整的iOS日志:http://suprematic.net/misc/dzg_ios_10.0.2.log

以下是我使用的平台版本和插件:

ios 4.2.1

cordova-plugin-console 1.0.2 "Console"
cordova-plugin-device 1.1.3 "Device"
cordova-plugin-dialogs 1.3.0 "Notification"
cordova-plugin-file 4.1.1 "File"
cordova-plugin-inappbrowser 1.3.0 "InAppBrowser"
cordova-plugin-splashscreen 3.2.1 "Splashscreen"
cordova-plugin-statusbar 2.1.2 "StatusBar"
cordova-plugin-whitelist 1.2.2 "Whitelist"
cordova-plugin-x-toast 2.5.1 "Toast"
mx.ferreyra.callnumber 0.0.2 "Cordova Call Number Plugin"
nl.x-services.plugins.iosminversion 1.0 "iOS Min Version"

应用程序仍悬挂在启动画面中,没有任何反应。

该应用程序在Android和iOS 9.x中仍可正常运行。

症状与此https://forum.ionicframework.com/t/ios-app-freezes-on-load-with-cordova-4-0-1-and-latest-ionic/43156/8

非常相似

0 个答案:

没有答案