b8ne / react-native-pusher-push-notifications

Manage pusher interest subscriptions and notification events in Javascript.
MIT License
97 stars 85 forks source link

Android: read extra data from remote notifications #51

Closed GabrielePrestifilippo closed 3 years ago

GabrielePrestifilippo commented 4 years ago

This PR allows reading extra data sent from push notifications on Android (see data field).

I am not able to write or test the corresponding for iOS atm. Anyone is welcome to check that.

I've tested as well with the 0.60.x PR (#48), and it would be even good to have it in there.

hpaul commented 4 years ago

I've had same problem on Android, could not receive payload data of notification. Forked a fork of this repo. https://github.com/hpaul/react-native-pusher-push-notifications

@b8ne Can you accept this PR?

b8ne commented 4 years ago

Hey @hpaul I just merged #48 and there looks to be a few conflicts now. Can you review and I will try to merge ASAP.

Humni commented 3 years ago

Superseded by #55