Home > Net >  Why application built with Ionic Framework substitute another Ionic app while installation on Androi
Why application built with Ionic Framework substitute another Ionic app while installation on Androi

Time:12-31

I developed a few apps with Ionic framework (Angular). When I build an .apk file and install it to Android device then the new one app substitute (delete the old one) the old one installed earlier. When I develop native app in Android Studio I have no such an issue.

I searched Ionic documentation but this issue is not found. I have only suggestions that the issue will resolve after building with some flag (ex. --release) or signing the app's apk-file.

CodePudding user response:

You must change the package name in the config.xml. because the new one have the same package name of the other apps .

CodePudding user response:

Your app probably has a package named 'com.example.app' in config.xml, so you have to change to something along those lines, like 'com.dziamid.thatawesomeapp', then your next app will have a package 'com.dziamid.evenmoreawesomeapp' etc. If you're on capacitor, check capacitor.config.json too, for appId and appName.

  • Related