简体   繁体   English

通过“ App Store”崩溃更新基于Cordova / Phonegap的应用程序

[英]Updating Cordova / Phonegap based app via the App Store “crashes”

We released a version of our Cordova based app to iTunes, Apple approved it and everything worked extremely well. 我们在iTunes上发布了基于Cordova的应用程序的一个版本,Apple批准了该版本,并且一切运行正常。

After developing some UI improvements, we decided to release an update to the app, which Apple approved again. 在开发了一些UI改进之后,我们决定发布该应用程序的更新,Apple再次批准了该更新。

Now we have a serious issue. 现在我们有一个严重的问题。 If a user upgrades from the first version to the second, no JavaScript seems to be executed on initial launch(!) leaving the user with a blank page (fully closing and re-opening the app does correct the problem, but users struggle with this, despite instructions in our app description). 如果用户从第一个版本升级到第二个版本,则在初始启动(!)时似乎没有执行JavaScript,而给用户留下空白页(完全关闭并重新打开该应用程序确实可以解决问题,但是用户为此感到困扰。 ,尽管我们的应用说明中有说明)。 Everything is fine the second time it is opened! 第二次打开一切都很好!

If a user does a fresh install everything is fine first time. 如果用户进行全新安装,则第一次一切都很好。

This ONLY occurs when updating from the app store and we are unable to replicate locally / deploying via xcode. 仅在从应用商店更新时才会发生这种情况,而我们无法在本地复制/通过xcode进行部署。

My initial thought is that the "deviceready" event isn't firing. 我最初的想法是“ deviceready”事件没有触发。 I am testing this theory with Apple at the moment. 我目前正在与Apple一起测试这一理论。

Any other suggestions or help would be much appreciated as this is a serious live issue for us. 任何其他建议或帮助将不胜感激,因为这对我们来说是一个严重的实时问题。

iOS> 5.1和Cordova <1.7中的错误: https//issues.apache.org/jira/browse/CB-347

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM