Initialize the SDK with Your Credentials

Learn how to initialize the Brand Messenger SDK with your Android project

Once the sync is successful, initialize the BrandMessenger SDK in MainApplication's onCreate.

In the examples below, replace:

  • ANDROID_INTEGRATION_ID with your Android integration ID.
Settings settings = new Settings(ANDROID_INTEGRATION_ID);
BrandMessenger.init(this, settings, new BrandMessengerCallback<InitializationStatus>() {
    public void run(@NonNull Response<InitializationStatus> response) {

Did this page help you?