UNPKG

expo-notifications

Version:

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

10 lines 487 B
import { Options as BadginOptions } from 'badgin'; import { ProxyNativeModule } from 'expo-modules-core'; export type WebSetBadgeCountOptions = BadginOptions; type SetBadgeCountOptions = WebSetBadgeCountOptions | undefined; export interface BadgeModule extends ProxyNativeModule { getBadgeCountAsync?: () => Promise<number>; setBadgeCountAsync?: (badgeCount: number, options: SetBadgeCountOptions) => Promise<boolean>; } export {}; //# sourceMappingURL=BadgeModule.types.d.ts.map