ionic-team / ionic-team/ionic-cli

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

オープン
#4,189 コメント 3 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。