Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install two different app on android device using Ionic

I am installing an app on an android device using the following command.

"ionic cordova run android"

but when I am installing another app, it is replacing the old app.

so please tell me the solution so that old and another new app both should be there in android device

like image 658
Rakesh Wadbudhe Avatar asked Dec 14 '22 22:12

Rakesh Wadbudhe


1 Answers

Please check the config.xml file, and change the id of the app:

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

That way, it will be considered as a different app and will not replace the previous one.

like image 56
sebaferreras Avatar answered Dec 20 '22 18:12

sebaferreras