ionic-team / ionic-team/ionic-cli
bug: Ionic AppId and other AppFlow information not added to platforms by Capacitor
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2k
- Forks
- 682
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
# 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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.