Commit ee8813bd authored by Lidan Hifi's avatar Lidan Hifi

fix linting issues

parent bac11ebc
import {NativeModules, DeviceEventEmitter} from 'react-native';
import NotificationAndroid from './notification';
import {NativeModules, DeviceEventEmitter} from "react-native";
import NotificationAndroid from "./notification";
const RNNotifications = NativeModules.WixRNNotifications;
......@@ -9,7 +9,7 @@ let registrationTokenUpdateListener;
export class NotificationsAndroid {
static setRegistrationTokenUpdateListener(listener) {
registrationTokenUpdateListener = DeviceEventEmitter.addListener('remoteNotificationsRegistered', listener);
registrationTokenUpdateListener = DeviceEventEmitter.addListener("remoteNotificationsRegistered", listener);
}
static clearRegistrationTokenUpdateListener() {
......@@ -20,12 +20,12 @@ export class NotificationsAndroid {
}
static setNotificationOpenedListener(listener) {
notificationOpenedListener = DeviceEventEmitter.addListener('notificationOpened', (notification) => listener(new NotificationAndroid(notification)));
notificationOpenedListener = DeviceEventEmitter.addListener("notificationOpened", (notification) => listener(new NotificationAndroid(notification)));
}
static setNotificationReceivedListener(listener) {
notificationReceivedListener = DeviceEventEmitter.addListener('notificationReceived', (notification) => listener(new NotificationAndroid(notification)));
notificationReceivedListener = DeviceEventEmitter.addListener("notificationReceived", (notification) => listener(new NotificationAndroid(notification)));
}
static clearNotificationOpenedListener() {
......
......@@ -26,7 +26,7 @@
},
"peerDependencies": {
"react-native": ">=0.25.1",
"react": "^0.14.5"
"react": ">=0.14.5"
},
"devDependencies": {
"babel-eslint": "^6.0.2",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment