b8ne / react-native-pusher-push-notifications

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

Allow adding of the extra data parameter to the notification response #55

Closed vborisov closed 3 years ago

vborisov commented 4 years ago

Hey, b8ne, could you please add these tiny changes in order to allow possibility of reading the extra data parameters?

Regards

vborisov commented 3 years ago

A notification listener when the application is in background.

Humni commented 3 years ago

Resolves #57

Killerkiwi2005 commented 3 years ago

@Humni I've tested this on android, you do have to update the main activity and or splash screen to trigger correctly for a clicked notification but the data is passed through correctly, I think lets merge this and close PR #51 which only handles data when app has focus