UNPKG

expo-notifications

Version:

Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.

11 lines 444 B
import { NativeModule } from 'expo-modules-core'; export type PushTokenManagerModuleEvents = { onDevicePushToken: (params: { devicePushToken: string; }) => void; }; export declare class PushTokenManagerModule extends NativeModule<PushTokenManagerModuleEvents> { getDevicePushTokenAsync?: () => Promise<string>; unregisterForNotificationsAsync?: () => Promise<void>; } //# sourceMappingURL=PushTokenManager.types.d.ts.map