Setup

Adding the Dependencies

Please, add Maven jitpack repository into your project-level build.gradle file as shown below:

allprojects { repositories { ... maven { url 'https://jitpack.io' } } }

You can add the dependency of relateddigital-android library into your module-level build.gradle file as shown below:

implementation 'com.github.relateddigital:relateddigital-android:1.0.0'

You can check the SDK releases and what’s changed during the releases on the github repository.

Integration of FCM and HMS to RMC

You can skip this part if you are not going to use mobile notification and geofencing features.

Firebase Integration

Create a new project (unless you have one already) on Firebase Console.

Go to Settings/Project Settings on the console.

Copy the Server Key value under Cloud Messaging tab on the Settings page.

You should paste this Server Key value to the field of Server Key on RMC panel after you click on Settings / Campaign Settings / Push Applications / New Android Applications. After you input the necessary information for your application on this page, click on Add button and create your application on RMC panel.

You can see the details on this link about creating an application on RMC panel.

Huawei Integration

Create an application (unless you have one already) on Huawei Developer Console.

Enable Push Kit for your project.

Go to Project Setting → General Information

Copy the App ID and App Secret value and go to RMC panel. Click on Settings / Campaign Settings / Push Applications / New Huawei Application.

Paste the App ID and App Secret that were taken from Huawei Console.

Example Application

RelatedDigital Example Application

Copyright 2020 Related Digital