mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 17:21:11 +08:00
[ReactNative] unbreak Android
This commit is contained in:
@@ -9,8 +9,10 @@ var NativeModules = require('NativeModules');
|
||||
var RCTDeviceEventEmitter = require('RCTDeviceEventEmitter');
|
||||
|
||||
var RCTPushNotificationManager = NativeModules.RCTPushNotificationManager;
|
||||
if (RCTPushNotificationManager) {
|
||||
var _initialNotification = RCTPushNotificationManager.initialNotification;
|
||||
}
|
||||
|
||||
var _initialNotification = RCTPushNotificationManager.initialNotification;
|
||||
var _notifHandlers = {};
|
||||
|
||||
var DEVICE_NOTIF_EVENT = 'remoteNotificationReceived';
|
||||
|
||||
Reference in New Issue
Block a user