Cordova / Phonegap: Live update codebase

后端 未结 8 2077
半阙折子戏
半阙折子戏 2021-02-07 19:17

We are using Cordova along with AngularJS for iOS and Android applications.

One big disadvantage of iOS are the long review times from Apple. In Google\'s Playstore, yo

相关标签:
8条回答
  • 2021-02-07 19:49

    cordova-app-loader is an easy to use plugin to update app files via 3 simple steps:

    1. check() for a new manifest
    2. download() files
    3. update() your app!

    It supports android and iOS

    0 讨论(0)
  • 2021-02-07 19:49

    I think the best choice would be to not try to do this with Phonegap, but rather identify your dynamic parts and implement these in Javascript.

    Yes, I mean you should indeed use Javascript yourself without Phonegap, for example via JavaScriptBridge: https://github.com/kishikawakatsumi/JavaScriptBridge

    It may require more work initially to redesign your app into a "static" part (your PhoneGap app) and dynamic part (dynamic created views via JavascriptBirdge), and interacte seemlessly between them. But in my opinion, that will be ultimately the best software design.

    However, also make sure you still meet Apples AppStore requirements.

    0 讨论(0)
提交回复
热议问题