Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
witchsky.app modules expo-background-notification-handler src ExpoBackgroundNotificationHandlerModule.web.ts
1.0 kB · 28 lines
TypeScript
at main
1234567891011121314151617181920212223242526272829import { BackgroundNotificationHandlerPreferences, ExpoBackgroundNotificationHandlerModule,} from './ExpoBackgroundNotificationHandler.types'
// Stub for webexport const BackgroundNotificationHandler = { getAllPrefsAsync: async () => { return {} as BackgroundNotificationHandlerPreferences }, getBoolAsync: async (_: string) => { return false }, getStringAsync: async (_: string) => { return '' }, getStringArrayAsync: async (_: string) => { return [] }, setBoolAsync: async (_: string, __: boolean) => {}, setStringAsync: async (_: string, __: string) => {}, setStringArrayAsync: async (_: string, __: string[]) => {}, addToStringArrayAsync: async (_: string, __: string) => {}, removeFromStringArrayAsync: async (_: string, __: string) => {}, addManyToStringArrayAsync: async (_: string, __: string[]) => {}, removeManyFromStringArrayAsync: async (_: string, __: string[]) => {}, setBadgeCountAsync: async (_: number) => {},} as ExpoBackgroundNotificationHandlerModule