Skip to main content

requestPushNotificationPermission

Requests notification permission. Call this while the app is in the foreground.

Kind: Function
Package: @ovok/native

Import​

import { requestPushNotificationPermission } from '@ovok/native/background-sync';

TypeScript signatures​

(): Promise<PushNotificationPermissionStatus>

This symbol has no call parameters.

Learn the workflow​

Continue with Background Sync for the workflow context and examples.

Source​

View the declaration in the SDK source.