From 8088a1899701a84763b442c447232ee936543ec8 Mon Sep 17 00:00:00 2001 From: David McCullars Date: Sun, 24 Apr 2022 04:34:21 -0500 Subject: [PATCH] Fix incorrect method name header in api docs (#849) --- website/docs/api/general-events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/general-events.md b/website/docs/api/general-events.md index e7ce7cefd..2da9f1225 100755 --- a/website/docs/api/general-events.md +++ b/website/docs/api/general-events.md @@ -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') }) -``` \ No newline at end of file +```