ionic-team / ionic-team/ionic-cli

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

Đang mở
#4,189 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.