Rakesh Wadbudhe
Rakesh Wadbudhe

Reputation: 93

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

Upvotes: 5

Views: 3368

Answers (1)

sebaferreras
sebaferreras

Reputation: 44669

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.

Upvotes: 13

Related Questions