expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
8 lines • 399 B
TypeScript
import { DevicePushToken } from './Tokens.types';
/**
* Returns a native FCM, APNs token or a [`PushSubscription` data](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription)
* that can be used with another push notification service.
* @header fetch
*/
export default function getDevicePushTokenAsync(): Promise<DevicePushToken>;
//# sourceMappingURL=getDevicePushTokenAsync.d.ts.map