You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support appId/appKey options for uploadIpa/uploadApk or configurable update.json path #67
In this setup, the app runtime can choose the correct appKey by package type, but the CLI native upload command still only recognizes the top-level platform keys.
Current workaround
Before running native baseline upload, we need to temporarily generate or rewrite update.json into the top-level shape expected by the CLI:
{
"ios": { "appId": 27, "appKey": "***" }
}
Then run:
cresc uploadIpa build.ipa --version 4.3.2-test.18
This works, but it is fragile in CI because update.json is both runtime config and CLI config.
cresc uploadIpa build.ipa --channel test --version 4.3.2-test.18
Then CLI could resolve:
updateConfig[channel][platform]
Implementation note
In react-native-update-cli@2.16.0, the internal native package upload code appears to already accept appId and appKey options, but the binary CLI command definitions for uploadIpa and uploadApk do not expose those options.
So exposing --appId and --appKey on these commands may be the smallest compatible change.
Activity
sunnylqm commentedon Jul 7, 2026
已实现
62ba0a2