but local Notification listener is not logging out any notifications:
VoipPushNotification.addEventListener('localNotification', (notification) => {
// --- when user click local push
console.log('Local Notification:::', notification)
});
I've enabled push notification, Background mode (VoIP notification, Background fetch, and Remote notification) from xCode capabilities. I'm using RN0.59.10. Is there something I'm missing?
I'm working with iOS for VoIP notification and I've used react-native-voip-push-notification to handle my VoIP notification.
I'm able to trigger localNotification using the following code:
but local Notification listener is not logging out any notifications:
I've enabled push notification, Background mode (VoIP notification, Background fetch, and Remote notification) from xCode capabilities. I'm using RN0.59.10. Is there something I'm missing?
Thanks in advance
30