Skip to content

Commit

Permalink
Fix incorrect method name header in api docs (#849)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mccullars committed Apr 24, 2022
1 parent d727df5 commit 8088a18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/api/general-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ Notifications.events().registerRemoteNotificationsRegistrationFailed((event: Reg
});
```

## registerRemoteNotificationsDenied()
## registerRemoteNotificationsRegistrationDenied()
Fired when the user does not grant permission to receive push notifications. Typically occurs when pressing the "Don't Allow" button in iOS permissions overlay.

```js
Notifications.events().registerRemoteNotificationRegistrationDenied(() => {
console.log('Notification permissions not granted')
})
```
```

0 comments on commit 8088a18

Please sign in to comment.