We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4cf660f + e872ab2 commit 43e632eCopy full SHA for 43e632e
index.js
@@ -3,6 +3,7 @@
3
import {
4
NativeModules,
5
DeviceEventEmitter,
6
+ Platform,
7
} from 'react-native';
8
9
var RNVoipPushNotificationManager = NativeModules.RNVoipPushNotificationManager;
@@ -16,7 +17,7 @@ var DEVICE_LOCAL_NOTIF_EVENT = 'voipLocalNotificationReceived';
16
17
18
export default class RNVoipPushNotification {
19
- static wakeupByPush = (RNVoipPushNotificationManager.wakeupByPush === 'true');
20
+ static wakeupByPush = (Platform.OS == 'ios' && RNVoipPushNotificationManager.wakeupByPush === 'true');
21
22
/**
23
* Schedules the localNotification for immediate presentation.
0 commit comments