From 0c71c261cc5ab7b8363a42fff03e6c1a574a2f58 Mon Sep 17 00:00:00 2001 From: Ryan Homer Date: Fri, 8 Jul 2016 13:33:13 -0700 Subject: [PATCH] Update to work with react-native-system-notification/rn0.29.0 --- android/src/main/java/com/oney/gcm/BackgroundService.java | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/src/main/java/com/oney/gcm/BackgroundService.java b/android/src/main/java/com/oney/gcm/BackgroundService.java index 7c1a1dc..f4d79d7 100644 --- a/android/src/main/java/com/oney/gcm/BackgroundService.java +++ b/android/src/main/java/com/oney/gcm/BackgroundService.java @@ -31,7 +31,7 @@ public int onStartCommand(Intent intent, int flags, int startId) { .setJSMainModuleName("index.android") .addPackage(new MainReactPackage()) .addPackage(new GcmPackage(intent)) - .addPackage(new NotificationPackage(null)) + .addPackage(new NotificationPackage()) .setUseDeveloperSupport(getBuildConfigDEBUG()) .setInitialLifecycleState(LifecycleState.RESUMED) .build(); diff --git a/package.json b/package.json index 244643d..ac5fbe3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-gcm-android", - "version": "0.1.9", + "version": "0.2.0", "repository": { "type": "git", "url": "git+https://github.com/oney/react-native-gcm-android.git" @@ -16,7 +16,7 @@ "GCM" ], "peerDependencies": { - "react-native": ">=0.11.0", - "react-native-system-notification": "^0.1.2" + "react-native": ">=0.29.0", + "react-native-system-notification": "^0.2.0" } }