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/06/03 13:46:23 UTC
[GitHub] [cordova] l-deniau opened a new issue #117: Updating application
version in config.xml with edit-config on AndroidManifest /manifest
l-deniau opened a new issue #117: Updating application version in config.xml with edit-config on AndroidManifest /manifest
URL: https://github.com/apache/cordova/issues/117
# Bug Report
## Problem
### What is expected to happen?
`android:versionCode` & `android:versionName` in AndroidManifest.xml updated with `cordova build android` with config.xml :
```xml
<widget ... version="X.X.X+1" ...
```
with also an edit-config on the AndroidManifest.xml like this :
```xml
<platform name="android">
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest">
<manifest xmlns:tools="http://schemas.android.com/tools" />
</edit-config>
```
### What does actually happen?
`android:versionCode` & `android:versionName` in AndroidManifest.xml are not updated with `cordova build android` with the edit-config showed above in the config.xml.
When i remove the android platform and recreate it, `android:versionCode` & `android:versionName` are correctly created. (this is what i want to avoid...)
When i remove the edit-config showed above, it works. `android:versionCode` & `android:versionName` are correctly updated.
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
### Command or Code
`cordova build android`
### Environment, Platform, Device
`<engine name="android" spec="6.3.0" />`
### Version information
8.1.2 (cordova-lib@8.1.1)
## 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