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 Hive SDK notifications 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"
}

Hive console configuration: remote push

To use Remote Push, you need to obtain a Push certificate from Google Console and register it in the Hive Console.