Skip to content

Commit

Permalink
removed callback from gcm
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Sep 21, 2023
1 parent 6d35e77 commit 26c5303
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -31,7 +30,5 @@ class CustomerIOCloudMessagingReceiver : BroadcastReceiver() {
val sdkInstance = context.getSDKInstanceOrNull() ?: return

sdkInstance.diGraph.pushMessageProcessor.processGCMMessageIntent(intent = intent)

CustomerIOFirebaseMessagingService.onMessageReceived(context, RemoteMessage(intent.extras))
}
}

0 comments on commit 26c5303

Please sign in to comment.