krv
krv

Reputation: 2920

Cordova versionCode appends 8 after build

I am building for Android using Cordova with Ionic. I have set the versionCode in the widget tag inside the config.xml file to 10. But after building the app I am getting the version code as 108.

The version of Cordova that I have is 6.1.1.

How can I build an app where the versionCode is unchanged?

Upvotes: 0

Views: 167

Answers (1)

Gandhi
Gandhi

Reputation: 11935

This still seems to be an unresolved issue in Cordova since version 5.0. Check out this issue link for more info on the same.

Also I suggest you to look at the following SO post for possible resolution of the issue.

Upvotes: 1

Related Questions