This article is a mirror article of machine translation, please click here to jump to the original article.

View: 13568|Reply: 1

[ionic] ionic modifies the android package name and ios appId

[Copy link]
Posted on 6/27/2018 11:06:05 AM | | |
Modified config.xml


id=xx, here xx can be replaced with what you want!

Then run the command



In this way, the android registration and ios appId will change.

Some tutorials on the Internet say that you have to modify the native code under the platform yourself, which is actually completely unnecessary.
The logic of ionic is that the code under the platform is completely automatically generated, and even if you change it, running ionic build will overwrite it for you.
And you can take a look at the .gitignore in the project, there must be these two lines



Even if it is modified, it cannot be brought up.





Previous:ionic project-related operation commands
Next:Baidu Maps applies for Android SDK key
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com