Commit fa36916e authored by Lidan Hifi's avatar Lidan Hifi

remove categories from pushkit registration (typo)

parent 19a11de3
...@@ -51,7 +51,7 @@ class NotificationsExampleApp extends Component { ...@@ -51,7 +51,7 @@ class NotificationsExampleApp extends Component {
NotificationsIOS.requestPermissions([cat]); NotificationsIOS.requestPermissions([cat]);
NotificationsIOS.addEventListener('pushKitRegistered', this.onPushKitRegistered.bind(this)); NotificationsIOS.addEventListener('pushKitRegistered', this.onPushKitRegistered.bind(this));
NotificationsIOS.registerPushKit([cat]); NotificationsIOS.registerPushKit();
NotificationsIOS.addEventListener('notificationReceivedForeground', this.onNotificationReceivedForeground.bind(this)); NotificationsIOS.addEventListener('notificationReceivedForeground', this.onNotificationReceivedForeground.bind(this));
NotificationsIOS.addEventListener('notificationReceivedBackground', this.onNotificationReceivedBackground.bind(this)); NotificationsIOS.addEventListener('notificationReceivedBackground', this.onNotificationReceivedBackground.bind(this));
......
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