From ee8813bd4b1f5eca07d620f23191506ed646e837 Mon Sep 17 00:00:00 2001 From: Lidan Hifi Date: Mon, 21 Nov 2016 15:27:32 +0200 Subject: [PATCH] fix linting issues --- index.android.js | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.android.js b/index.android.js index 36d4292..02dd5b0 100644 --- a/index.android.js +++ b/index.android.js @@ -1,5 +1,5 @@ -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() { diff --git a/package.json b/package.json index ec648ba..f5b8577 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "peerDependencies": { "react-native": ">=0.25.1", - "react": "^0.14.5" + "react": ">=0.14.5" }, "devDependencies": { "babel-eslint": "^6.0.2", -- 2.26.2