com.awareframework.ios.sensor.calendar is an AWARE Framework sensor plugin for reading iOS Calendar events through EventKit.
Add calendar usage descriptions to the host app's Info.plist.
NSCalendarsUsageDescriptionfor iOS 16 and earlier.NSCalendarsFullAccessUsageDescriptionfor iOS 17 and later.
let sensor = CalendarSensor(CalendarSensor.Config().apply { config in
config.pastDays = 30
config.futureDays = 30
config.includeNotes = false
})
sensor.start()
sensor.sync()
sensor.stop()includeNotes defaults to false because calendar notes often contain sensitive text.