breautek commented on issue #921: I developed an Android app using cordova, but there was a problem updating the app version. URL: https://github.com/apache/cordova-android/issues/921#issuecomment-591427454 All APK assets are installed in a read-only application directory. They cannot be modified (outside of installing the apk). If the APK has: 1. it's versionCode increased (cordova by default, creates a versionCode based on your app version) 2. the app id remains the same 3. the apk was signed using the same keystore Then android will do an application upgrade (replacing the contents of the application directory with the assets in the new APK). If any of the above conditions fails, the upgrade will fail (or if the app id has changed, it will treat the apk has a new app). Hope this answers your question. If it does not, I invite you to cordova's [slack](http://slack.cordova.io/), which is a more appropriate for support questions such as this one.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
