Skip to content

Commit

Permalink
fix reference to push payload
Browse files Browse the repository at this point in the history
  • Loading branch information
arosiclair committed Apr 11, 2023
1 parent e8bc6a8 commit bee180d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/Notification/PushNotification/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bee180d

Please sign in to comment.