diff --git a/docs/general-api.md b/docs/general-api.md index 24ebb7528ac803a8a76c94432ff707456cc3b966..1d536f972d67c3fd66c91941b65a540f5657c152 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(); ```