cdmahoney opened a new issue #1025:
URL: https://github.com/apache/cordova-android/issues/1025


   # Bug Report
   
   ## Problem
   Defining versionNameSuffix in build-extras.gradle causes versionNameSuffix 
to be used as complete versionName with [email protected]. This worked correctly 
with [email protected] 
   
   ### What is expected to happen?
   versionNameSuffix should be appended to config.xml defined version, eg
   version="1.0.0"
   versionNameSuffix = ".debug"
   
   Compiled application (debug build type) should have version name 
"1.0.0.debug". 
   
   
   ### What does actually happen?
   Actual version name is just versionNameSuffix , eg ".debug"
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   To reproduce problem:
   - Create new cordova project
   - Add platform [email protected]
   - Add build-extras.gradle shown below.
   - Compile and test debug build type.
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   Sample build-extras.gradle
   ```
   android {
        buildTypes {
                debug {
                        versionNameSuffix ".debug"
                }
        }
   }
   ```
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Compiling on Windows 10. 
   
   
   ### 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.
   -->
   Cordova CLI: 9.0.0 ([email protected])
   Cordova android 9.0.0
   
   ## 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:
[email protected]



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

Reply via email to