How to use the react-native-calendar-events.removeEvent function in react-native-calendar-events

To help you get started, we’ve selected a few react-native-calendar-events examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Vizards / uestc-react-native-ios / scene / Course / containers / Calendar.js View on Github external
await allEvents.forEach(async item => {
      if (item.notes === '由应用UESTC创建') {
        await RNCalendarEvents.removeEvent(item.id, {
          futureEvents: true
        });
      }
    });
  };