diff --git a/example/index.ios.js b/example/index.ios.js index 9579a93c935d483e815881fa93ae9d120eef08a6..95fc1f325505661fdc9aabfc08f46cf2dce91b0c 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));