From bee180deda735ad62a09765d769f1d762d017fc6 Mon Sep 17 00:00:00 2001 From: Andrew Rosiclair Date: Mon, 10 Apr 2023 21:28:06 -0400 Subject: [PATCH] fix reference to push payload --- src/libs/Notification/PushNotification/index.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/Notification/PushNotification/index.native.js b/src/libs/Notification/PushNotification/index.native.js index 0121ea058642..8556fd6194ec 100644 --- a/src/libs/Notification/PushNotification/index.native.js +++ b/src/libs/Notification/PushNotification/index.native.js @@ -85,7 +85,7 @@ function init() { PushNotification.setPushNotificationOptInStatus(true); } - pushNotificationEventCallback(EventType.PushReceived, notification); + pushNotificationEventCallback(EventType.PushReceived, notification.pushPayload); }); // Note: the NotificationResponse event has a nested PushReceived event,