ionic-team / ionic-team/ionic-cli

bug: Ionic AppId and other AppFlow information not added to platforms by Capacitor

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

描述

# Bug Report

## Capacitor Version

Latest Dependencies:
@capacitor/cli: 1.2.1
@capacitor/core: 1.2.1
@capacitor/android: 1.2.1
@capacitor/ios: 1.2.1

Installed Dependencies:
@capacitor/cli 1.2.1
@capacitor/ios 1.2.1
@capacitor/android 1.2.1
@capacitor/core 1.2.1

## Affected Platform(s)
- [ ] Android
- [ ] iOS
- [ ] Electron
- [ ] Web

## Current Behavior

When adding a new platform with `npx cap add ios` or `npx cap add android`, the Ionic App Id, Channel Name, and Update Method, are not saved to the newly added platform.

## Expected Behavior

When adding a new platform, the existing Ionic App Id, Channel Name, and Update Method should also be considered when adding

## Reproduction Steps

- Create a new Ionic project (tested with Ionic React)
- Add Capacitor to project
- Build Project `ionic build`
- Install Android (or any other) platform `npx cap add android`
- Install AppFlow SDK: `ionic deploy add --app-id="YOUR_APP_ID" --channel-name="YOUR_CHANNEL_NAME" --update-method="auto" `
- Add ios platform `npx cap add ios`

The Ionic AppId and other information are not copied to the ios project folder

## Other Information

The Ionic AppId can be retrieved by Capacitor from the `ionic.config.json` file. However, the Channel Name and Update Method are not saved anywhere when installing the AppFlow SDK.
I believe this is also a bug with the AppFlow SDK, that should save this information so it can be read by Capacitor when adding a new platform

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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