Commit 3ed3cfcf authored by Rotem Mizrachi-Meidan's avatar Rotem Mizrachi-Meidan Committed by GitHub

Merge pull request #41 from sportnak/patch-2

Update README.md
parents f3c4b0af c0227c54
...@@ -155,7 +155,7 @@ import NotificationsIOS from 'react-native-notifications'; ...@@ -155,7 +155,7 @@ import NotificationsIOS from 'react-native-notifications';
class App extends Component { class App extends Component {
constructor() { constructor() {
NotificationsIOS.addEventListener('remoteNotificationsRegistered', this.onPushRegistered.bind(this)); NotificationsIOS.addEventListener('remoteNotificationsRegistered', this.onPushRegistered.bind(this));
NotificationsIOS.addEventListener('remoteNotificationsRegistrationFailed', this.onPushRegistrationFaled.bind(this)); NotificationsIOS.addEventListener('remoteNotificationsRegistrationFailed', this.onPushRegistrationFailed.bind(this));
NotificationsIOS.requestPermissions(); NotificationsIOS.requestPermissions();
} }
......
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