ionic-team / ionic-team/ionic-cli

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

Abierto
#4,189 3 comentarios 0 reacciones 0 asignados Ver en GitHub
triage
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
682
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

# 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.