Skip to content

Android

These are the instructions for the Hive SDK Android for setting up Notification.

Adding required libraries

Add the external libraries required to use the Hive SDK Notification feature to the module-level build.gradle file. Only add the push service you will be using. Here is an example of build.gradle:

dependencies {
   // Push, Amazon Device Messaging
   implementation "com.com2us.android.hive:hive-push-amazon-adm"
   // Push, Firebase Cloud Messaging
   implementation "com.com2us.android.hive:hive-push-google-fcm"
}

Console configuration: remote push

To use remote push, you need to obtain a push certificate from the Firebase console and register it in the Console.