UNPKG

expo-notifications

Version:

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

8 lines (6 loc) 330 B
import { ProxyNativeModule } from 'expo-modules-core'; export interface ServerRegistrationModule extends ProxyNativeModule { getInstallationIdAsync?: () => Promise<string>; getRegistrationInfoAsync?: () => Promise<string | undefined | null>; setRegistrationInfoAsync?: (registrationInfo: string | null) => Promise<void>; }