Articles

How to change Android App version built with Ionic framework

I am writing the technique to change the version of Android App which is very straight forward and easy. There are basically two easy ways to do so.

1. Manually changing version of Android App

Here we will find build.grade file and change version of android app as mentioned below.

versionCode 4
versionName "4.0"

Note: make sure you make changes only to build.grade (Module: android.app), do not touch other build.grade files.

2. Via command change version of Android App

This technique is helpful and easy to change hybrid mobile App version for both Android and IOS by simply running one command.

Here, we need to install a plugin capacitor-set-version, click here

If you need to update the version in only one platform, you can use the commands “set:ios” or “set:android”, accordingly.

Examples setting version for Android & IOS:

# Set android version only
capacitor-set-version set:android -v 1.1.1 -b 100 ./my-app

# Set ios version only
capacitor-set-version set:ios -v 1.1.1 -b 100 ./my-app

Few more examples

# Set version to 1.2.3 and build number to 10 on current folder.
capacitor-set-version -v 1.2.3 -b 10

# Set version of project on folder ./my-app
capacitor-set-version -v 1.2.3 -b 10 ./my-app

# Set android only version and build number
capacitor-set-version set:android -v 1.2.3-rc1 -b 1546 ./my-app

# Set iOS version only
capacitor-set-version set:ios -v 1.2.3 -b 10 ./my-app
CADSLIST SEO BLOG

Recent Posts

The Best Spas in Dubai for the Ultimate Luxury Experience

A list of the best spas in Dubai that will relax your body and mind…

October 3, 2023

12 of The Best Make-Up Brands Available in Canada

Canada is a majestically beautiful country full of natural wonders and is also home to…

September 22, 2023

10 Best Makeup Brands in the United States

Here is a list of the Best USA Makeup Brands in 2023, that are safe…

September 20, 2023

The Best Australian Makeup Brands That You Need To Try

Here is a list of the Best Australian Makeup Brands in 2023, that are safe…

September 10, 2023

How to Create TikTok Content that can go Viral Easily?

Content creators always try hard to make their content reach a large number of followers…

September 8, 2023

Top Job Websites for Truck Drivers in Canada

Truck companies are constantly searching for people to fulfill their logistics, transportation, and supply chain…

August 11, 2023