How to change app version code in Ionic framework

By Hardik Savani | May 12, 2016 | | 2582 Viewer | Category : Ionic Framework


Share this post:

When i was working on my android ionic app, i completed my app and upload in play store. But after few date when i need to some changes on that app and uploaded it again but i found error of android app version is not updated.

I did search on google and found one solution how to update android app version in ionic framework. So you have to open config.xml file from root path and just change version="0.0.1" into version="0.0.2". Bellow file is your old file.

config.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<widget id="com.ionicframework.myapp577044" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

<name>myApp</name>

........

You can see changes in bellow file:

config.xml updated

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<widget id="com.ionicframework.myapp577044" version="0.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

<name>myApp</name>

........