Skip to content

Commit

Permalink
Merge pull request #17251 from Expensify/arosiclair-push-received-fix
Browse files Browse the repository at this point in the history
Fix Airship PushReceived handler
  • Loading branch information
amyevans authored Apr 11, 2023
2 parents 99292fc + bee180d commit d412981
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 d412981

Please sign in to comment.