Commit c0227c54 authored by sportnak's avatar sportnak Committed by GitHub

Update README.md

Fix improper reference in readme.
parent a83c578c
...@@ -156,7 +156,7 @@ import NotificationsIOS from 'react-native-notifications'; ...@@ -156,7 +156,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