UNPKG

expo-notifications

Version:

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

8 lines (5 loc) 248 B
import { requireNativeModule } from 'expo-modules-core'; import type { ServerRegistrationModule } from './ServerRegistrationModule.types'; export default requireNativeModule<ServerRegistrationModule>( 'NotificationsServerRegistrationModule' );