How to use the react-native-voip-push-notification.wakeupByPush function in react-native-voip-push-notification

To help you get started, we’ve selected a few react-native-voip-push-notification examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github voximplant / react-native-demo / src / manager / PushManager.ios.js View on Github external
VoipPushNotification.addEventListener('notification', (notification) => {
            console.log('PushManager: ios: push notification is received: ' + notification);

            if (VoipPushNotification.wakeupByPush) {
                VoipPushNotification.wakeupByPush = false;
            }
            LoginManager.getInstance().pushNotificationReceived(notification.getData());
        });
    }

react-native-voip-push-notification

Ios PushKit for VoIP push notification on react-native

ISC
Latest version published 1 year ago

Package Health Score

58 / 100
Full package analysis