diff --git a/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java b/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java index 8ff006080ba..622c44415b9 100644 --- a/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java +++ b/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java @@ -112,6 +112,11 @@ private void handleNotification() { return; // Exit early, notification will be processed in callback } + if (receivedEjson != null && receivedEjson.notificationType != null && receivedEjson.notificationType.equals("voip")) { + Log.d(TAG, "Notification is a voip notification, ignoring"); + return; + } + // For non-message-id-only notifications, process immediately processNotification(); }