expo-quest-notifications
Version:
A fork of [`expo-notifications`](https://github.com/expo/expo/tree/main/packages/expo-notifications) that provides two implementations: - The default `expo-notifications` for Android and iOS platforms. - A Meta Quest-compatible implementation that uses th
12 lines • 461 B
JavaScript
import { Platform } from 'expo-modules-core';
let warningHasBeenShown = false;
export default {
addListener: () => {
if (!warningHasBeenShown) {
console.warn(`[expo-notifications] Emitting notifications is not yet fully supported on ${Platform.OS}. Adding a listener will have no effect.`);
warningHasBeenShown = true;
}
},
removeListeners: () => { },
};
//# sourceMappingURL=NotificationsEmitterModule.js.map