Cordova + Ionic framework - How to safely change package name?

后端 未结 5 1336
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 06:37

i would like to change default name of the installation package from default com.ionicframework.starterto com.something.something, how can i do it safe

5条回答
  •  长情又很酷
    2021-02-02 06:52

    You should make this change in the config.xml found at the root of your project. For example you might have something like this:

    
    

    Change the id to whatever you wish your package to be and it will work for the entire project, Android and iOS.

    However, if you've already submitted to the app store with a package name, you cannot change the package name at this point. Not unless you want to submit a new project. Updates must be made with matching package names.

    Regards,

提交回复
热议问题