expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
15 lines (12 loc) • 362 B
text/typescript
import type { TopicSubscriptionModule } from './TopicSubscriptionModule.types';
const module: Required<TopicSubscriptionModule> = {
addListener: () => {},
removeListeners: () => {},
subscribeToTopicAsync: () => {
return Promise.resolve(null);
},
unsubscribeFromTopicAsync: () => {
return Promise.resolve(null);
},
};
export default module;