react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

onNotification function inside PushNotification.configure is only called when we click on or open a notification.

Open kaushikipandey opened this issue 3 years ago • 0 comments

Question

onNotification function is not getting called when we are receiving a notification but instead it is calling when we open a notification. we want this function to get call when we receive a notification or else, please suggest any other function which is called when we receive a notification, or how can i invoke any function when notification is received? Thank you!

kaushikipandey avatar Jul 28 '22 08:07 kaushikipandey