Account Setup
Turn on CodePush for an app in the CodeOnAir dashboard, copy the Android and iOS deployment keys and server URL, and create a CLI access key.
Three things to collect before you touch code: your deployment keys, the server URL (https://app.codeonair.com), and a CLI access key. CodePush works with React Native apps only.
Sign in to CodeOnAir#
Sign in to the dashboard. New here? Create your account, workspace and app first — see Getting Started.
Set up CodePush#
- Open your app and choose CodePush → Android (or iOS) in the sidebar.
- Click Set up CodePush (admins and the owner). The app gets one deployment for Android and one for iOS, each with its own key.
- Each platform's page now shows its configuration steps with the key and server URL filled in. Copy the two values:
Value Goes in CodePushDeploymentKeystrings.xml (Android) and Info.plist (iOS) — a different key per platform CodePushServerUrlstrings.xml, and CodePushServerURLin Info.plist
Once a platform has its first release, the setup steps make room for the release list. The key stays one click away: Deployment key at the top right of the page.
Create a CLI access key#
Click your avatar at the top right → CLI access keys. Give the key a name you'll recognise (“MacBook”, “GitHub Actions”), click Create key and copy it — it's shown once. The CLI uses it to release; revoke it any time, and create a separate key for each machine and CI.
Next: add the SDK to your project.