From fa36916eb7756bd52634e406ca06cbf0e8091a8e Mon Sep 17 00:00:00 2001 From: Lidan Hifi Date: Tue, 19 Apr 2016 13:26:26 +0300 Subject: [PATCH] remove categories from pushkit registration (typo) --- example/index.ios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/index.ios.js b/example/index.ios.js index 9579a93..95fc1f3 100644 --- a/example/index.ios.js +++ b/example/index.ios.js @@ -51,7 +51,7 @@ class NotificationsExampleApp extends Component { NotificationsIOS.requestPermissions([cat]); NotificationsIOS.addEventListener('pushKitRegistered', this.onPushKitRegistered.bind(this)); - NotificationsIOS.registerPushKit([cat]); + NotificationsIOS.registerPushKit(); NotificationsIOS.addEventListener('notificationReceivedForeground', this.onNotificationReceivedForeground.bind(this)); NotificationsIOS.addEventListener('notificationReceivedBackground', this.onNotificationReceivedBackground.bind(this)); -- 2.26.2