Configure React Native for Android
After installing React Native unified packages, complete Android setup.
Add Repository and Dependencies
Add the Marketing Cloud Android SDK Maven repository to your project android/build.gradle.
Configure Firebase
To provide Firebase Cloud Messaging credentials:
- Add
google-services.jsontoandroid/app. - Apply the Google Services plugin.
- If your app initializes Firebase manually, make sure that Firebase is initialized before the SDK initialization.
Initialize SDK in Application Startup
Configure the SDK in your main application (MainApplication.kt) using the multi-module ConfigBuilder pattern.
For detailed Android setup instructions, see Integrate the Android SDK.
Next Step
If your app provides cross-platform support, verify the iOS setup.