Before Getting Started

Overview

This guide walks you through setting up the Clix SDK in a React Native project using Expo. It covers all required steps including installing dependencies, configuring Firebase, and initializing the SDK. By following this quickstart, you can send your first notification in just a few minutes. The instructions assume you have an existing Expo project and a Firebase setup ready to use.
Prerequisites
  1. Have an Expo project created using the latest Expo CLI.
  2. Create or use an existing Firebase project in the Firebase Console.
  3. Note your Android package name and iOS bundle identifier, matching your app.json setup (Expo will prompt if missing).

Install React Native Firebase

You can skip this step if you already integrate React Native Firebase.
Make sure your React Native Expo project is using expo-dev-client with a local development build (not the standard Expo Go app).This is required to enable platform-native features such as push notifications.If your project isn’t using expo-dev-client yet, run the following script to install it:
 npx expo install expo-dev-client

1. Install React Native Firebase Core Module

2. Add Firebase Config Files

3. Build and Run

Install React Native Firebase

1. Install Clix Dependency

2. Add Clix Initialize Code

3. Build and Run