xavierserrai opened a new issue, #267:
URL: https://github.com/apache/cordova-common/issues/267

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   Both:
   
   ```
   "name": "X.X.X",
   "code": "XXXXX"
   ```
   
   from package.json should be set into AndroidManifest.xml 
android:versionCode="XXXXX" android:versionName="X.X.X"
   
   When the following code is set into config.xml
   
   ```
   <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest">
      <manifest xmlns:tools="http://schemas.android.com/tools"; />
   </edit-config>
   ```
   
   ### What does actually happen?
   
   Both:
   
   ```
   "name": "X.X.X",
   "code": "XXXXX"
   ```
   
   Are not set into AndroidManifest.xml if the above mentioned edit-config tag 
is set. If that is not set, everything works properly.
   
   Note that that edit-config is manipulating the same line in 
AndroidManifest.xml as the name and code tags.
   
   ### Command or Code
   Just perform a regular build.
   
   ### Version information
   cordova cli 13.0.0
   cordova-android 15.1.0
   Version 27.0 beta 5
   MacOS Tahoe 26.5 (25F71)
   
   ## Checklist
   
   - [ 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to