quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.9k stars 3.51k forks source link

[docs] Updating Capacitor android app does not recognize version bump #7889

Open dhax opened 4 years ago

dhax commented 4 years ago

The docs state that for updating a published capacitor android app one needs to bump the version in package.json or have a capacitor.version field in quasar.conf.js and rebuild. Neither of these seem to be recognized when bumping and building again. The "versionCode" value in src-capacitor/app/build.gradle stays the same, so currently I have to bump it manually for the APK to be allowed to be uploaded. Is this due to upgrading to capacitor 2 maybe, do the docs need an update on that? Thanks. My package.json looks like this:

"dependencies": { "@capacitor/core": "^2.4.1", "@quasar/extras": "^1.9.8", "core-js": "^3.6.5", "quasar": "^1.14.1", "vue-i18n": "^8.21.1" }, "devDependencies": { "@quasar/app": "^2.1.1", "@vue/devtools": "^5.3.3", "@vue/eslint-config-standard": "^4.0.0", "babel-eslint": "^10.1.0", "eslint": "^5.10.0", "eslint-loader": "^2.1.1", "eslint-plugin-vue": "^5.0.0", "workbox-webpack-plugin": "^5.1.4" },

jbwl commented 3 years ago

Can confirm that none of the methods to bump the version are working - the version in build.gradle in the Android Studio project does not change.