MCPcopy Create free account
hub / github.com/CommE2E/comm / clearAllNotifs

Method clearAllNotifs

native/push/push-handler.react.js:448–454  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

446 }
447
448 clearAllNotifs() {
449 if (Platform.OS === 'ios') {
450 CommIOSNotifications.removeAllDeliveredNotifications();
451 } else if (Platform.OS === 'android') {
452 CommAndroidNotifications.removeAllDeliveredNotifications();
453 }
454 }
455
456 clearNotifsOfThread() {
457 const { activeThread } = this.props;

Callers 1

componentDidUpdateMethod · 0.95

Calls 1

Tested by

no test coverage detected