You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/03 13:47:24 UTC

[GitHub] [cordova-android] sanitul opened a new issue #758: App config.xml does not update AndroidManifest.xml file's versionCode, versionName or anything

sanitul opened a new issue #758: App config.xml does not update AndroidManifest.xml file's versionCode, versionName or anything
URL: https://github.com/apache/cordova-android/issues/758
 
 
   # Bug Report
   App config.xml does not update AndroidManifest.xml file's versionCode, versionName or anything
   ## Problem
   I change the app id, version, add some meta-data at android scope in config.xml file but after build it does not update android platform 'AndroidManifest.xml' file. I still see the previous value and meta-data in 'AndroidManifest.xml'.
   ### What is expected to happen?
   changes on app config.xml file [app package name, version, meta-data] must be changed on android 'AndroidManifest.xml' file after build.
   
   
   ### What does actually happen?
   After changing app config.xml file id, 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
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   Changes on config.xml file data [app package id, 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**
   1. App config.xml file
   <img width="866" alt="Screen Shot 2019-07-03 at 7 39 14 PM" src="https://user-images.githubusercontent.com/47731403/60596300-8f05fe00-9dca-11e9-857a-020020899bd0.png">
   2. AndroidManifest.xml file after cordova build, it still showing previous properties
   <img width="1073" alt="Screen Shot 2019-07-03 at 7 40 30 PM" src="https://user-images.githubusercontent.com/47731403/60596371-b066ea00-9dca-11e9-86c2-133f59d08520.png">
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   `ionic cordova build android`
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   ```
   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 (cordova-lib@8.1.1)
      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
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org