From 9ef5e6f1c1352152e4b7f7414c7f578d9f679bab Mon Sep 17 00:00:00 2001 From: yogevbd Date: Mon, 7 Oct 2019 12:19:07 +0300 Subject: [PATCH] Fix documentation --- docs/general-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general-api.md b/docs/general-api.md index 24ebb75..1d536f9 100755 --- a/docs/general-api.md +++ b/docs/general-api.md @@ -44,5 +44,5 @@ Notifications.cancelLocalNotification(id); Check if the app has permissions to send remote notifications. ```js -const hasPermissions: boolean = await Notifications.getInitialNotification(); +const hasPermissions: boolean = await Notifications.isRegisteredForRemoteNotifications(); ``` -- 2.26.2