Setup project in the Firebase console and integrate it with your app.

Firebase integration instruction

Add FirebaseMessaging dependency to your app’s gradle file.

implementation ''

Enable FCM handling for SDK.

public class MyApp extends Application {

    public void onCreate() {
        ProxiCloudSdk.create(getApplicationContext(), "API_KEY"); //init SDK as usual

For SDK to access notification data you need to extend FirebaseMessagingService. We provide default implementation, but it has to be registered in the application’s manifest. Do it only if you don’t already extend this class as only one service will receive messages.

        <action android:name="" />

If you already have your own implementation, pass received message to the SDK. It will recognize which messages should be handled.

public class MyFirebaseMessagingService extends FirebaseMessagingService {

    public void onMessageReceived(RemoteMessage remoteMessage) {