xref: /expo/packages/expo-notifications/src/NotificationsHandlerModule.ts (revision 68675f3e)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import { NativeModulesProxy, ProxyNativeModule } from '@unimodules/core';
2
3export interface NotificationBehavior {
4  shouldShowAlert: boolean;
5  shouldPlaySound: boolean;
6  shouldSetBadge: boolean;
7}
8
9export interface NotificationsHandlerModule extends ProxyNativeModule {
10  handleNotificationAsync: (
11    notificationId: string,
12    notificationBehavior: NotificationBehavior
13  ) => Promise<void>;
14}
15
16export default (NativeModulesProxy.ExpoNotificationsHandlerModule as any) as NotificationsHandlerModule;
17

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026