Add an App
Requirements
Before getting started with CodePushGo, make sure you have:
- A React Native app installed and configured. Learn how to set up React Native
- Node.js 18 or later installed
Introduction to CodePushGo
Live updates are 3 step away
Guided setup
-
Create your account at https://codepushgo.com/register.
-
Use the Init commands to get started
You will be presented with a series of questions. Provide the necessary answers to complete the automated setup.Terminal window npx @codepushgo/cli@latest init [APIKEY] -
Deploy a live update
Deploy a live update Learn how to deploy a live update to your app
Manual setup
In case the init command doesn’t work for you, you can manually add an app.
-
Connect the CLI to your account:
Terminal window npx @codepushgo/cli@latest login [APIKEY] -
Add the app to your account with this command:
Terminal window npx @codepushgo/cli@latest app add [APP_NAME] -
Install the plugin in your app:
Terminal window npm i @codepushgo/capacitor-updater -
Call the init method as early as possible in your app:
import { React NativeUpdater } from '@codepushgo/capacitor-updater';React NativeUpdater.notifyAppReady(); -
Deploy a live update
Deploy a live update Learn how to deploy a live update to your app