UNPKG

expo-notifications

Version:

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

7 lines (5 loc) 251 B
import { ProxyNativeModule } from 'expo-modules-core'; export interface TopicSubscriptionModule extends ProxyNativeModule { subscribeToTopicAsync?: (topic: string) => Promise<null>; unsubscribeFromTopicAsync?: (topic: string) => Promise<null>; }