Skip to content

Commit

Permalink
Merge pull request #17250 from Expensify/marcaaron-fixPushNotifications
Browse files Browse the repository at this point in the history
Fix notification interactions
  • Loading branch information
techievivek authored Apr 11, 2023
2 parents 7fc6dfc + ba89814 commit a177ba3
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 @@ -91,7 +91,7 @@ function init() {
// Note: the NotificationResponse event has a nested PushReceived event,
// so event.notification refers to the same thing as notification above ^
Airship.addListener(EventType.NotificationResponse, (event) => {
pushNotificationEventCallback(EventType.NotificationResponse, event.notification);
pushNotificationEventCallback(EventType.NotificationResponse, event.pushPayload);
});

// Keep track of which users have enabled push notifications via an NVP.
Expand Down

0 comments on commit a177ba3

Please sign in to comment.