Description
Bug Report
App config.xml does not update AndroidManifest.xml file's versionCode, versionName or anything
Problem
I have changed app version, add some meta-data at android scope in config.xml file but after build it does not update android 'AndroidManifest.xml' file. I still see the previous value and meta-data in 'AndroidManifest.xml'.
What is expected to happen?
changing on app config.xml file [app version, meta-data], should be changed in android 'AndroidManifest.xml' file after build.
What does actually happen?
After changing app config.xml file widget version, meta-data, when the build finished nothing updated in AndroidManifest.xml file. And it shows no error, warning in build console/terminal. Build was success.
Information
Changes on config.xml file data [app widget version], it changes automatically app version for the first couple of builds but after 6-7th time cordova build it does not automatically update. 'AndroidManifest.xml' so my android build version not updating and meta-data not added.
Screenshot attached
- App config.xml file
Command or Code
ionic cordova build android
Environment, Platform, Device
Ionic:
ionic (Ionic CLI) : 4.0.1
Ionic Framework : ionic-angular 3.9.4-201903121725
@ionic/app-scripts : 3.1.8
Cordova:
cordova (Cordova CLI) : 8.1.2 ([email protected])
Cordova Platforms : android 7.1.4, browser 5.0.4, ios 4.5.4
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.4
NodeJS : v10.15.1 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
Environment:
ANDROID_HOME : /Users/bs228/Library/Android/sdk
Version information
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above