Ionic app not installing while another ionic app installed on device?
Ionic app not installing while another ionic app installed on device?
I have a Ionic OTP application and another one for work but while I am trying to install the two App in one device it is npt installing
APK Not installed
But Individually installing perfectly.
(Install one App after uninstall that install another One)
2 Answers
2
in your root drictory there have a file config.xml
open the file of two diffrent project
<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"></widget>
you will see the file have a line of code like this
change the id from the line
<widget id="starter2" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"></widget>
choice diffrent id and generate new apk
Hope every thing will be ok
You have to understand that an app is has a unique package name. You shall give a package name to only one app. Example : com.google.android.youtube. Change the package name that you gave to any one of the app in the config.xml file so both apps can be installed side by side.
com.google.android.youtube
config.xml
The code to be changed looks somewhat like this
<widget id="io.ionic.starter" version="0.0.1"></widget>
Change the id to something else for any one app.
id
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.