ionic-team / ionic-team/ionic-cli

"integrations enable capacitor": Use project's App Id instead of starter

未关闭
#4,100 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
capacitor enhancement
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

Currently, running `ionic integrations enable capacitor` resolves to the following command:

> capacitor init "My Cool App" io.ionic.starter --npm-client npm

It correctly pulls the App Name ("My Cool App") from `config.xml` (or `ionic.config.json`?) but always uses `io.ionic.starter` for the App Id instead of what is configured in `config.xml` id field, like so:

`
`

It would be great to use the project's App Id instead of this default value since a unique App Id has to be set to build the app for iOS/Android.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。