react-native-sdk icon indicating copy to clipboard operation
react-native-sdk copied to clipboard

getLastPushPayload returns `null` for Android

Open santomegonzalo opened this issue 1 year ago • 0 comments

Hi Team,

We are using Iterable to receive push notifications. Everything looks great so far on iOS but we are having some issues on Android.

On iOS, when we call getLastPushPayload we get the data for the last Push Notification so we can access the raw json information to decide what screen to show.

When we call getLastPushPayload on Android, we get null. I'm debugging the code and IterablePushNotificationUtil is not getting called.

Does anybody know whats going on?

Thanks!

santomegonzalo avatar Jul 07 '23 10:07 santomegonzalo