From 26c5303fb6db2ac4ca28920c7336011b95060219 Mon Sep 17 00:00:00 2001 From: Rehan Date: Thu, 21 Sep 2023 11:34:24 +0500 Subject: [PATCH] removed callback from gcm --- .../customer/messagingpush/CustomerIOCloudMessagingReceiver.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/messagingpush/src/main/java/io/customer/messagingpush/CustomerIOCloudMessagingReceiver.kt b/messagingpush/src/main/java/io/customer/messagingpush/CustomerIOCloudMessagingReceiver.kt index 588da1f5a..d8739c582 100644 --- a/messagingpush/src/main/java/io/customer/messagingpush/CustomerIOCloudMessagingReceiver.kt +++ b/messagingpush/src/main/java/io/customer/messagingpush/CustomerIOCloudMessagingReceiver.kt @@ -4,7 +4,6 @@ import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import com.google.android.gms.cloudmessaging.CloudMessagingReceiver -import com.google.firebase.messaging.RemoteMessage import io.customer.messagingpush.di.pushMessageProcessor import io.customer.messagingpush.extensions.getSDKInstanceOrNull import io.customer.messagingpush.processor.PushMessageProcessor @@ -31,7 +30,5 @@ class CustomerIOCloudMessagingReceiver : BroadcastReceiver() { val sdkInstance = context.getSDKInstanceOrNull() ?: return sdkInstance.diGraph.pushMessageProcessor.processGCMMessageIntent(intent = intent) - - CustomerIOFirebaseMessagingService.onMessageReceived(context, RemoteMessage(intent.extras)) } }