Installation
This guide will walk you through installing Source Push in your development environment.
Prerequisites
Before installing Source Push, ensure you have:
- Node.js (version 18.0 or higher)
- npm or yarn package manager
- React Native development environment set up
- A Source Push account (sign up at console.srcpush.com)
Installing the CLI
Install the Source Push CLI globally using npm:
npm install -g @srcpush/code-push-cli
Or using yarn:
yarn global add @srcpush/code-push-cli
Verify the installation:
srcpush -h
Installing the SDK
React Native SDK
Install the React Native SDK in your project:
npm install --save @srcpush/react-native-code-push
Or using yarn:
yarn add @srcpush/react-native-code-push
Platform-Specific Setup
After installing the SDK, you need to configure your iOS and Android projects. See the platform-specific setup guides:
Next Steps
After installation, you should:
For detailed API documentation, check out our API Reference.