科尔多瓦刷新 javascript
Cordova refresh javascript
您好,我想知道是否可以在托管服务器上托管 Cordova 项目的 javascript 文件,然后调用
window.location.reload(true);
从服务器获取最新版本的javascript?
或者有更好的方法来完成这个吗?等待苹果的批准花费了太多时间。
如有任何建议,我们将不胜感激。谢谢!
可能不完全按照您打算的方式进行。但是,看看 Ionic Deploy:
Ionic Deploy lets you update your app on demand for any changes that do not require binary modifications, saving you days, or even weeks, of wait time. You can roll back to a previous version of your app, automatically apply updates, and control every aspect of the upgrade. Being able to make live changes to an app allows you to work with your designer or other team members to collaborate in real time, empowering you to get immediate feedback while you develop and make changes on the fly.
您可以按照官方指南了解更多关于如何实现的信息:http://docs.ionic.io/docs/deploy-from-scratch。
您好,我想知道是否可以在托管服务器上托管 Cordova 项目的 javascript 文件,然后调用
window.location.reload(true);
从服务器获取最新版本的javascript?
或者有更好的方法来完成这个吗?等待苹果的批准花费了太多时间。
如有任何建议,我们将不胜感激。谢谢!
可能不完全按照您打算的方式进行。但是,看看 Ionic Deploy:
Ionic Deploy lets you update your app on demand for any changes that do not require binary modifications, saving you days, or even weeks, of wait time. You can roll back to a previous version of your app, automatically apply updates, and control every aspect of the upgrade. Being able to make live changes to an app allows you to work with your designer or other team members to collaborate in real time, empowering you to get immediate feedback while you develop and make changes on the fly.
您可以按照官方指南了解更多关于如何实现的信息:http://docs.ionic.io/docs/deploy-from-scratch。