[ReactNative] unbreak Android

This commit is contained in:
Andrew Rasmussen 2015-03-16 18:13:06 -07:00
parent 1fbd5af704
commit 6fc5a78956
1 changed files with 3 additions and 1 deletions

View File

@ -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';