about summary refs log tree commit diff
path: root/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandlerModule.ts
diff options
context:
space:
mode:
Diffstat (limited to 'modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandlerModule.ts')
-rw-r--r--modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandlerModule.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandlerModule.ts b/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandlerModule.ts
new file mode 100644
index 000000000..d6517893a
--- /dev/null
+++ b/modules/expo-background-notification-handler/src/ExpoBackgroundNotificationHandlerModule.ts
@@ -0,0 +1,8 @@
+import {requireNativeModule} from 'expo-modules-core'
+
+import {ExpoBackgroundNotificationHandlerModule} from './ExpoBackgroundNotificationHandler.types'
+
+export const BackgroundNotificationHandler =
+  requireNativeModule<ExpoBackgroundNotificationHandlerModule>(
+    'ExpoBackgroundNotificationHandler',
+  )