diff --git a/example/index.js b/example/index.js
index 776b78a..106fdde 100644
--- a/example/index.js
+++ b/example/index.js
@@ -26,7 +26,7 @@ class NotificationsExampleApp extends Component {
notifications: [...this.state.notifications, notification]
});
- completion({alert: notification.data.showAlert, sound: false, badge: false});
+ completion({alert: notification.payload.showAlert, sound: false, badge: false});
});
Notifications.events().registerRemoteNotificationOpened((notification, completion) => {
@@ -95,7 +95,7 @@ class NotificationsExampleApp extends Component {
{`Title: ${notification.title}`}
{`Body: ${notification.body}`}
- {`Extra Link Param: ${notification.data.link}`}
+ {`Extra Link Param: ${notification.payload.link}`}
);
}
@@ -105,7 +105,7 @@ class NotificationsExampleApp extends Component {
{`Title: ${notification.title}`}
{`Body: ${notification.body}`}
- {`Notification Clicked: ${notification.data.link}`}
+ {`Notification Clicked: ${notification.payload.link}`}
);
}