问题描述
我想从默认的 com.ionicframework.starter
更改安装包的默认名称为 com.something.something
,我怎么能做到这一点安全吗?我应该修改?
i would like to change default name of the installation package from default com.ionicframework.starter
to com.something.something
, how can i do it safely please? What i should to edit?
感谢您的任何意见。
推荐答案
您应该在这变化的 config.xml中是在你的项目的根目录下找到。例如,你可能有这样的事情:
You should make this change in the config.xml found at the root of your project. For example you might have something like this:
<widget id="com.ionicframework.exampleproject223738" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
更改ID,以任何你想你的包是,它会为整个项目,Android和iOS的工作。
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.
问候,
这篇关于科尔多瓦+离子的框架 - 如何安全地更改包的名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!