expo-calendar 15.0.4 → 15.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/android/build.gradle +2 -2
- package/build/Calendar.d.ts +6 -0
- package/build/Calendar.d.ts.map +1 -1
- package/build/Calendar.js.map +1 -1
- package/expo-module.config.json +1 -1
- package/ios/CalendarModule.swift +4 -2
- package/ios/CalendarUtils.swift +4 -2
- package/ios/Records/CalendarRecords.swift +2 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4.module → 15.0.5/expo.modules.calendar-15.0.5.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4.pom → 15.0.5/expo.modules.calendar-15.0.5.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.5/expo.modules.calendar-15.0.5.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/src/Calendar.ts +6 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.calendar/15.0.4/expo.modules.calendar-15.0.4.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4-sources.jar → 15.0.5/expo.modules.calendar-15.0.5-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4-sources.jar.md5 → 15.0.5/expo.modules.calendar-15.0.5-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4-sources.jar.sha1 → 15.0.5/expo.modules.calendar-15.0.5-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4-sources.jar.sha256 → 15.0.5/expo.modules.calendar-15.0.5-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4-sources.jar.sha512 → 15.0.5/expo.modules.calendar-15.0.5-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4.aar → 15.0.5/expo.modules.calendar-15.0.5.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4.aar.md5 → 15.0.5/expo.modules.calendar-15.0.5.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4.aar.sha1 → 15.0.5/expo.modules.calendar-15.0.5.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4.aar.sha256 → 15.0.5/expo.modules.calendar-15.0.5.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.calendar/{15.0.4/expo.modules.calendar-15.0.4.aar.sha512 → 15.0.5/expo.modules.calendar-15.0.5.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 15.0.5 — 2025-08-28
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- [iOS] Added support for all‑day reminders ([#39028](https://github.com/expo/expo/pull/39028)) by [@dominik-miskovic](https://github.com/dominik-miskovic)
|
|
18
|
+
|
|
13
19
|
## 15.0.4 — 2025-08-27
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
package/build/Calendar.d.ts
CHANGED
|
@@ -332,6 +332,12 @@ export type Reminder = {
|
|
|
332
332
|
* Date object or string representing the time when the reminder task is due.
|
|
333
333
|
*/
|
|
334
334
|
dueDate?: string | Date;
|
|
335
|
+
/**
|
|
336
|
+
* Indicates if the reminder has a time specified for the due date.
|
|
337
|
+
*
|
|
338
|
+
* @platform ios
|
|
339
|
+
*/
|
|
340
|
+
allDay?: boolean;
|
|
335
341
|
/**
|
|
336
342
|
* Indicates whether or not the task has been completed.
|
|
337
343
|
*/
|
package/build/Calendar.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../src/Calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA6C,MAAM,mBAAmB,CAAC;AAKlG,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAG3B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAGF;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,YA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IACH,SAAS,cAAc;IACvB;;OAEG;IACH,SAAS,cAAc;IACvB;;OAEG;IACH,UAAU,cAAc;IACxB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,IAAI,SAAS;CACd;AAGD,oBAAY,YAAY;IACtB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,MAAM,WAAW;IACjB;;OAEG;IACH,IAAI,SAAS;IACb;;OAEG;IACH,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB;;OAEG;IACH,QAAQ,aAAa;IACrB;;OAEG;IACH,QAAQ,aAAa;IACrB;;OAEG;IACH,IAAI,SAAS;CACd;AAGD;;GAEG;AACH,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAGD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAGD;;GAEG;AACH,oBAAY,mBAAmB;IAC7B,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAGD;;GAEG;AACH,oBAAY,cAAc;IACxB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC1B"}
|
package/build/Calendar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../src/Calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAClG,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAEL,gBAA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AC,EAAE,EAAuB,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["import { PermissionResponse, createPermissionHook, UnavailabilityError } from 'expo-modules-core';\nimport { Platform, processColor } from 'react-native';\n\nimport ExpoCalendar from './ExpoCalendar';\n\nexport {\n PermissionResponse,\n PermissionStatus,\n PermissionHookOptions,\n PermissionExpiration,\n} from 'expo-modules-core';\n\n// @needsAudit\n/**\n * @platform ios\n */\nexport type RecurringEventOptions = {\n /**\n * Whether future events in the recurring series should also be updated. If `true`, will\n * apply the given changes to the recurring instance specified by `instanceStartDate` and all\n * future events in the series. If `false`, will only apply the given changes to the instance\n * specified by `instanceStartDate`.\n */\n futureEvents?: boolean;\n /**\n * Date object representing the start time of the desired instance, if looking for a single instance\n * of a recurring event. If this is not provided and **id** represents a recurring event, the first\n * instance of that event will be returned by default.\n */\n instanceStartDate?: string | Date;\n};\n\ntype Organizer = {\n isCurrentUser: boolean;\n name?: string;\n role: string;\n status: string;\n type: string;\n url?: string;\n};\n\n// @needsAudit\n/**\n * A calendar record upon which events (or, on iOS, reminders) can be stored. Settings here apply to\n * the calendar as a whole and how its events are displayed in the OS calendar app.\n */\nexport type Calendar = {\n /**\n * Internal ID that represents this calendar on the device.\n */\n id: string;\n /**\n * Visible name of the calendar.\n */\n title: string;\n /**\n * ID of the source to be used for the calendar. Likely the same as the source for any other\n * locally stored calendars.\n * @platform ios\n */\n sourceId?: string;\n /**\n * Object representing the source to be used for the calendar.\n */\n source: Source;\n /**\n * Type of calendar this object represents.\n * @platform ios\n */\n type?: CalendarType;\n /**\n * Color used to display this calendar's events.\n */\n color: string;\n /**\n * Whether the calendar is used in the Calendar or Reminders OS app.\n * @platform ios\n */\n entityType?: EntityTypes;\n /**\n * Boolean value that determines whether this calendar can be modified.\n */\n allowsModifications: boolean;\n /**\n * Availability types that this calendar supports.\n */\n allowedAvailabilities: Availability[];\n /**\n * Boolean value indicating whether this is the device's primary calendar.\n * @platform android\n */\n isPrimary?: boolean;\n /**\n * Internal system name of the calendar.\n * @platform android\n */\n name?: string | null;\n /**\n * Name for the account that owns this calendar.\n * @platform android\n */\n ownerAccount?: string;\n /**\n * Time zone for the calendar.\n * @platform android\n */\n timeZone?: string;\n /**\n * Alarm methods that this calendar supports.\n * @platform android\n */\n allowedReminders?: AlarmMethod[];\n /**\n * Attendee types that this calendar supports.\n * @platform android\n */\n allowedAttendeeTypes?: AttendeeType[];\n /**\n * Indicates whether the OS displays events on this calendar.\n * @platform android\n */\n isVisible?: boolean;\n /**\n * Indicates whether this calendar is synced and its events stored on the device.\n * Unexpected behavior may occur if this is not set to `true`.\n * @platform android\n */\n isSynced?: boolean;\n /**\n * Level of access that the user has for the calendar.\n * @platform android\n */\n accessLevel?: CalendarAccessLevel;\n};\n\n// @needsAudit\n/**\n * A source account that owns a particular calendar. Expo apps will typically not need to interact with `Source` objects.\n */\nexport type Source = {\n /**\n * Internal ID that represents this source on the device.\n * @platform ios\n */\n id?: string;\n /**\n * Type of the account that owns this calendar and was used to sync it to the device.\n * If `isLocalAccount` is falsy then this must be defined, and must match an account on the device\n * along with `name`, or the OS will delete the calendar.\n * On iOS, one of [`SourceType`](#sourcetype)s.\n */\n type: string | SourceType;\n /**\n * Name for the account that owns this calendar and was used to sync the calendar to the device.\n */\n name: string;\n /**\n * Whether this source is the local phone account. Must be `true` if `type` is `undefined`.\n * @platform android\n */\n isLocalAccount?: boolean;\n};\n\n// @needsAudit\n/**\n * An event record, or a single instance of a recurring event. On iOS, used in the Calendar app.\n */\nexport type Event = {\n /**\n * Internal ID that represents this event on the device.\n */\n id: string;\n /**\n * ID of the calendar that contains this event.\n */\n calendarId: string;\n /**\n * Visible name of the event.\n */\n title: string;\n /**\n * Location field of the event.\n */\n location: string | null;\n /**\n * Date when the event record was created.\n * @platform ios\n */\n creationDate?: string | Date;\n /**\n * Date when the event record was last modified.\n * @platform ios\n */\n lastModifiedDate?: string | Date;\n /**\n * Time zone the event is scheduled in.\n */\n timeZone: string;\n /**\n * Time zone for the event end time.\n * @platform android\n */\n endTimeZone?: string;\n /**\n * URL for the event.\n * @platform ios\n */\n url?: string;\n /**\n * Description or notes saved with the event.\n */\n notes: string;\n /**\n * Array of Alarm objects which control automated reminders to the user.\n */\n alarms: Alarm[];\n /**\n * Object representing rules for recurring or repeating events. Set to `null` for one-time events.\n */\n recurrenceRule: RecurrenceRule | null;\n /**\n * Date object or string representing the time when the event starts.\n */\n startDate: string | Date;\n /**\n * Date object or string representing the time when the event ends.\n */\n endDate: string | Date;\n /**\n * For recurring events, the start date for the first (original) instance of the event.\n * @platform ios\n */\n originalStartDate?: string | Date;\n /**\n * Boolean value indicating whether or not the event is a detached (modified) instance of a recurring event.\n * @platform ios\n */\n isDetached?: boolean;\n /**\n * Whether the event is displayed as an all-day event on the calendar\n */\n allDay: boolean;\n /**\n * The availability setting for the event.\n */\n availability: Availability;\n /**\n * Status of the event.\n */\n status: EventStatus;\n /**\n * Organizer of the event.\n * This property is only available on events associated with calendars that are managed by a service ie. Google Calendar or iCloud.\n * The organizer is read-only and cannot be set.\n *\n * @platform ios\n */\n organizer?: Organizer;\n /**\n * Email address of the organizer of the event.\n * @platform android\n */\n organizerEmail?: string;\n /**\n * User's access level for the event.\n * @platform android\n */\n accessLevel?: EventAccessLevel;\n /**\n * Whether invited guests can modify the details of the event.\n * @platform android\n */\n guestsCanModify?: boolean;\n /**\n * Whether invited guests can invite other guests.\n * @platform android\n */\n guestsCanInviteOthers?: boolean;\n /**\n * Whether invited guests can see other guests.\n * @platform android\n */\n guestsCanSeeGuests?: boolean;\n /**\n * For detached (modified) instances of recurring events, the ID of the original recurring event.\n * @platform android\n */\n originalId?: string;\n /**\n * For instances of recurring events, volatile ID representing this instance. Not guaranteed to\n * always refer to the same instance.\n * @platform android\n */\n instanceId?: string;\n};\n\n// @needsAudit\n/**\n * A reminder record, used in the iOS Reminders app. No direct analog on Android.\n * @platform ios\n */\nexport type Reminder = {\n /**\n * Internal ID that represents this reminder on the device.\n */\n id?: string;\n /**\n * ID of the calendar that contains this reminder.\n */\n calendarId?: string;\n /**\n * Visible name of the reminder.\n */\n title?: string;\n /**\n * Location field of the reminder\n */\n location?: string;\n /**\n * Date when the reminder record was created.\n */\n creationDate?: string | Date;\n /**\n * Date when the reminder record was last modified.\n */\n lastModifiedDate?: string | Date;\n /**\n * Time zone the reminder is scheduled in.\n */\n timeZone?: string;\n /**\n * URL for the reminder.\n */\n url?: string;\n /**\n * Description or notes saved with the reminder.\n */\n notes?: string;\n /**\n * Array of Alarm objects which control automated alarms to the user about the task.\n */\n alarms?: Alarm[];\n /**\n * Object representing rules for recurring or repeated reminders. `null` for one-time tasks.\n */\n recurrenceRule?: RecurrenceRule | null;\n /**\n * Date object or string representing the start date of the reminder task.\n */\n startDate?: string | Date;\n /**\n * Date object or string representing the time when the reminder task is due.\n */\n dueDate?: string | Date;\n /**\n * Indicates whether or not the task has been completed.\n */\n completed?: boolean;\n /**\n * Date object or string representing the date of completion, if `completed` is `true`.\n * Setting this property of a nonnull `Date` will automatically set the reminder's `completed` value to `true`.\n */\n completionDate?: string | Date;\n};\n\n// @needsAudit\n/**\n * A person or entity that is associated with an event by being invited or fulfilling some other role.\n */\nexport type Attendee = {\n /**\n * Internal ID that represents this attendee on the device.\n * @platform android\n */\n id?: string;\n /**\n * Indicates whether or not this attendee is the current OS user.\n * @platform ios\n */\n isCurrentUser?: boolean;\n /**\n * Displayed name of the attendee.\n */\n name: string;\n /**\n * Role of the attendee at the event.\n */\n role: AttendeeRole;\n /**\n * Status of the attendee in relation to the event.\n */\n status: AttendeeStatus;\n /**\n * Type of the attendee.\n */\n type: AttendeeType;\n /**\n * URL for the attendee.\n * @platform ios\n */\n url?: string;\n /**\n * Email address of the attendee.\n * @platform android\n */\n email?: string;\n};\n\n// @needsAudit\n/**\n * A method for having the OS automatically remind the user about a calendar item.\n */\nexport type Alarm = {\n /**\n * Date object or string representing an absolute time the alarm should occur.\n * Overrides `relativeOffset` and `structuredLocation` if specified alongside either.\n * @platform ios\n */\n absoluteDate?: string;\n /**\n * Number of minutes from the `startDate` of the calendar item that the alarm should occur.\n * Use negative values to have the alarm occur before the `startDate`.\n */\n relativeOffset?: number;\n // @docsMissing\n structuredLocation?: AlarmLocation;\n /**\n * Method of alerting the user that this alarm should use. On iOS this is always a notification.\n * @platform android\n */\n method?: AlarmMethod;\n};\n\n// @docsMissing\nexport type AlarmLocation = {\n /**\n * @platform ios\n */\n title?: string;\n proximity?: string;\n radius?: number;\n coords?: {\n latitude?: number;\n longitude?: number;\n };\n};\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum DayOfTheWeek {\n Sunday = 1,\n Monday = 2,\n Tuesday = 3,\n Wednesday = 4,\n Thursday = 5,\n Friday = 6,\n Saturday = 7,\n}\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum MonthOfTheYear {\n January = 1,\n February = 2,\n March = 3,\n April = 4,\n May = 5,\n June = 6,\n July = 7,\n August = 8,\n September = 9,\n October = 10,\n November = 11,\n December = 12,\n}\n\n// @needsAudit\n/**\n * A recurrence rule for events or reminders, allowing the same calendar item to recur multiple times.\n * This type is based on [the iOS interface](https://developer.apple.com/documentation/eventkit/ekrecurrencerule/1507320-initrecurrencewithfrequency)\n * which is in turn based on [the iCal RFC](https://tools.ietf.org/html/rfc5545#section-3.8.5.3)\n * so you can refer to those to learn more about this potentially complex interface.\n *\n * Not all the combinations make sense. For example, when frequency is `DAILY`, setting `daysOfTheMonth` makes no sense.\n */\nexport type RecurrenceRule = {\n /**\n * How often the calendar item should recur.\n */\n frequency: Frequency;\n /**\n * Interval at which the calendar item should recur. For example, an `interval: 2` with `frequency: DAILY`\n * would yield an event that recurs every other day.\n * @default 1\n */\n interval?: number;\n /**\n * Date on which the calendar item should stop recurring; overrides `occurrence` if both are specified.\n */\n endDate?: string | Date;\n /**\n * Number of times the calendar item should recur before stopping.\n */\n occurrence?: number;\n /**\n * The days of the week the event should recur on. An array of [`DaysOfTheWeek`](#daysoftheweek) object.\n * @platform ios\n */\n daysOfTheWeek?: DaysOfTheWeek[];\n /**\n * The days of the month this event occurs on.\n * `-31` to `31` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Monthly`.\n * @platform ios\n */\n daysOfTheMonth?: number[];\n /**\n * The months this event occurs on.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n monthsOfTheYear?: MonthOfTheYear[];\n /**\n * The weeks of the year this event occurs on.\n * `-53` to `53` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n weeksOfTheYear?: number[];\n /**\n * The days of the year this event occurs on.\n * `-366` to `366` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n daysOfTheYear?: number[];\n /**\n * TAn array of numbers that filters which recurrences to include. For example, for an event that\n * recurs every Monday, passing 2 here will make it recur every other Monday.\n * `-366` to `366` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n setPositions?: number[];\n};\n\n// @needsAudit\n/**\n * @platform ios\n */\nexport type DaysOfTheWeek = {\n /**\n * Sunday to Saturday - `DayOfTheWeek` enum.\n */\n dayOfTheWeek: DayOfTheWeek;\n /**\n * `-53` to `53` (`0` ignores this field, and a negative indicates a value from the end of the range).\n */\n weekNumber?: number;\n};\n\n/**\n * Enum containing all possible user responses to the calendar UI dialogs. Depending on what dialog is presented, a subset of the values applies.\n * */\nexport enum CalendarDialogResultActions {\n /**\n * On Android, this is the only possible result because the OS doesn't provide enough information to determine the user's action -\n * the user may have canceled the dialog, modified the event, or deleted it.\n *\n * On iOS, this means the user simply closed the dialog.\n * */\n done = 'done',\n /**\n * The user canceled or dismissed the dialog.\n * @platform ios\n * */\n canceled = 'canceled',\n /**\n * The user deleted the event.\n * @platform ios\n * */\n deleted = 'deleted',\n /**\n * The user responded to and saved a pending event invitation.\n * @platform ios\n * */\n responded = 'responded',\n /**\n * The user saved a new event or modified an existing one.\n * @platform ios\n * */\n saved = 'saved',\n}\n\n/**\n * The result of presenting the calendar dialog for opening (viewing) an event.\n * */\nexport type OpenEventDialogResult = {\n /**\n * Indicates how user responded to the dialog.\n * On Android, the `action` is always `done`.\n * On iOS, it can be `done`, `canceled`, `deleted` or `responded`.\n * */\n action: Extract<CalendarDialogResultActions, 'done' | 'canceled' | 'deleted' | 'responded'>;\n};\n\n/**\n * The result of presenting a calendar dialog for creating or editing an event.\n * */\nexport type DialogEventResult = {\n /**\n * How user responded to the dialog.\n * On Android, this is always `done` (Android doesn't provide enough information to determine the user's action -\n * the user may have canceled the dialog, saved or deleted the event).\n *\n * On iOS, it can be `saved`, `canceled` or `deleted`.\n * */\n action: Extract<CalendarDialogResultActions, 'done' | 'saved' | 'canceled' | 'deleted'>;\n /**\n * The ID of the event that was created or edited. On Android, this is always `null`.\n *\n * On iOS, this is a string when permissions are granted and user confirms the creation or editing of an event. Otherwise, it's `null`.\n * */\n id: string | null;\n};\n\nexport type PresentationOptions = {\n /**\n * Whether to launch the Activity as a new [task](https://developer.android.com/reference/android/content/Intent#FLAG_ACTIVITY_NEW_TASK).\n * If `true`, the promise resolves with `'done'` action immediately after opening the calendar activity.\n * @default true\n * @platform android\n */\n startNewActivityTask?: boolean;\n};\nexport type OpenEventPresentationOptions = PresentationOptions & {\n /**\n * Whether to allow the user to edit the previewed event.\n * This property applies only to events in calendars created by the user.\n *\n * Note that if the user edits the event, the returned action is the one that user performs last.\n * For example, when user previews the event, confirms some edits and finally dismisses the dialog, the event is edited, but response is `canceled`.\n *\n * @default false\n * @platform ios\n * */\n allowsEditing?: boolean;\n /**\n * Determines whether event can be shown in calendar day view preview.\n * This property applies only to invitations.\n *\n * @default false\n * @platform ios\n * */\n allowsCalendarPreview?: boolean;\n};\n\nexport type CalendarDialogParams = {\n /**\n * ID of the event to be presented in the calendar UI.\n */\n id: string;\n /**\n * Date object representing the start time of the desired instance, if looking for a single instance\n * of a recurring event. If this is not provided and **id** represents a recurring event, the first\n * instance of that event will be returned by default.\n * @platform ios\n */\n instanceStartDate?: string | Date;\n};\n\n/**\n * Launches the calendar UI provided by the OS to create a new event.\n * @param eventData A map of details for the event to be created.\n * @param presentationOptions Configuration that influences how the calendar UI is presented.\n * @return A promise which resolves with information about the dialog result.\n * @header systemProvidedUI\n */\nexport async function createEventInCalendarAsync(\n eventData: Omit<Partial<Event>, 'id'> = {},\n presentationOptions?: PresentationOptions\n): Promise<DialogEventResult> {\n if (!ExpoCalendar.createEventInCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'createEventInCalendarAsync');\n }\n // @ts-expect-error id could be passed if user doesn't use TypeScript or doesn't use the method with an object literal\n if (eventData.id) {\n console.warn(\n 'You attempted to create an event with an id. Event ids are assigned by the system.'\n );\n }\n const params = stringifyDateValues(eventData);\n Object.assign(params, presentationOptions);\n\n return ExpoCalendar.createEventInCalendarAsync(params);\n}\n\n/**\n * Launches the calendar UI provided by the OS to preview an event.\n * @return A promise which resolves with information about the dialog result.\n * @header systemProvidedUI\n */\nexport async function openEventInCalendarAsync(\n params: CalendarDialogParams,\n presentationOptions?: OpenEventPresentationOptions\n): Promise<OpenEventDialogResult> {\n if (!ExpoCalendar.openEventInCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'openEventInCalendarAsync');\n }\n if (!params.id) {\n throw new Error(\n 'openEventInCalendarAsync must be called with an id (string) of the target event'\n );\n }\n const newParams = { ...params, ...presentationOptions };\n return ExpoCalendar.openEventInCalendarAsync(newParams);\n}\n\n/**\n * Launches the calendar UI provided by the OS to edit or delete an event. On Android, this is the same as `openEventInCalendarAsync`.\n * @return A promise which resolves with information about the dialog result.\n * @header systemProvidedUI\n */\nexport async function editEventInCalendarAsync(\n params: CalendarDialogParams,\n presentationOptions?: PresentationOptions\n): Promise<DialogEventResult> {\n if (!ExpoCalendar.editEventInCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'editEventInCalendarAsync');\n }\n if (!params.id) {\n throw new Error(\n 'editEventInCalendarAsync must be called with an id (string) of the target event'\n );\n }\n const newParams = { ...params, ...presentationOptions };\n return ExpoCalendar.editEventInCalendarAsync(newParams);\n}\n\n// @needsAudit\n/**\n * Returns whether the Calendar API is enabled on the current device. This does not check the app permissions.\n *\n * @returns Async `boolean`, indicating whether the Calendar API is available on the current device.\n * Currently, this resolves `true` on iOS and Android only.\n */\nexport async function isAvailableAsync(): Promise<boolean> {\n return !!ExpoCalendar.getCalendarsAsync;\n}\n\n// @needsAudit\n/**\n * Gets an array of calendar objects with details about the different calendars stored on the device.\n * @param entityType __iOS Only.__ Not required, but if defined, filters the returned calendars to\n * a specific entity type. Possible values are `Calendar.EntityTypes.EVENT` (for calendars shown in\n * the Calendar app) and `Calendar.EntityTypes.REMINDER` (for the Reminders app).\n * > **Note:** If not defined, you will need both permissions: **CALENDAR** and **REMINDERS**.\n * @return An array of [calendar objects](#calendar 'Calendar') matching the provided entity type (if provided).\n */\nexport async function getCalendarsAsync(entityType?: string): Promise<Calendar[]> {\n if (!ExpoCalendar.getCalendarsAsync) {\n throw new UnavailabilityError('Calendar', 'getCalendarsAsync');\n }\n if (!entityType) {\n return ExpoCalendar.getCalendarsAsync(null);\n }\n return ExpoCalendar.getCalendarsAsync(entityType);\n}\n\n// @needsAudit\n/**\n * Creates a new calendar on the device, allowing events to be added later and displayed in the OS Calendar app.\n * @param details A map of details for the calendar to be created.\n * @return A string representing the ID of the newly created calendar.\n */\nexport async function createCalendarAsync(details: Partial<Calendar> = {}): Promise<string> {\n if (!ExpoCalendar.saveCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'createCalendarAsync');\n }\n const color = details.color ? processColor(details.color) : undefined;\n const newDetails = { ...details, id: undefined, color };\n return ExpoCalendar.saveCalendarAsync(newDetails);\n}\n\n// @needsAudit\n/**\n * Updates the provided details of an existing calendar stored on the device. To remove a property,\n * explicitly set it to `null` in `details`.\n * @param id ID of the calendar to update.\n * @param details A map of properties to be updated.\n */\nexport async function updateCalendarAsync(\n id: string,\n details: Partial<Calendar> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'updateCalendarAsync');\n }\n if (!id) {\n throw new Error(\n 'updateCalendarAsync must be called with an id (string) of the target calendar'\n );\n }\n const color = details.color ? processColor(details.color) : undefined;\n\n if (Platform.OS === 'android') {\n if (\n details.hasOwnProperty('source') ||\n details.hasOwnProperty('color') ||\n details.hasOwnProperty('allowsModifications') ||\n details.hasOwnProperty('allowedAvailabilities') ||\n details.hasOwnProperty('isPrimary') ||\n details.hasOwnProperty('ownerAccount') ||\n details.hasOwnProperty('timeZone') ||\n details.hasOwnProperty('allowedReminders') ||\n details.hasOwnProperty('allowedAttendeeTypes') ||\n details.hasOwnProperty('accessLevel')\n ) {\n console.warn(\n 'updateCalendarAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n } else {\n if (\n details.hasOwnProperty('source') ||\n details.hasOwnProperty('type') ||\n details.hasOwnProperty('entityType') ||\n details.hasOwnProperty('allowsModifications') ||\n details.hasOwnProperty('allowedAvailabilities')\n ) {\n console.warn(\n 'updateCalendarAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n }\n\n const newDetails = { ...details, id, color };\n return ExpoCalendar.saveCalendarAsync(newDetails);\n}\n\n// @needsAudit\n/**\n * Deletes an existing calendar and all associated events/reminders/attendees from the device. __Use with caution.__\n * @param id ID of the calendar to delete.\n */\nexport async function deleteCalendarAsync(id: string): Promise<void> {\n if (!ExpoCalendar.deleteCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'deleteCalendarAsync');\n }\n if (!id) {\n throw new Error(\n 'deleteCalendarAsync must be called with an id (string) of the target calendar'\n );\n }\n return ExpoCalendar.deleteCalendarAsync(id);\n}\n\n// @needsAudit\n/**\n * Returns all events in a given set of calendars over a specified time period. The filtering has\n * slightly different behavior per-platform - on iOS, all events that overlap at all with the\n * `[startDate, endDate]` interval are returned, whereas on Android, only events that begin on or\n * after the `startDate` and end on or before the `endDate` will be returned.\n * @param calendarIds Array of IDs of calendars to search for events in.\n * @param startDate Beginning of time period to search for events in.\n * @param endDate End of time period to search for events in.\n * @return A promise which fulfils with an array of [`Event`](#event) objects matching the search criteria.\n */\nexport async function getEventsAsync(\n calendarIds: string[],\n startDate: Date,\n endDate: Date\n): Promise<Event[]> {\n if (!ExpoCalendar.getEventsAsync) {\n throw new UnavailabilityError('Calendar', 'getEventsAsync');\n }\n if (!startDate) {\n throw new Error('getEventsAsync must be called with a startDate (date) to search for events');\n }\n if (!endDate) {\n throw new Error('getEventsAsync must be called with an endDate (date) to search for events');\n }\n if (!calendarIds || !calendarIds.length) {\n throw new Error(\n 'getEventsAsync must be called with a non-empty array of calendarIds to search'\n );\n }\n return ExpoCalendar.getEventsAsync(\n stringifyIfDate(startDate),\n stringifyIfDate(endDate),\n calendarIds\n );\n}\n\n// @needsAudit\n/**\n * Returns a specific event selected by ID. If a specific instance of a recurring event is desired,\n * the start date of this instance must also be provided, as instances of recurring events do not\n * have their own unique and stable IDs on either iOS or Android.\n * @param id ID of the event to return.\n * @param recurringEventOptions A map of options for recurring events.\n * @return A promise which fulfils with an [`Event`](#event) object matching the provided criteria, if one exists.\n */\nexport async function getEventAsync(\n id: string,\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<Event> {\n if (!ExpoCalendar.getEventByIdAsync) {\n throw new UnavailabilityError('Calendar', 'getEventAsync');\n }\n if (!id) {\n throw new Error('getEventAsync must be called with an id (string) of the target event');\n }\n if (Platform.OS === 'ios') {\n return ExpoCalendar.getEventByIdAsync(id, recurringEventOptions.instanceStartDate);\n } else {\n return ExpoCalendar.getEventByIdAsync(id);\n }\n}\n\n// @needsAudit\n/**\n * Creates a new event on the specified calendar.\n * @param calendarId ID of the calendar to create this event in.\n * @param eventData A map of details for the event to be created.\n * @return A promise which fulfils with a string representing the ID of the newly created event.\n */\nexport async function createEventAsync(\n calendarId: string,\n eventData: Omit<Partial<Event>, 'id' | 'organizer'> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveEventAsync) {\n throw new UnavailabilityError('Calendar', 'createEventAsync');\n }\n if (!calendarId) {\n throw new Error('createEventAsync must be called with an id (string) of the target calendar');\n }\n\n // @ts-expect-error id could be passed if user doesn't use TypeScript or doesn't use the method with an object literal\n const { id, ...details } = eventData;\n\n if (id) {\n console.warn(\n 'You attempted to create an event with an id. Event ids are assigned by the system.'\n );\n }\n\n if (Platform.OS === 'android') {\n if (!details.startDate) {\n throw new Error('createEventAsync requires a startDate (Date)');\n }\n if (!details.endDate) {\n throw new Error('createEventAsync requires an endDate (Date)');\n }\n }\n\n const newDetails = {\n ...details,\n calendarId,\n };\n\n return ExpoCalendar.saveEventAsync(stringifyDateValues(newDetails), {});\n}\n\n// @needsAudit\n/**\n * Updates the provided details of an existing calendar stored on the device. To remove a property,\n * explicitly set it to `null` in `details`.\n * @param id ID of the event to be updated.\n * @param details A map of properties to be updated.\n * @param recurringEventOptions A map of options for recurring events.\n */\nexport async function updateEventAsync(\n id: string,\n details: Omit<Partial<Event>, 'id'> = {},\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<string> {\n if (!ExpoCalendar.saveEventAsync) {\n throw new UnavailabilityError('Calendar', 'updateEventAsync');\n }\n if (!id) {\n throw new Error('updateEventAsync must be called with an id (string) of the target event');\n }\n\n if (Platform.OS === 'ios') {\n if (\n details.hasOwnProperty('creationDate') ||\n details.hasOwnProperty('lastModifiedDate') ||\n details.hasOwnProperty('originalStartDate') ||\n details.hasOwnProperty('isDetached') ||\n details.hasOwnProperty('status') ||\n details.hasOwnProperty('organizer')\n ) {\n console.warn(\n 'updateEventAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n }\n\n const { futureEvents = false, instanceStartDate } = recurringEventOptions;\n const newDetails = { ...details, id, instanceStartDate };\n return ExpoCalendar.saveEventAsync(stringifyDateValues(newDetails), { futureEvents });\n}\n\n// @needsAudit\n/**\n * Deletes an existing event from the device. Use with caution.\n * @param id ID of the event to be deleted.\n * @param recurringEventOptions A map of options for recurring events.\n */\nexport async function deleteEventAsync(\n id: string,\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<void> {\n if (!ExpoCalendar.deleteEventAsync) {\n throw new UnavailabilityError('Calendar', 'deleteEventAsync');\n }\n if (!id) {\n throw new Error('deleteEventAsync must be called with an id (string) of the target event');\n }\n const { futureEvents = false, instanceStartDate } = recurringEventOptions;\n return ExpoCalendar.deleteEventAsync({ id, instanceStartDate }, { futureEvents });\n}\n\n// @needsAudit\n/**\n * Gets all attendees for a given event (or instance of a recurring event).\n * @param id ID of the event to return attendees for.\n * @param recurringEventOptions A map of options for recurring events.\n * @return A promise which fulfils with an array of [`Attendee`](#attendee) associated with the\n * specified event.\n */\nexport async function getAttendeesForEventAsync(\n id: string,\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<Attendee[]> {\n if (!ExpoCalendar.getAttendeesForEventAsync) {\n throw new UnavailabilityError('Calendar', 'getAttendeesForEventAsync');\n }\n if (!id) {\n throw new Error(\n 'getAttendeesForEventAsync must be called with an id (string) of the target event'\n );\n }\n const { instanceStartDate } = recurringEventOptions;\n // Android only takes an ID, iOS takes an object\n const params = Platform.OS === 'ios' ? { id, instanceStartDate } : id;\n return ExpoCalendar.getAttendeesForEventAsync(params);\n}\n\n// @needsAudit\n/**\n * Creates a new attendee record and adds it to the specified event. Note that if `eventId` specifies\n * a recurring event, this will add the attendee to every instance of the event.\n * @param eventId ID of the event to add this attendee to.\n * @param details A map of details for the attendee to be created.\n * @return A string representing the ID of the newly created attendee record.\n * @platform android\n */\nexport async function createAttendeeAsync(\n eventId: string,\n details: Partial<Attendee> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveAttendeeForEventAsync) {\n throw new UnavailabilityError('Calendar', 'createAttendeeAsync');\n }\n if (!eventId) {\n throw new Error('createAttendeeAsync must be called with an id (string) of the target event');\n }\n if (!details.email) {\n throw new Error('createAttendeeAsync requires an email (string)');\n }\n if (!details.role) {\n throw new Error('createAttendeeAsync requires a role (string)');\n }\n if (!details.type) {\n throw new Error('createAttendeeAsync requires a type (string)');\n }\n if (!details.status) {\n throw new Error('createAttendeeAsync requires a status (string)');\n }\n const newDetails = { ...details, id: undefined };\n return ExpoCalendar.saveAttendeeForEventAsync(newDetails, eventId);\n}\n\n// @needsAudit\n/**\n * Updates an existing attendee record. To remove a property, explicitly set it to `null` in `details`.\n * @param id ID of the attendee record to be updated.\n * @param details A map of properties to be updated.\n * @platform android\n */\nexport async function updateAttendeeAsync(\n id: string,\n details: Partial<Attendee> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveAttendeeForEventAsync) {\n throw new UnavailabilityError('Calendar', 'updateAttendeeAsync');\n }\n if (!id) {\n throw new Error('updateAttendeeAsync must be called with an id (string) of the target event');\n }\n const newDetails = { ...details, id };\n return ExpoCalendar.saveAttendeeForEventAsync(newDetails, null);\n}\n\n// @needsAudit\n/**\n * Gets an instance of the default calendar object.\n * @return A promise resolving to the [Calendar](#calendar) object that is the user's default calendar.\n * @platform ios\n */\nexport async function getDefaultCalendarAsync(): Promise<Calendar> {\n if (!ExpoCalendar.getDefaultCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'getDefaultCalendarAsync');\n }\n return ExpoCalendar.getDefaultCalendarAsync();\n}\n\n// @needsAudit\n/**\n * Deletes an existing attendee record from the device. __Use with caution.__\n * @param id ID of the attendee to delete.\n * @platform android\n */\nexport async function deleteAttendeeAsync(id: string): Promise<void> {\n if (!ExpoCalendar.deleteAttendeeAsync) {\n throw new UnavailabilityError('Calendar', 'deleteAttendeeAsync');\n }\n if (!id) {\n throw new Error('deleteAttendeeAsync must be called with an id (string) of the target event');\n }\n return ExpoCalendar.deleteAttendeeAsync(id);\n}\n\n// @needsAudit\n/**\n * Returns a list of reminders matching the provided criteria. If `startDate` and `endDate` are defined,\n * returns all reminders that overlap at all with the [startDate, endDate] interval - i.e. all reminders\n * that end after the `startDate` or begin before the `endDate`.\n * @param calendarIds Array of IDs of calendars to search for reminders in.\n * @param status One of `Calendar.ReminderStatus.COMPLETED` or `Calendar.ReminderStatus.INCOMPLETE`.\n * @param startDate Beginning of time period to search for reminders in. Required if `status` is defined.\n * @param endDate End of time period to search for reminders in. Required if `status` is defined.\n * @return A promise which fulfils with an array of [`Reminder`](#reminder) objects matching the search criteria.\n * @platform ios\n */\nexport async function getRemindersAsync(\n calendarIds: (string | null)[],\n status: ReminderStatus | null,\n startDate: Date | null,\n endDate: Date | null\n): Promise<Reminder[]> {\n if (!ExpoCalendar.getRemindersAsync) {\n throw new UnavailabilityError('Calendar', 'getRemindersAsync');\n }\n if (status && !startDate) {\n throw new Error(\n 'getRemindersAsync must be called with a startDate (date) to search for reminders'\n );\n }\n if (status && !endDate) {\n throw new Error(\n 'getRemindersAsync must be called with an endDate (date) to search for reminders'\n );\n }\n if (!calendarIds || !calendarIds.length) {\n throw new Error(\n 'getRemindersAsync must be called with a non-empty array of calendarIds to search'\n );\n }\n\n const formattedStartDate = startDate ? stringifyIfDate(startDate) : null;\n const formattedEndDate = endDate ? stringifyIfDate(endDate) : null;\n\n return ExpoCalendar.getRemindersAsync(\n formattedStartDate,\n formattedEndDate,\n calendarIds,\n status || null\n );\n}\n\n// @needsAudit\n/**\n * Returns a specific reminder selected by ID.\n * @param id ID of the reminder to return.\n * @return A promise which fulfils with a [`Reminder`](#reminder) matching the provided ID, if one exists.\n * @platform ios\n */\nexport async function getReminderAsync(id: string): Promise<Reminder> {\n if (!ExpoCalendar.getReminderByIdAsync) {\n throw new UnavailabilityError('Calendar', 'getReminderAsync');\n }\n if (!id) {\n throw new Error('getReminderAsync must be called with an id (string) of the target reminder');\n }\n return ExpoCalendar.getReminderByIdAsync(id);\n}\n\n// @needsAudit\n/**\n * Creates a new reminder on the specified calendar.\n * @param calendarId ID of the calendar to create this reminder in (or `null` to add the calendar to\n * the OS-specified default calendar for reminders).\n * @param reminder A map of details for the reminder to be created\n * @return A promise which fulfils with a string representing the ID of the newly created reminder.\n * @platform ios\n */\nexport async function createReminderAsync(\n calendarId: string | null,\n reminder: Reminder = {}\n): Promise<string> {\n if (!ExpoCalendar.saveReminderAsync) {\n throw new UnavailabilityError('Calendar', 'createReminderAsync');\n }\n\n const { id, ...details } = reminder;\n const newDetails = {\n ...details,\n calendarId: calendarId === null ? undefined : calendarId,\n };\n return ExpoCalendar.saveReminderAsync(stringifyDateValues(newDetails));\n}\n\n// @needsAudit\n/**\n * Updates the provided details of an existing reminder stored on the device. To remove a property,\n * explicitly set it to `null` in `details`.\n * @param id ID of the reminder to be updated.\n * @param details A map of properties to be updated.\n * @platform ios\n */\nexport async function updateReminderAsync(id: string, details: Reminder = {}): Promise<string> {\n if (!ExpoCalendar.saveReminderAsync) {\n throw new UnavailabilityError('Calendar', 'updateReminderAsync');\n }\n if (!id) {\n throw new Error(\n 'updateReminderAsync must be called with an id (string) of the target reminder'\n );\n }\n\n if (details.hasOwnProperty('creationDate') || details.hasOwnProperty('lastModifiedDate')) {\n console.warn(\n 'updateReminderAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n\n const newDetails = { ...details, id };\n return ExpoCalendar.saveReminderAsync(stringifyDateValues(newDetails));\n}\n\n// @needsAudit\n/**\n * Deletes an existing reminder from the device. __Use with caution.__\n * @param id ID of the reminder to be deleted.\n * @platform ios\n */\nexport async function deleteReminderAsync(id: string): Promise<void> {\n if (!ExpoCalendar.deleteReminderAsync) {\n throw new UnavailabilityError('Calendar', 'deleteReminderAsync');\n }\n if (!id) {\n throw new Error(\n 'deleteReminderAsync must be called with an id (string) of the target reminder'\n );\n }\n return ExpoCalendar.deleteReminderAsync(id);\n}\n\n// @needsAudit @docsMissing\n/**\n * @return A promise which fulfils with an array of [`Source`](#source) objects all sources for\n * calendars stored on the device.\n * @platform ios\n */\nexport async function getSourcesAsync(): Promise<Source[]> {\n if (!ExpoCalendar.getSourcesAsync) {\n throw new UnavailabilityError('Calendar', 'getSourcesAsync');\n }\n return ExpoCalendar.getSourcesAsync();\n}\n\n// @needsAudit\n/**\n * Returns a specific source selected by ID.\n * @param id ID of the source to return.\n * @return A promise which fulfils with an array of [`Source`](#source) object matching the provided\n * ID, if one exists.\n * @platform ios\n */\nexport async function getSourceAsync(id: string): Promise<Source> {\n if (!ExpoCalendar.getSourceByIdAsync) {\n throw new UnavailabilityError('Calendar', 'getSourceAsync');\n }\n if (!id) {\n throw new Error('getSourceAsync must be called with an id (string) of the target source');\n }\n return ExpoCalendar.getSourceByIdAsync(id);\n}\n\n// @needsAudit\n/**\n * Sends an intent to open the specified event in the OS Calendar app.\n * @param id ID of the event to open.\n * @platform android\n * @deprecated Use [`openEventInCalendarAsync`](#openeventincalendarasyncparams-presentationoptions) instead.\n * @header systemProvidedUI\n */\nexport function openEventInCalendar(id: string): void {\n if (!ExpoCalendar.openEventInCalendar) {\n console.warn(`openEventInCalendar is not available on platform: ${Platform.OS}`);\n return;\n }\n if (!id) {\n throw new Error('openEventInCalendar must be called with an id (string) of the target event');\n }\n return ExpoCalendar.openEventInCalendar(id);\n} // Android\n\n// @needsAudit\n/**\n * @deprecated Use [`requestCalendarPermissionsAsync()`](#calendarrequestcalendarpermissionsasync) instead.\n */\nexport async function requestPermissionsAsync(): Promise<PermissionResponse> {\n console.warn(\n 'requestPermissionsAsync is deprecated. Use requestCalendarPermissionsAsync instead.'\n );\n return requestCalendarPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Checks user's permissions for accessing user's calendars.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n */\nexport async function getCalendarPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.getCalendarPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'getCalendarPermissionsAsync');\n }\n return ExpoCalendar.getCalendarPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Checks user's permissions for accessing user's reminders.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n * @platform ios\n */\nexport async function getRemindersPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.getRemindersPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'getRemindersPermissionsAsync');\n }\n return ExpoCalendar.getRemindersPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Asks the user to grant permissions for accessing user's calendars.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n */\nexport async function requestCalendarPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.requestCalendarPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'requestCalendarPermissionsAsync');\n }\n return await ExpoCalendar.requestCalendarPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Asks the user to grant permissions for accessing user's reminders.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n * @platform ios\n */\nexport async function requestRemindersPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.requestRemindersPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'requestRemindersPermissionsAsync');\n }\n return await ExpoCalendar.requestRemindersPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Check or request permissions to access the calendar.\n * This uses both `getCalendarPermissionsAsync` and `requestCalendarPermissionsAsync` to interact\n * with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = Calendar.useCalendarPermissions();\n * ```\n */\nexport const useCalendarPermissions = createPermissionHook({\n getMethod: getCalendarPermissionsAsync,\n requestMethod: requestCalendarPermissionsAsync,\n});\n\n// @needsAudit\n/**\n * Check or request permissions to access reminders.\n * This uses both `getRemindersPermissionsAsync` and `requestRemindersPermissionsAsync` to interact\n * with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = Calendar.useRemindersPermissions();\n * ```\n */\nexport const useRemindersPermissions = createPermissionHook({\n getMethod: getRemindersPermissionsAsync,\n requestMethod: requestRemindersPermissionsAsync,\n});\n\n// @docsMissing\n/**\n * platform ios\n */\nexport enum EntityTypes {\n EVENT = 'event',\n REMINDER = 'reminder',\n}\n\n// @docsMissing\nexport enum Frequency {\n DAILY = 'daily',\n WEEKLY = 'weekly',\n MONTHLY = 'monthly',\n YEARLY = 'yearly',\n}\n\n// @docsMissing\nexport enum Availability {\n /**\n * @platform ios\n */\n NOT_SUPPORTED = 'notSupported',\n BUSY = 'busy',\n FREE = 'free',\n TENTATIVE = 'tentative',\n /**\n * @platform ios\n */\n UNAVAILABLE = 'unavailable',\n}\n\n/**\n * @platform ios\n */\nexport enum CalendarType {\n LOCAL = 'local',\n CALDAV = 'caldav',\n EXCHANGE = 'exchange',\n SUBSCRIBED = 'subscribed',\n BIRTHDAYS = 'birthdays',\n UNKNOWN = 'unknown',\n}\n\n// @docsMissing\nexport enum EventStatus {\n NONE = 'none',\n CONFIRMED = 'confirmed',\n TENTATIVE = 'tentative',\n CANCELED = 'canceled',\n}\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum SourceType {\n LOCAL = 'local',\n EXCHANGE = 'exchange',\n CALDAV = 'caldav',\n MOBILEME = 'mobileme',\n SUBSCRIBED = 'subscribed',\n BIRTHDAYS = 'birthdays',\n}\n\n// @docsMissing\nexport enum AttendeeRole {\n /**\n * @platform ios\n */\n UNKNOWN = 'unknown',\n /**\n * @platform ios\n */\n REQUIRED = 'required',\n /**\n * @platform ios\n */\n OPTIONAL = 'optional',\n /**\n * @platform ios\n */\n CHAIR = 'chair',\n /**\n * @platform ios\n */\n NON_PARTICIPANT = 'nonParticipant',\n /**\n * @platform android\n */\n ATTENDEE = 'attendee',\n /**\n * @platform android\n */\n ORGANIZER = 'organizer',\n /**\n * @platform android\n */\n PERFORMER = 'performer',\n /**\n * @platform android\n */\n SPEAKER = 'speaker',\n /**\n * @platform android\n */\n NONE = 'none',\n}\n\n// @docsMissing\nexport enum AttendeeStatus {\n /**\n * @platform ios\n */\n UNKNOWN = 'unknown',\n /**\n * @platform ios\n */\n PENDING = 'pending',\n ACCEPTED = 'accepted',\n DECLINED = 'declined',\n TENTATIVE = 'tentative',\n /**\n * @platform ios\n */\n DELEGATED = 'delegated',\n /**\n * @platform ios\n */\n COMPLETED = 'completed',\n /**\n * @platform ios\n */\n IN_PROCESS = 'inProcess',\n /**\n * @platform android\n */\n INVITED = 'invited',\n /**\n * @platform android\n */\n NONE = 'none',\n}\n\n// @docsMissing\nexport enum AttendeeType {\n /**\n * @platform ios\n */\n UNKNOWN = 'unknown',\n /**\n * @platform ios\n */\n PERSON = 'person',\n /**\n * @platform ios\n */\n ROOM = 'room',\n /**\n * @platform ios\n */\n GROUP = 'group',\n RESOURCE = 'resource',\n /**\n * @platform android\n */\n OPTIONAL = 'optional',\n /**\n * @platform android\n */\n REQUIRED = 'required',\n /**\n * @platform android\n */\n NONE = 'none',\n}\n\n// @docsMissing\n/**\n * @platform android\n */\nexport enum AlarmMethod {\n ALARM = 'alarm',\n ALERT = 'alert',\n EMAIL = 'email',\n SMS = 'sms',\n DEFAULT = 'default',\n}\n\n// @docsMissing\n/**\n * @platform android\n */\nexport enum EventAccessLevel {\n CONFIDENTIAL = 'confidential',\n PRIVATE = 'private',\n PUBLIC = 'public',\n DEFAULT = 'default',\n}\n\n// @docsMissing\n/**\n * @platform android\n */\nexport enum CalendarAccessLevel {\n CONTRIBUTOR = 'contributor',\n EDITOR = 'editor',\n FREEBUSY = 'freebusy',\n OVERRIDE = 'override',\n OWNER = 'owner',\n READ = 'read',\n RESPOND = 'respond',\n ROOT = 'root',\n NONE = 'none',\n}\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum ReminderStatus {\n COMPLETED = 'completed',\n INCOMPLETE = 'incomplete',\n}\n\nfunction stringifyIfDate<T extends Date>(date: Date | T): string | T {\n return date instanceof Date ? date.toISOString() : date;\n}\n\ntype StringifyDates<T extends Record<string, any>> = {\n [K in keyof T]: T[K] extends Date ? string : T[K];\n};\n\nfunction stringifyDateValues<T extends Record<string, any>>(obj: T): StringifyDates<T> {\n if (typeof obj !== 'object' || obj === null) return obj;\n return Object.keys(obj).reduce((acc, key) => {\n const value = obj[key];\n if (value != null && typeof value === 'object' && !(value instanceof Date)) {\n if (Array.isArray(value)) {\n return { ...acc, [key]: value.map(stringifyDateValues) };\n }\n return { ...acc, [key]: stringifyDateValues(value) };\n }\n acc[key as keyof T] = stringifyIfDate(value);\n return acc;\n }, {} as StringifyDates<T>);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../src/Calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAClG,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAEL,gBAAgB,GAGjB,MAAM,mBAAmB,CAAC;AA2b3B,eAAe;AACf;;GAEG;AACH,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,mDAAU,CAAA;IACV,mDAAU,CAAA;IACV,qDAAW,CAAA;IACX,yDAAa,CAAA;IACb,uDAAY,CAAA;IACZ,mDAAU,CAAA;IACV,uDAAY,CAAA;AACd,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAED,eAAe;AACf;;GAEG;AACH,MAAM,CAAN,IAAY,cAaX;AAbD,WAAY,cAAc;IACxB,yDAAW,CAAA;IACX,2DAAY,CAAA;IACZ,qDAAS,CAAA;IACT,qDAAS,CAAA;IACT,iDAAO,CAAA;IACP,mDAAQ,CAAA;IACR,mDAAQ,CAAA;IACR,uDAAU,CAAA;IACV,6DAAa,CAAA;IACb,0DAAY,CAAA;IACZ,4DAAa,CAAA;IACb,4DAAa,CAAA;AACf,CAAC,EAbW,cAAc,KAAd,cAAc,QAazB;AAuFD;;KAEK;AACL,MAAM,CAAN,IAAY,2BA4BX;AA5BD,WAAY,2BAA2B;IACrC;;;;;SAKK;IACL,4CAAa,CAAA;IACb;;;SAGK;IACL,oDAAqB,CAAA;IACrB;;;SAGK;IACL,kDAAmB,CAAA;IACnB;;;SAGK;IACL,sDAAuB,CAAA;IACvB;;;SAGK;IACL,8CA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CAAC;YAC3E,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,OAAO,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3D,CAAC;YACD,OAAO,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC;QACvD,CAAC;QACD,GAAG,CAAC,GAAc,CAAC,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAuB,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["import { PermissionResponse, createPermissionHook, UnavailabilityError } from 'expo-modules-core';\nimport { Platform, processColor } from 'react-native';\n\nimport ExpoCalendar from './ExpoCalendar';\n\nexport {\n PermissionResponse,\n PermissionStatus,\n PermissionHookOptions,\n PermissionExpiration,\n} from 'expo-modules-core';\n\n// @needsAudit\n/**\n * @platform ios\n */\nexport type RecurringEventOptions = {\n /**\n * Whether future events in the recurring series should also be updated. If `true`, will\n * apply the given changes to the recurring instance specified by `instanceStartDate` and all\n * future events in the series. If `false`, will only apply the given changes to the instance\n * specified by `instanceStartDate`.\n */\n futureEvents?: boolean;\n /**\n * Date object representing the start time of the desired instance, if looking for a single instance\n * of a recurring event. If this is not provided and **id** represents a recurring event, the first\n * instance of that event will be returned by default.\n */\n instanceStartDate?: string | Date;\n};\n\ntype Organizer = {\n isCurrentUser: boolean;\n name?: string;\n role: string;\n status: string;\n type: string;\n url?: string;\n};\n\n// @needsAudit\n/**\n * A calendar record upon which events (or, on iOS, reminders) can be stored. Settings here apply to\n * the calendar as a whole and how its events are displayed in the OS calendar app.\n */\nexport type Calendar = {\n /**\n * Internal ID that represents this calendar on the device.\n */\n id: string;\n /**\n * Visible name of the calendar.\n */\n title: string;\n /**\n * ID of the source to be used for the calendar. Likely the same as the source for any other\n * locally stored calendars.\n * @platform ios\n */\n sourceId?: string;\n /**\n * Object representing the source to be used for the calendar.\n */\n source: Source;\n /**\n * Type of calendar this object represents.\n * @platform ios\n */\n type?: CalendarType;\n /**\n * Color used to display this calendar's events.\n */\n color: string;\n /**\n * Whether the calendar is used in the Calendar or Reminders OS app.\n * @platform ios\n */\n entityType?: EntityTypes;\n /**\n * Boolean value that determines whether this calendar can be modified.\n */\n allowsModifications: boolean;\n /**\n * Availability types that this calendar supports.\n */\n allowedAvailabilities: Availability[];\n /**\n * Boolean value indicating whether this is the device's primary calendar.\n * @platform android\n */\n isPrimary?: boolean;\n /**\n * Internal system name of the calendar.\n * @platform android\n */\n name?: string | null;\n /**\n * Name for the account that owns this calendar.\n * @platform android\n */\n ownerAccount?: string;\n /**\n * Time zone for the calendar.\n * @platform android\n */\n timeZone?: string;\n /**\n * Alarm methods that this calendar supports.\n * @platform android\n */\n allowedReminders?: AlarmMethod[];\n /**\n * Attendee types that this calendar supports.\n * @platform android\n */\n allowedAttendeeTypes?: AttendeeType[];\n /**\n * Indicates whether the OS displays events on this calendar.\n * @platform android\n */\n isVisible?: boolean;\n /**\n * Indicates whether this calendar is synced and its events stored on the device.\n * Unexpected behavior may occur if this is not set to `true`.\n * @platform android\n */\n isSynced?: boolean;\n /**\n * Level of access that the user has for the calendar.\n * @platform android\n */\n accessLevel?: CalendarAccessLevel;\n};\n\n// @needsAudit\n/**\n * A source account that owns a particular calendar. Expo apps will typically not need to interact with `Source` objects.\n */\nexport type Source = {\n /**\n * Internal ID that represents this source on the device.\n * @platform ios\n */\n id?: string;\n /**\n * Type of the account that owns this calendar and was used to sync it to the device.\n * If `isLocalAccount` is falsy then this must be defined, and must match an account on the device\n * along with `name`, or the OS will delete the calendar.\n * On iOS, one of [`SourceType`](#sourcetype)s.\n */\n type: string | SourceType;\n /**\n * Name for the account that owns this calendar and was used to sync the calendar to the device.\n */\n name: string;\n /**\n * Whether this source is the local phone account. Must be `true` if `type` is `undefined`.\n * @platform android\n */\n isLocalAccount?: boolean;\n};\n\n// @needsAudit\n/**\n * An event record, or a single instance of a recurring event. On iOS, used in the Calendar app.\n */\nexport type Event = {\n /**\n * Internal ID that represents this event on the device.\n */\n id: string;\n /**\n * ID of the calendar that contains this event.\n */\n calendarId: string;\n /**\n * Visible name of the event.\n */\n title: string;\n /**\n * Location field of the event.\n */\n location: string | null;\n /**\n * Date when the event record was created.\n * @platform ios\n */\n creationDate?: string | Date;\n /**\n * Date when the event record was last modified.\n * @platform ios\n */\n lastModifiedDate?: string | Date;\n /**\n * Time zone the event is scheduled in.\n */\n timeZone: string;\n /**\n * Time zone for the event end time.\n * @platform android\n */\n endTimeZone?: string;\n /**\n * URL for the event.\n * @platform ios\n */\n url?: string;\n /**\n * Description or notes saved with the event.\n */\n notes: string;\n /**\n * Array of Alarm objects which control automated reminders to the user.\n */\n alarms: Alarm[];\n /**\n * Object representing rules for recurring or repeating events. Set to `null` for one-time events.\n */\n recurrenceRule: RecurrenceRule | null;\n /**\n * Date object or string representing the time when the event starts.\n */\n startDate: string | Date;\n /**\n * Date object or string representing the time when the event ends.\n */\n endDate: string | Date;\n /**\n * For recurring events, the start date for the first (original) instance of the event.\n * @platform ios\n */\n originalStartDate?: string | Date;\n /**\n * Boolean value indicating whether or not the event is a detached (modified) instance of a recurring event.\n * @platform ios\n */\n isDetached?: boolean;\n /**\n * Whether the event is displayed as an all-day event on the calendar\n */\n allDay: boolean;\n /**\n * The availability setting for the event.\n */\n availability: Availability;\n /**\n * Status of the event.\n */\n status: EventStatus;\n /**\n * Organizer of the event.\n * This property is only available on events associated with calendars that are managed by a service ie. Google Calendar or iCloud.\n * The organizer is read-only and cannot be set.\n *\n * @platform ios\n */\n organizer?: Organizer;\n /**\n * Email address of the organizer of the event.\n * @platform android\n */\n organizerEmail?: string;\n /**\n * User's access level for the event.\n * @platform android\n */\n accessLevel?: EventAccessLevel;\n /**\n * Whether invited guests can modify the details of the event.\n * @platform android\n */\n guestsCanModify?: boolean;\n /**\n * Whether invited guests can invite other guests.\n * @platform android\n */\n guestsCanInviteOthers?: boolean;\n /**\n * Whether invited guests can see other guests.\n * @platform android\n */\n guestsCanSeeGuests?: boolean;\n /**\n * For detached (modified) instances of recurring events, the ID of the original recurring event.\n * @platform android\n */\n originalId?: string;\n /**\n * For instances of recurring events, volatile ID representing this instance. Not guaranteed to\n * always refer to the same instance.\n * @platform android\n */\n instanceId?: string;\n};\n\n// @needsAudit\n/**\n * A reminder record, used in the iOS Reminders app. No direct analog on Android.\n * @platform ios\n */\nexport type Reminder = {\n /**\n * Internal ID that represents this reminder on the device.\n */\n id?: string;\n /**\n * ID of the calendar that contains this reminder.\n */\n calendarId?: string;\n /**\n * Visible name of the reminder.\n */\n title?: string;\n /**\n * Location field of the reminder\n */\n location?: string;\n /**\n * Date when the reminder record was created.\n */\n creationDate?: string | Date;\n /**\n * Date when the reminder record was last modified.\n */\n lastModifiedDate?: string | Date;\n /**\n * Time zone the reminder is scheduled in.\n */\n timeZone?: string;\n /**\n * URL for the reminder.\n */\n url?: string;\n /**\n * Description or notes saved with the reminder.\n */\n notes?: string;\n /**\n * Array of Alarm objects which control automated alarms to the user about the task.\n */\n alarms?: Alarm[];\n /**\n * Object representing rules for recurring or repeated reminders. `null` for one-time tasks.\n */\n recurrenceRule?: RecurrenceRule | null;\n /**\n * Date object or string representing the start date of the reminder task.\n */\n startDate?: string | Date;\n /**\n * Date object or string representing the time when the reminder task is due.\n */\n dueDate?: string | Date;\n /**\n * Indicates if the reminder has a time specified for the due date.\n *\n * @platform ios\n */\n allDay?: boolean;\n /**\n * Indicates whether or not the task has been completed.\n */\n completed?: boolean;\n /**\n * Date object or string representing the date of completion, if `completed` is `true`.\n * Setting this property of a nonnull `Date` will automatically set the reminder's `completed` value to `true`.\n */\n completionDate?: string | Date;\n};\n\n// @needsAudit\n/**\n * A person or entity that is associated with an event by being invited or fulfilling some other role.\n */\nexport type Attendee = {\n /**\n * Internal ID that represents this attendee on the device.\n * @platform android\n */\n id?: string;\n /**\n * Indicates whether or not this attendee is the current OS user.\n * @platform ios\n */\n isCurrentUser?: boolean;\n /**\n * Displayed name of the attendee.\n */\n name: string;\n /**\n * Role of the attendee at the event.\n */\n role: AttendeeRole;\n /**\n * Status of the attendee in relation to the event.\n */\n status: AttendeeStatus;\n /**\n * Type of the attendee.\n */\n type: AttendeeType;\n /**\n * URL for the attendee.\n * @platform ios\n */\n url?: string;\n /**\n * Email address of the attendee.\n * @platform android\n */\n email?: string;\n};\n\n// @needsAudit\n/**\n * A method for having the OS automatically remind the user about a calendar item.\n */\nexport type Alarm = {\n /**\n * Date object or string representing an absolute time the alarm should occur.\n * Overrides `relativeOffset` and `structuredLocation` if specified alongside either.\n * @platform ios\n */\n absoluteDate?: string;\n /**\n * Number of minutes from the `startDate` of the calendar item that the alarm should occur.\n * Use negative values to have the alarm occur before the `startDate`.\n */\n relativeOffset?: number;\n // @docsMissing\n structuredLocation?: AlarmLocation;\n /**\n * Method of alerting the user that this alarm should use. On iOS this is always a notification.\n * @platform android\n */\n method?: AlarmMethod;\n};\n\n// @docsMissing\nexport type AlarmLocation = {\n /**\n * @platform ios\n */\n title?: string;\n proximity?: string;\n radius?: number;\n coords?: {\n latitude?: number;\n longitude?: number;\n };\n};\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum DayOfTheWeek {\n Sunday = 1,\n Monday = 2,\n Tuesday = 3,\n Wednesday = 4,\n Thursday = 5,\n Friday = 6,\n Saturday = 7,\n}\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum MonthOfTheYear {\n January = 1,\n February = 2,\n March = 3,\n April = 4,\n May = 5,\n June = 6,\n July = 7,\n August = 8,\n September = 9,\n October = 10,\n November = 11,\n December = 12,\n}\n\n// @needsAudit\n/**\n * A recurrence rule for events or reminders, allowing the same calendar item to recur multiple times.\n * This type is based on [the iOS interface](https://developer.apple.com/documentation/eventkit/ekrecurrencerule/1507320-initrecurrencewithfrequency)\n * which is in turn based on [the iCal RFC](https://tools.ietf.org/html/rfc5545#section-3.8.5.3)\n * so you can refer to those to learn more about this potentially complex interface.\n *\n * Not all the combinations make sense. For example, when frequency is `DAILY`, setting `daysOfTheMonth` makes no sense.\n */\nexport type RecurrenceRule = {\n /**\n * How often the calendar item should recur.\n */\n frequency: Frequency;\n /**\n * Interval at which the calendar item should recur. For example, an `interval: 2` with `frequency: DAILY`\n * would yield an event that recurs every other day.\n * @default 1\n */\n interval?: number;\n /**\n * Date on which the calendar item should stop recurring; overrides `occurrence` if both are specified.\n */\n endDate?: string | Date;\n /**\n * Number of times the calendar item should recur before stopping.\n */\n occurrence?: number;\n /**\n * The days of the week the event should recur on. An array of [`DaysOfTheWeek`](#daysoftheweek) object.\n * @platform ios\n */\n daysOfTheWeek?: DaysOfTheWeek[];\n /**\n * The days of the month this event occurs on.\n * `-31` to `31` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Monthly`.\n * @platform ios\n */\n daysOfTheMonth?: number[];\n /**\n * The months this event occurs on.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n monthsOfTheYear?: MonthOfTheYear[];\n /**\n * The weeks of the year this event occurs on.\n * `-53` to `53` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n weeksOfTheYear?: number[];\n /**\n * The days of the year this event occurs on.\n * `-366` to `366` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n daysOfTheYear?: number[];\n /**\n * TAn array of numbers that filters which recurrences to include. For example, for an event that\n * recurs every Monday, passing 2 here will make it recur every other Monday.\n * `-366` to `366` (not including `0`). Negative indicates a value from the end of the range.\n * This field is only valid for `Calendar.Frequency.Yearly`.\n * @platform ios\n */\n setPositions?: number[];\n};\n\n// @needsAudit\n/**\n * @platform ios\n */\nexport type DaysOfTheWeek = {\n /**\n * Sunday to Saturday - `DayOfTheWeek` enum.\n */\n dayOfTheWeek: DayOfTheWeek;\n /**\n * `-53` to `53` (`0` ignores this field, and a negative indicates a value from the end of the range).\n */\n weekNumber?: number;\n};\n\n/**\n * Enum containing all possible user responses to the calendar UI dialogs. Depending on what dialog is presented, a subset of the values applies.\n * */\nexport enum CalendarDialogResultActions {\n /**\n * On Android, this is the only possible result because the OS doesn't provide enough information to determine the user's action -\n * the user may have canceled the dialog, modified the event, or deleted it.\n *\n * On iOS, this means the user simply closed the dialog.\n * */\n done = 'done',\n /**\n * The user canceled or dismissed the dialog.\n * @platform ios\n * */\n canceled = 'canceled',\n /**\n * The user deleted the event.\n * @platform ios\n * */\n deleted = 'deleted',\n /**\n * The user responded to and saved a pending event invitation.\n * @platform ios\n * */\n responded = 'responded',\n /**\n * The user saved a new event or modified an existing one.\n * @platform ios\n * */\n saved = 'saved',\n}\n\n/**\n * The result of presenting the calendar dialog for opening (viewing) an event.\n * */\nexport type OpenEventDialogResult = {\n /**\n * Indicates how user responded to the dialog.\n * On Android, the `action` is always `done`.\n * On iOS, it can be `done`, `canceled`, `deleted` or `responded`.\n * */\n action: Extract<CalendarDialogResultActions, 'done' | 'canceled' | 'deleted' | 'responded'>;\n};\n\n/**\n * The result of presenting a calendar dialog for creating or editing an event.\n * */\nexport type DialogEventResult = {\n /**\n * How user responded to the dialog.\n * On Android, this is always `done` (Android doesn't provide enough information to determine the user's action -\n * the user may have canceled the dialog, saved or deleted the event).\n *\n * On iOS, it can be `saved`, `canceled` or `deleted`.\n * */\n action: Extract<CalendarDialogResultActions, 'done' | 'saved' | 'canceled' | 'deleted'>;\n /**\n * The ID of the event that was created or edited. On Android, this is always `null`.\n *\n * On iOS, this is a string when permissions are granted and user confirms the creation or editing of an event. Otherwise, it's `null`.\n * */\n id: string | null;\n};\n\nexport type PresentationOptions = {\n /**\n * Whether to launch the Activity as a new [task](https://developer.android.com/reference/android/content/Intent#FLAG_ACTIVITY_NEW_TASK).\n * If `true`, the promise resolves with `'done'` action immediately after opening the calendar activity.\n * @default true\n * @platform android\n */\n startNewActivityTask?: boolean;\n};\nexport type OpenEventPresentationOptions = PresentationOptions & {\n /**\n * Whether to allow the user to edit the previewed event.\n * This property applies only to events in calendars created by the user.\n *\n * Note that if the user edits the event, the returned action is the one that user performs last.\n * For example, when user previews the event, confirms some edits and finally dismisses the dialog, the event is edited, but response is `canceled`.\n *\n * @default false\n * @platform ios\n * */\n allowsEditing?: boolean;\n /**\n * Determines whether event can be shown in calendar day view preview.\n * This property applies only to invitations.\n *\n * @default false\n * @platform ios\n * */\n allowsCalendarPreview?: boolean;\n};\n\nexport type CalendarDialogParams = {\n /**\n * ID of the event to be presented in the calendar UI.\n */\n id: string;\n /**\n * Date object representing the start time of the desired instance, if looking for a single instance\n * of a recurring event. If this is not provided and **id** represents a recurring event, the first\n * instance of that event will be returned by default.\n * @platform ios\n */\n instanceStartDate?: string | Date;\n};\n\n/**\n * Launches the calendar UI provided by the OS to create a new event.\n * @param eventData A map of details for the event to be created.\n * @param presentationOptions Configuration that influences how the calendar UI is presented.\n * @return A promise which resolves with information about the dialog result.\n * @header systemProvidedUI\n */\nexport async function createEventInCalendarAsync(\n eventData: Omit<Partial<Event>, 'id'> = {},\n presentationOptions?: PresentationOptions\n): Promise<DialogEventResult> {\n if (!ExpoCalendar.createEventInCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'createEventInCalendarAsync');\n }\n // @ts-expect-error id could be passed if user doesn't use TypeScript or doesn't use the method with an object literal\n if (eventData.id) {\n console.warn(\n 'You attempted to create an event with an id. Event ids are assigned by the system.'\n );\n }\n const params = stringifyDateValues(eventData);\n Object.assign(params, presentationOptions);\n\n return ExpoCalendar.createEventInCalendarAsync(params);\n}\n\n/**\n * Launches the calendar UI provided by the OS to preview an event.\n * @return A promise which resolves with information about the dialog result.\n * @header systemProvidedUI\n */\nexport async function openEventInCalendarAsync(\n params: CalendarDialogParams,\n presentationOptions?: OpenEventPresentationOptions\n): Promise<OpenEventDialogResult> {\n if (!ExpoCalendar.openEventInCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'openEventInCalendarAsync');\n }\n if (!params.id) {\n throw new Error(\n 'openEventInCalendarAsync must be called with an id (string) of the target event'\n );\n }\n const newParams = { ...params, ...presentationOptions };\n return ExpoCalendar.openEventInCalendarAsync(newParams);\n}\n\n/**\n * Launches the calendar UI provided by the OS to edit or delete an event. On Android, this is the same as `openEventInCalendarAsync`.\n * @return A promise which resolves with information about the dialog result.\n * @header systemProvidedUI\n */\nexport async function editEventInCalendarAsync(\n params: CalendarDialogParams,\n presentationOptions?: PresentationOptions\n): Promise<DialogEventResult> {\n if (!ExpoCalendar.editEventInCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'editEventInCalendarAsync');\n }\n if (!params.id) {\n throw new Error(\n 'editEventInCalendarAsync must be called with an id (string) of the target event'\n );\n }\n const newParams = { ...params, ...presentationOptions };\n return ExpoCalendar.editEventInCalendarAsync(newParams);\n}\n\n// @needsAudit\n/**\n * Returns whether the Calendar API is enabled on the current device. This does not check the app permissions.\n *\n * @returns Async `boolean`, indicating whether the Calendar API is available on the current device.\n * Currently, this resolves `true` on iOS and Android only.\n */\nexport async function isAvailableAsync(): Promise<boolean> {\n return !!ExpoCalendar.getCalendarsAsync;\n}\n\n// @needsAudit\n/**\n * Gets an array of calendar objects with details about the different calendars stored on the device.\n * @param entityType __iOS Only.__ Not required, but if defined, filters the returned calendars to\n * a specific entity type. Possible values are `Calendar.EntityTypes.EVENT` (for calendars shown in\n * the Calendar app) and `Calendar.EntityTypes.REMINDER` (for the Reminders app).\n * > **Note:** If not defined, you will need both permissions: **CALENDAR** and **REMINDERS**.\n * @return An array of [calendar objects](#calendar 'Calendar') matching the provided entity type (if provided).\n */\nexport async function getCalendarsAsync(entityType?: string): Promise<Calendar[]> {\n if (!ExpoCalendar.getCalendarsAsync) {\n throw new UnavailabilityError('Calendar', 'getCalendarsAsync');\n }\n if (!entityType) {\n return ExpoCalendar.getCalendarsAsync(null);\n }\n return ExpoCalendar.getCalendarsAsync(entityType);\n}\n\n// @needsAudit\n/**\n * Creates a new calendar on the device, allowing events to be added later and displayed in the OS Calendar app.\n * @param details A map of details for the calendar to be created.\n * @return A string representing the ID of the newly created calendar.\n */\nexport async function createCalendarAsync(details: Partial<Calendar> = {}): Promise<string> {\n if (!ExpoCalendar.saveCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'createCalendarAsync');\n }\n const color = details.color ? processColor(details.color) : undefined;\n const newDetails = { ...details, id: undefined, color };\n return ExpoCalendar.saveCalendarAsync(newDetails);\n}\n\n// @needsAudit\n/**\n * Updates the provided details of an existing calendar stored on the device. To remove a property,\n * explicitly set it to `null` in `details`.\n * @param id ID of the calendar to update.\n * @param details A map of properties to be updated.\n */\nexport async function updateCalendarAsync(\n id: string,\n details: Partial<Calendar> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'updateCalendarAsync');\n }\n if (!id) {\n throw new Error(\n 'updateCalendarAsync must be called with an id (string) of the target calendar'\n );\n }\n const color = details.color ? processColor(details.color) : undefined;\n\n if (Platform.OS === 'android') {\n if (\n details.hasOwnProperty('source') ||\n details.hasOwnProperty('color') ||\n details.hasOwnProperty('allowsModifications') ||\n details.hasOwnProperty('allowedAvailabilities') ||\n details.hasOwnProperty('isPrimary') ||\n details.hasOwnProperty('ownerAccount') ||\n details.hasOwnProperty('timeZone') ||\n details.hasOwnProperty('allowedReminders') ||\n details.hasOwnProperty('allowedAttendeeTypes') ||\n details.hasOwnProperty('accessLevel')\n ) {\n console.warn(\n 'updateCalendarAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n } else {\n if (\n details.hasOwnProperty('source') ||\n details.hasOwnProperty('type') ||\n details.hasOwnProperty('entityType') ||\n details.hasOwnProperty('allowsModifications') ||\n details.hasOwnProperty('allowedAvailabilities')\n ) {\n console.warn(\n 'updateCalendarAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n }\n\n const newDetails = { ...details, id, color };\n return ExpoCalendar.saveCalendarAsync(newDetails);\n}\n\n// @needsAudit\n/**\n * Deletes an existing calendar and all associated events/reminders/attendees from the device. __Use with caution.__\n * @param id ID of the calendar to delete.\n */\nexport async function deleteCalendarAsync(id: string): Promise<void> {\n if (!ExpoCalendar.deleteCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'deleteCalendarAsync');\n }\n if (!id) {\n throw new Error(\n 'deleteCalendarAsync must be called with an id (string) of the target calendar'\n );\n }\n return ExpoCalendar.deleteCalendarAsync(id);\n}\n\n// @needsAudit\n/**\n * Returns all events in a given set of calendars over a specified time period. The filtering has\n * slightly different behavior per-platform - on iOS, all events that overlap at all with the\n * `[startDate, endDate]` interval are returned, whereas on Android, only events that begin on or\n * after the `startDate` and end on or before the `endDate` will be returned.\n * @param calendarIds Array of IDs of calendars to search for events in.\n * @param startDate Beginning of time period to search for events in.\n * @param endDate End of time period to search for events in.\n * @return A promise which fulfils with an array of [`Event`](#event) objects matching the search criteria.\n */\nexport async function getEventsAsync(\n calendarIds: string[],\n startDate: Date,\n endDate: Date\n): Promise<Event[]> {\n if (!ExpoCalendar.getEventsAsync) {\n throw new UnavailabilityError('Calendar', 'getEventsAsync');\n }\n if (!startDate) {\n throw new Error('getEventsAsync must be called with a startDate (date) to search for events');\n }\n if (!endDate) {\n throw new Error('getEventsAsync must be called with an endDate (date) to search for events');\n }\n if (!calendarIds || !calendarIds.length) {\n throw new Error(\n 'getEventsAsync must be called with a non-empty array of calendarIds to search'\n );\n }\n return ExpoCalendar.getEventsAsync(\n stringifyIfDate(startDate),\n stringifyIfDate(endDate),\n calendarIds\n );\n}\n\n// @needsAudit\n/**\n * Returns a specific event selected by ID. If a specific instance of a recurring event is desired,\n * the start date of this instance must also be provided, as instances of recurring events do not\n * have their own unique and stable IDs on either iOS or Android.\n * @param id ID of the event to return.\n * @param recurringEventOptions A map of options for recurring events.\n * @return A promise which fulfils with an [`Event`](#event) object matching the provided criteria, if one exists.\n */\nexport async function getEventAsync(\n id: string,\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<Event> {\n if (!ExpoCalendar.getEventByIdAsync) {\n throw new UnavailabilityError('Calendar', 'getEventAsync');\n }\n if (!id) {\n throw new Error('getEventAsync must be called with an id (string) of the target event');\n }\n if (Platform.OS === 'ios') {\n return ExpoCalendar.getEventByIdAsync(id, recurringEventOptions.instanceStartDate);\n } else {\n return ExpoCalendar.getEventByIdAsync(id);\n }\n}\n\n// @needsAudit\n/**\n * Creates a new event on the specified calendar.\n * @param calendarId ID of the calendar to create this event in.\n * @param eventData A map of details for the event to be created.\n * @return A promise which fulfils with a string representing the ID of the newly created event.\n */\nexport async function createEventAsync(\n calendarId: string,\n eventData: Omit<Partial<Event>, 'id' | 'organizer'> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveEventAsync) {\n throw new UnavailabilityError('Calendar', 'createEventAsync');\n }\n if (!calendarId) {\n throw new Error('createEventAsync must be called with an id (string) of the target calendar');\n }\n\n // @ts-expect-error id could be passed if user doesn't use TypeScript or doesn't use the method with an object literal\n const { id, ...details } = eventData;\n\n if (id) {\n console.warn(\n 'You attempted to create an event with an id. Event ids are assigned by the system.'\n );\n }\n\n if (Platform.OS === 'android') {\n if (!details.startDate) {\n throw new Error('createEventAsync requires a startDate (Date)');\n }\n if (!details.endDate) {\n throw new Error('createEventAsync requires an endDate (Date)');\n }\n }\n\n const newDetails = {\n ...details,\n calendarId,\n };\n\n return ExpoCalendar.saveEventAsync(stringifyDateValues(newDetails), {});\n}\n\n// @needsAudit\n/**\n * Updates the provided details of an existing calendar stored on the device. To remove a property,\n * explicitly set it to `null` in `details`.\n * @param id ID of the event to be updated.\n * @param details A map of properties to be updated.\n * @param recurringEventOptions A map of options for recurring events.\n */\nexport async function updateEventAsync(\n id: string,\n details: Omit<Partial<Event>, 'id'> = {},\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<string> {\n if (!ExpoCalendar.saveEventAsync) {\n throw new UnavailabilityError('Calendar', 'updateEventAsync');\n }\n if (!id) {\n throw new Error('updateEventAsync must be called with an id (string) of the target event');\n }\n\n if (Platform.OS === 'ios') {\n if (\n details.hasOwnProperty('creationDate') ||\n details.hasOwnProperty('lastModifiedDate') ||\n details.hasOwnProperty('originalStartDate') ||\n details.hasOwnProperty('isDetached') ||\n details.hasOwnProperty('status') ||\n details.hasOwnProperty('organizer')\n ) {\n console.warn(\n 'updateEventAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n }\n\n const { futureEvents = false, instanceStartDate } = recurringEventOptions;\n const newDetails = { ...details, id, instanceStartDate };\n return ExpoCalendar.saveEventAsync(stringifyDateValues(newDetails), { futureEvents });\n}\n\n// @needsAudit\n/**\n * Deletes an existing event from the device. Use with caution.\n * @param id ID of the event to be deleted.\n * @param recurringEventOptions A map of options for recurring events.\n */\nexport async function deleteEventAsync(\n id: string,\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<void> {\n if (!ExpoCalendar.deleteEventAsync) {\n throw new UnavailabilityError('Calendar', 'deleteEventAsync');\n }\n if (!id) {\n throw new Error('deleteEventAsync must be called with an id (string) of the target event');\n }\n const { futureEvents = false, instanceStartDate } = recurringEventOptions;\n return ExpoCalendar.deleteEventAsync({ id, instanceStartDate }, { futureEvents });\n}\n\n// @needsAudit\n/**\n * Gets all attendees for a given event (or instance of a recurring event).\n * @param id ID of the event to return attendees for.\n * @param recurringEventOptions A map of options for recurring events.\n * @return A promise which fulfils with an array of [`Attendee`](#attendee) associated with the\n * specified event.\n */\nexport async function getAttendeesForEventAsync(\n id: string,\n recurringEventOptions: RecurringEventOptions = {}\n): Promise<Attendee[]> {\n if (!ExpoCalendar.getAttendeesForEventAsync) {\n throw new UnavailabilityError('Calendar', 'getAttendeesForEventAsync');\n }\n if (!id) {\n throw new Error(\n 'getAttendeesForEventAsync must be called with an id (string) of the target event'\n );\n }\n const { instanceStartDate } = recurringEventOptions;\n // Android only takes an ID, iOS takes an object\n const params = Platform.OS === 'ios' ? { id, instanceStartDate } : id;\n return ExpoCalendar.getAttendeesForEventAsync(params);\n}\n\n// @needsAudit\n/**\n * Creates a new attendee record and adds it to the specified event. Note that if `eventId` specifies\n * a recurring event, this will add the attendee to every instance of the event.\n * @param eventId ID of the event to add this attendee to.\n * @param details A map of details for the attendee to be created.\n * @return A string representing the ID of the newly created attendee record.\n * @platform android\n */\nexport async function createAttendeeAsync(\n eventId: string,\n details: Partial<Attendee> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveAttendeeForEventAsync) {\n throw new UnavailabilityError('Calendar', 'createAttendeeAsync');\n }\n if (!eventId) {\n throw new Error('createAttendeeAsync must be called with an id (string) of the target event');\n }\n if (!details.email) {\n throw new Error('createAttendeeAsync requires an email (string)');\n }\n if (!details.role) {\n throw new Error('createAttendeeAsync requires a role (string)');\n }\n if (!details.type) {\n throw new Error('createAttendeeAsync requires a type (string)');\n }\n if (!details.status) {\n throw new Error('createAttendeeAsync requires a status (string)');\n }\n const newDetails = { ...details, id: undefined };\n return ExpoCalendar.saveAttendeeForEventAsync(newDetails, eventId);\n}\n\n// @needsAudit\n/**\n * Updates an existing attendee record. To remove a property, explicitly set it to `null` in `details`.\n * @param id ID of the attendee record to be updated.\n * @param details A map of properties to be updated.\n * @platform android\n */\nexport async function updateAttendeeAsync(\n id: string,\n details: Partial<Attendee> = {}\n): Promise<string> {\n if (!ExpoCalendar.saveAttendeeForEventAsync) {\n throw new UnavailabilityError('Calendar', 'updateAttendeeAsync');\n }\n if (!id) {\n throw new Error('updateAttendeeAsync must be called with an id (string) of the target event');\n }\n const newDetails = { ...details, id };\n return ExpoCalendar.saveAttendeeForEventAsync(newDetails, null);\n}\n\n// @needsAudit\n/**\n * Gets an instance of the default calendar object.\n * @return A promise resolving to the [Calendar](#calendar) object that is the user's default calendar.\n * @platform ios\n */\nexport async function getDefaultCalendarAsync(): Promise<Calendar> {\n if (!ExpoCalendar.getDefaultCalendarAsync) {\n throw new UnavailabilityError('Calendar', 'getDefaultCalendarAsync');\n }\n return ExpoCalendar.getDefaultCalendarAsync();\n}\n\n// @needsAudit\n/**\n * Deletes an existing attendee record from the device. __Use with caution.__\n * @param id ID of the attendee to delete.\n * @platform android\n */\nexport async function deleteAttendeeAsync(id: string): Promise<void> {\n if (!ExpoCalendar.deleteAttendeeAsync) {\n throw new UnavailabilityError('Calendar', 'deleteAttendeeAsync');\n }\n if (!id) {\n throw new Error('deleteAttendeeAsync must be called with an id (string) of the target event');\n }\n return ExpoCalendar.deleteAttendeeAsync(id);\n}\n\n// @needsAudit\n/**\n * Returns a list of reminders matching the provided criteria. If `startDate` and `endDate` are defined,\n * returns all reminders that overlap at all with the [startDate, endDate] interval - i.e. all reminders\n * that end after the `startDate` or begin before the `endDate`.\n * @param calendarIds Array of IDs of calendars to search for reminders in.\n * @param status One of `Calendar.ReminderStatus.COMPLETED` or `Calendar.ReminderStatus.INCOMPLETE`.\n * @param startDate Beginning of time period to search for reminders in. Required if `status` is defined.\n * @param endDate End of time period to search for reminders in. Required if `status` is defined.\n * @return A promise which fulfils with an array of [`Reminder`](#reminder) objects matching the search criteria.\n * @platform ios\n */\nexport async function getRemindersAsync(\n calendarIds: (string | null)[],\n status: ReminderStatus | null,\n startDate: Date | null,\n endDate: Date | null\n): Promise<Reminder[]> {\n if (!ExpoCalendar.getRemindersAsync) {\n throw new UnavailabilityError('Calendar', 'getRemindersAsync');\n }\n if (status && !startDate) {\n throw new Error(\n 'getRemindersAsync must be called with a startDate (date) to search for reminders'\n );\n }\n if (status && !endDate) {\n throw new Error(\n 'getRemindersAsync must be called with an endDate (date) to search for reminders'\n );\n }\n if (!calendarIds || !calendarIds.length) {\n throw new Error(\n 'getRemindersAsync must be called with a non-empty array of calendarIds to search'\n );\n }\n\n const formattedStartDate = startDate ? stringifyIfDate(startDate) : null;\n const formattedEndDate = endDate ? stringifyIfDate(endDate) : null;\n\n return ExpoCalendar.getRemindersAsync(\n formattedStartDate,\n formattedEndDate,\n calendarIds,\n status || null\n );\n}\n\n// @needsAudit\n/**\n * Returns a specific reminder selected by ID.\n * @param id ID of the reminder to return.\n * @return A promise which fulfils with a [`Reminder`](#reminder) matching the provided ID, if one exists.\n * @platform ios\n */\nexport async function getReminderAsync(id: string): Promise<Reminder> {\n if (!ExpoCalendar.getReminderByIdAsync) {\n throw new UnavailabilityError('Calendar', 'getReminderAsync');\n }\n if (!id) {\n throw new Error('getReminderAsync must be called with an id (string) of the target reminder');\n }\n return ExpoCalendar.getReminderByIdAsync(id);\n}\n\n// @needsAudit\n/**\n * Creates a new reminder on the specified calendar.\n * @param calendarId ID of the calendar to create this reminder in (or `null` to add the calendar to\n * the OS-specified default calendar for reminders).\n * @param reminder A map of details for the reminder to be created\n * @return A promise which fulfils with a string representing the ID of the newly created reminder.\n * @platform ios\n */\nexport async function createReminderAsync(\n calendarId: string | null,\n reminder: Reminder = {}\n): Promise<string> {\n if (!ExpoCalendar.saveReminderAsync) {\n throw new UnavailabilityError('Calendar', 'createReminderAsync');\n }\n\n const { id, ...details } = reminder;\n const newDetails = {\n ...details,\n calendarId: calendarId === null ? undefined : calendarId,\n };\n return ExpoCalendar.saveReminderAsync(stringifyDateValues(newDetails));\n}\n\n// @needsAudit\n/**\n * Updates the provided details of an existing reminder stored on the device. To remove a property,\n * explicitly set it to `null` in `details`.\n * @param id ID of the reminder to be updated.\n * @param details A map of properties to be updated.\n * @platform ios\n */\nexport async function updateReminderAsync(id: string, details: Reminder = {}): Promise<string> {\n if (!ExpoCalendar.saveReminderAsync) {\n throw new UnavailabilityError('Calendar', 'updateReminderAsync');\n }\n if (!id) {\n throw new Error(\n 'updateReminderAsync must be called with an id (string) of the target reminder'\n );\n }\n\n if (details.hasOwnProperty('creationDate') || details.hasOwnProperty('lastModifiedDate')) {\n console.warn(\n 'updateReminderAsync was called with one or more read-only properties, which will not be updated'\n );\n }\n\n const newDetails = { ...details, id };\n return ExpoCalendar.saveReminderAsync(stringifyDateValues(newDetails));\n}\n\n// @needsAudit\n/**\n * Deletes an existing reminder from the device. __Use with caution.__\n * @param id ID of the reminder to be deleted.\n * @platform ios\n */\nexport async function deleteReminderAsync(id: string): Promise<void> {\n if (!ExpoCalendar.deleteReminderAsync) {\n throw new UnavailabilityError('Calendar', 'deleteReminderAsync');\n }\n if (!id) {\n throw new Error(\n 'deleteReminderAsync must be called with an id (string) of the target reminder'\n );\n }\n return ExpoCalendar.deleteReminderAsync(id);\n}\n\n// @needsAudit @docsMissing\n/**\n * @return A promise which fulfils with an array of [`Source`](#source) objects all sources for\n * calendars stored on the device.\n * @platform ios\n */\nexport async function getSourcesAsync(): Promise<Source[]> {\n if (!ExpoCalendar.getSourcesAsync) {\n throw new UnavailabilityError('Calendar', 'getSourcesAsync');\n }\n return ExpoCalendar.getSourcesAsync();\n}\n\n// @needsAudit\n/**\n * Returns a specific source selected by ID.\n * @param id ID of the source to return.\n * @return A promise which fulfils with an array of [`Source`](#source) object matching the provided\n * ID, if one exists.\n * @platform ios\n */\nexport async function getSourceAsync(id: string): Promise<Source> {\n if (!ExpoCalendar.getSourceByIdAsync) {\n throw new UnavailabilityError('Calendar', 'getSourceAsync');\n }\n if (!id) {\n throw new Error('getSourceAsync must be called with an id (string) of the target source');\n }\n return ExpoCalendar.getSourceByIdAsync(id);\n}\n\n// @needsAudit\n/**\n * Sends an intent to open the specified event in the OS Calendar app.\n * @param id ID of the event to open.\n * @platform android\n * @deprecated Use [`openEventInCalendarAsync`](#openeventincalendarasyncparams-presentationoptions) instead.\n * @header systemProvidedUI\n */\nexport function openEventInCalendar(id: string): void {\n if (!ExpoCalendar.openEventInCalendar) {\n console.warn(`openEventInCalendar is not available on platform: ${Platform.OS}`);\n return;\n }\n if (!id) {\n throw new Error('openEventInCalendar must be called with an id (string) of the target event');\n }\n return ExpoCalendar.openEventInCalendar(id);\n} // Android\n\n// @needsAudit\n/**\n * @deprecated Use [`requestCalendarPermissionsAsync()`](#calendarrequestcalendarpermissionsasync) instead.\n */\nexport async function requestPermissionsAsync(): Promise<PermissionResponse> {\n console.warn(\n 'requestPermissionsAsync is deprecated. Use requestCalendarPermissionsAsync instead.'\n );\n return requestCalendarPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Checks user's permissions for accessing user's calendars.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n */\nexport async function getCalendarPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.getCalendarPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'getCalendarPermissionsAsync');\n }\n return ExpoCalendar.getCalendarPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Checks user's permissions for accessing user's reminders.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n * @platform ios\n */\nexport async function getRemindersPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.getRemindersPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'getRemindersPermissionsAsync');\n }\n return ExpoCalendar.getRemindersPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Asks the user to grant permissions for accessing user's calendars.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n */\nexport async function requestCalendarPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.requestCalendarPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'requestCalendarPermissionsAsync');\n }\n return await ExpoCalendar.requestCalendarPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Asks the user to grant permissions for accessing user's reminders.\n * @return A promise that resolves to an object of type [`PermissionResponse`](#permissionresponse).\n * @platform ios\n */\nexport async function requestRemindersPermissionsAsync(): Promise<PermissionResponse> {\n if (!ExpoCalendar.requestRemindersPermissionsAsync) {\n throw new UnavailabilityError('Calendar', 'requestRemindersPermissionsAsync');\n }\n return await ExpoCalendar.requestRemindersPermissionsAsync();\n}\n\n// @needsAudit\n/**\n * Check or request permissions to access the calendar.\n * This uses both `getCalendarPermissionsAsync` and `requestCalendarPermissionsAsync` to interact\n * with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = Calendar.useCalendarPermissions();\n * ```\n */\nexport const useCalendarPermissions = createPermissionHook({\n getMethod: getCalendarPermissionsAsync,\n requestMethod: requestCalendarPermissionsAsync,\n});\n\n// @needsAudit\n/**\n * Check or request permissions to access reminders.\n * This uses both `getRemindersPermissionsAsync` and `requestRemindersPermissionsAsync` to interact\n * with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = Calendar.useRemindersPermissions();\n * ```\n */\nexport const useRemindersPermissions = createPermissionHook({\n getMethod: getRemindersPermissionsAsync,\n requestMethod: requestRemindersPermissionsAsync,\n});\n\n// @docsMissing\n/**\n * platform ios\n */\nexport enum EntityTypes {\n EVENT = 'event',\n REMINDER = 'reminder',\n}\n\n// @docsMissing\nexport enum Frequency {\n DAILY = 'daily',\n WEEKLY = 'weekly',\n MONTHLY = 'monthly',\n YEARLY = 'yearly',\n}\n\n// @docsMissing\nexport enum Availability {\n /**\n * @platform ios\n */\n NOT_SUPPORTED = 'notSupported',\n BUSY = 'busy',\n FREE = 'free',\n TENTATIVE = 'tentative',\n /**\n * @platform ios\n */\n UNAVAILABLE = 'unavailable',\n}\n\n/**\n * @platform ios\n */\nexport enum CalendarType {\n LOCAL = 'local',\n CALDAV = 'caldav',\n EXCHANGE = 'exchange',\n SUBSCRIBED = 'subscribed',\n BIRTHDAYS = 'birthdays',\n UNKNOWN = 'unknown',\n}\n\n// @docsMissing\nexport enum EventStatus {\n NONE = 'none',\n CONFIRMED = 'confirmed',\n TENTATIVE = 'tentative',\n CANCELED = 'canceled',\n}\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum SourceType {\n LOCAL = 'local',\n EXCHANGE = 'exchange',\n CALDAV = 'caldav',\n MOBILEME = 'mobileme',\n SUBSCRIBED = 'subscribed',\n BIRTHDAYS = 'birthdays',\n}\n\n// @docsMissing\nexport enum AttendeeRole {\n /**\n * @platform ios\n */\n UNKNOWN = 'unknown',\n /**\n * @platform ios\n */\n REQUIRED = 'required',\n /**\n * @platform ios\n */\n OPTIONAL = 'optional',\n /**\n * @platform ios\n */\n CHAIR = 'chair',\n /**\n * @platform ios\n */\n NON_PARTICIPANT = 'nonParticipant',\n /**\n * @platform android\n */\n ATTENDEE = 'attendee',\n /**\n * @platform android\n */\n ORGANIZER = 'organizer',\n /**\n * @platform android\n */\n PERFORMER = 'performer',\n /**\n * @platform android\n */\n SPEAKER = 'speaker',\n /**\n * @platform android\n */\n NONE = 'none',\n}\n\n// @docsMissing\nexport enum AttendeeStatus {\n /**\n * @platform ios\n */\n UNKNOWN = 'unknown',\n /**\n * @platform ios\n */\n PENDING = 'pending',\n ACCEPTED = 'accepted',\n DECLINED = 'declined',\n TENTATIVE = 'tentative',\n /**\n * @platform ios\n */\n DELEGATED = 'delegated',\n /**\n * @platform ios\n */\n COMPLETED = 'completed',\n /**\n * @platform ios\n */\n IN_PROCESS = 'inProcess',\n /**\n * @platform android\n */\n INVITED = 'invited',\n /**\n * @platform android\n */\n NONE = 'none',\n}\n\n// @docsMissing\nexport enum AttendeeType {\n /**\n * @platform ios\n */\n UNKNOWN = 'unknown',\n /**\n * @platform ios\n */\n PERSON = 'person',\n /**\n * @platform ios\n */\n ROOM = 'room',\n /**\n * @platform ios\n */\n GROUP = 'group',\n RESOURCE = 'resource',\n /**\n * @platform android\n */\n OPTIONAL = 'optional',\n /**\n * @platform android\n */\n REQUIRED = 'required',\n /**\n * @platform android\n */\n NONE = 'none',\n}\n\n// @docsMissing\n/**\n * @platform android\n */\nexport enum AlarmMethod {\n ALARM = 'alarm',\n ALERT = 'alert',\n EMAIL = 'email',\n SMS = 'sms',\n DEFAULT = 'default',\n}\n\n// @docsMissing\n/**\n * @platform android\n */\nexport enum EventAccessLevel {\n CONFIDENTIAL = 'confidential',\n PRIVATE = 'private',\n PUBLIC = 'public',\n DEFAULT = 'default',\n}\n\n// @docsMissing\n/**\n * @platform android\n */\nexport enum CalendarAccessLevel {\n CONTRIBUTOR = 'contributor',\n EDITOR = 'editor',\n FREEBUSY = 'freebusy',\n OVERRIDE = 'override',\n OWNER = 'owner',\n READ = 'read',\n RESPOND = 'respond',\n ROOT = 'root',\n NONE = 'none',\n}\n\n// @docsMissing\n/**\n * @platform ios\n */\nexport enum ReminderStatus {\n COMPLETED = 'completed',\n INCOMPLETE = 'incomplete',\n}\n\nfunction stringifyIfDate<T extends Date>(date: Date | T): string | T {\n return date instanceof Date ? date.toISOString() : date;\n}\n\ntype StringifyDates<T extends Record<string, any>> = {\n [K in keyof T]: T[K] extends Date ? string : T[K];\n};\n\nfunction stringifyDateValues<T extends Record<string, any>>(obj: T): StringifyDates<T> {\n if (typeof obj !== 'object' || obj === null) return obj;\n return Object.keys(obj).reduce((acc, key) => {\n const value = obj[key];\n if (value != null && typeof value === 'object' && !(value instanceof Date)) {\n if (Array.isArray(value)) {\n return { ...acc, [key]: value.map(stringifyDateValues) };\n }\n return { ...acc, [key]: stringifyDateValues(value) };\n }\n acc[key as keyof T] = stringifyIfDate(value);\n return acc;\n }, {} as StringifyDates<T>);\n}\n"]}
|
package/expo-module.config.json
CHANGED
package/ios/CalendarModule.swift
CHANGED
|
@@ -223,12 +223,14 @@ public class CalendarModule: Module {
|
|
|
223
223
|
reminder.url = URL(string: url)
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
+
let isAllDay = details.allDay ?? false
|
|
227
|
+
|
|
226
228
|
if let startDate {
|
|
227
|
-
reminder.startDateComponents = createDateComponents(for: startDate)
|
|
229
|
+
reminder.startDateComponents = createDateComponents(for: startDate, allDay: isAllDay)
|
|
228
230
|
}
|
|
229
231
|
|
|
230
232
|
if let dueDate {
|
|
231
|
-
reminder.dueDateComponents = createDateComponents(for: dueDate)
|
|
233
|
+
reminder.dueDateComponents = createDateComponents(for: dueDate, allDay: isAllDay)
|
|
232
234
|
}
|
|
233
235
|
|
|
234
236
|
if let completionDate {
|
package/ios/CalendarUtils.swift
CHANGED
|
@@ -127,9 +127,11 @@ func createCalendarEventAlarm(alarm: Alarm) -> EKAlarm? {
|
|
|
127
127
|
return calendarEventAlarm
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
func createDateComponents(for date: Date) -> DateComponents {
|
|
130
|
+
func createDateComponents(for date: Date, allDay: Bool = false) -> DateComponents {
|
|
131
131
|
let currentCalendar = Calendar.current
|
|
132
|
-
let dateComponents: Set<Calendar.Component> =
|
|
132
|
+
let dateComponents: Set<Calendar.Component> = allDay
|
|
133
|
+
? [.year, .month, .day]
|
|
134
|
+
: [.year, .month, .day, .hour, .minute, .second]
|
|
133
135
|
|
|
134
136
|
return currentCalendar.dateComponents(
|
|
135
137
|
dateComponents,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.calendar",
|
|
6
|
-
"version": "15.0.
|
|
6
|
+
"version": "15.0.5",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.calendar-15.0.
|
|
28
|
-
"url": "expo.modules.calendar-15.0.
|
|
27
|
+
"name": "expo.modules.calendar-15.0.5.aar",
|
|
28
|
+
"url": "expo.modules.calendar-15.0.5.aar",
|
|
29
29
|
"size": 130381,
|
|
30
30
|
"sha512": "365669cc19ab22e1afff9c532406899e90144d365600038151b73e828430749f0578ab05930c08e551aeccd6dc6404a419a312d408151cd80fe6abca22b6f3f1",
|
|
31
31
|
"sha256": "a3b45224dcfe6bbe2b0e60c8280b69252599c7ad6d228f5a5c96901e1e53595f",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
],
|
|
68
68
|
"files": [
|
|
69
69
|
{
|
|
70
|
-
"name": "expo.modules.calendar-15.0.
|
|
71
|
-
"url": "expo.modules.calendar-15.0.
|
|
70
|
+
"name": "expo.modules.calendar-15.0.5.aar",
|
|
71
|
+
"url": "expo.modules.calendar-15.0.5.aar",
|
|
72
72
|
"size": 130381,
|
|
73
73
|
"sha512": "365669cc19ab22e1afff9c532406899e90144d365600038151b73e828430749f0578ab05930c08e551aeccd6dc6404a419a312d408151cd80fe6abca22b6f3f1",
|
|
74
74
|
"sha256": "a3b45224dcfe6bbe2b0e60c8280b69252599c7ad6d228f5a5c96901e1e53595f",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
},
|
|
88
88
|
"files": [
|
|
89
89
|
{
|
|
90
|
-
"name": "expo.modules.calendar-15.0.
|
|
91
|
-
"url": "expo.modules.calendar-15.0.
|
|
90
|
+
"name": "expo.modules.calendar-15.0.5-sources.jar",
|
|
91
|
+
"url": "expo.modules.calendar-15.0.5-sources.jar",
|
|
92
92
|
"size": 16371,
|
|
93
93
|
"sha512": "0ff4fce19c7db4450767904ae325f6ad95d15e8b6555c0a96ae4b03cea8960e2af9c069477a3dc57a70b574605e5e01689c771c855f60078499eaa59a1af3bd8",
|
|
94
94
|
"sha256": "7400019eebf1b8e38a89c0a7d92e5671aa120f738766386f1321cbcc8f49928b",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bf946aeba74dffa2e49e2c1d34b83270
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
64915c19af3da8e8727d49d24b11496131c92300
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5bb847cfd698f28b224046f97d0f8db2f9d64892fa87190844463b010e3035e7
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
df50c676ab23e71608299fd4325e2198b45fde273bc1b36c97670b04eee55ce6f9f58fca00ea81a54726663837e407be325c21c76a1970adb5d6447ed0f7402f
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.calendar</artifactId>
|
|
12
|
-
<version>15.0.
|
|
12
|
+
<version>15.0.5</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.calendar</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ecef44d3b4ca370c05c110ac0864393c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e05d29622a038f723ba034b0fbf52f74f6759ca3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
38504bfa9b8107419c660b0db8a91ac04144549fbe0450169dbb8268f18e7a24
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cc9e1496b239147faf588a3c726466a352ac7a043f6e800775d48e65f587e60d3cb0ca8966e0324efa93856597024be5f2b9d254ed7b3d22cc92d398932282ae
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.calendar</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>15.0.
|
|
7
|
-
<release>15.0.
|
|
6
|
+
<latest>15.0.5</latest>
|
|
7
|
+
<release>15.0.5</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>15.0.
|
|
9
|
+
<version>15.0.5</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20250828212809</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d6d07828d730cb571216546d804f805f
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
38988b53bd9f447bc07770fbd159f2220289d98a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ba6d3582755d500e73f8e4c2e45328aa3a342a464d102982ae57f54eafd209a7
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
642224578611665e4b7c08d840d69add853a17d07ae4bde3ddd257fd3374dee19f20cca034a0c372f1d7a07be504e41676dd577fdc627a593d2675519996d9cc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-calendar",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.5",
|
|
4
4
|
"description": "Provides an API for interacting with the device's system calendars, events, reminders, and associated records.",
|
|
5
5
|
"main": "build/Calendar.js",
|
|
6
6
|
"types": "build/Calendar.d.ts",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"preset": "expo-module-scripts"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"expo-module-scripts": "^5.0.
|
|
38
|
+
"expo-module-scripts": "^5.0.5"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"expo": "*",
|
|
42
42
|
"react-native": "*"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "5e15f3a5d68bc213ad36d59113d725fdea4f3411"
|
|
45
45
|
}
|
package/src/Calendar.ts
CHANGED
|
@@ -352,6 +352,12 @@ export type Reminder = {
|
|
|
352
352
|
* Date object or string representing the time when the reminder task is due.
|
|
353
353
|
*/
|
|
354
354
|
dueDate?: string | Date;
|
|
355
|
+
/**
|
|
356
|
+
* Indicates if the reminder has a time specified for the due date.
|
|
357
|
+
*
|
|
358
|
+
* @platform ios
|
|
359
|
+
*/
|
|
360
|
+
allDay?: boolean;
|
|
355
361
|
/**
|
|
356
362
|
* Indicates whether or not the task has been completed.
|
|
357
363
|
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0f2b0d5742dc240b74695cec9db7903e
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cf534aec98e3b38ed4f8800b1343101b81823c3b
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
14dea509f86d757b7f6cbdb1da5dd548f6f6f3b389326608a4839b2ff5e8fe26
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
181dea58bc9048cd9dbc567de064dc2f563360e80d374fa76afc4a7ed1d81ddd8ee77fe4e50c3e572a5d006991815ca8053d006ce2a2d22f64e802bcdb5e1bd2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
649c0628b56df21c343b0df7b100398a
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a6146c755b214a08709747ffa9d702f079a1afe2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
050b863b79f891af7f3ddcb1d1751823231af2aff663711664ff1e6bc045e7a7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
5efdc3276db3ca66c5ea5f0493744a21e82eed7bdb6fe0093d748fac7368b0ffcaf65d14267985ba86db4f2d80cfba26dbea63ff5df8c6e980db59d6d4944e0e
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|