expo-calendar
Version:
Provides an API for interacting with the device's system calendars, events, reminders, and associated records.
57 lines • 2.3 kB
JavaScript
class ExpoGoCalendarNextStub {
static ExpoCalendar = class ExpoCalendar {
constructor() {
throw new Error('`ExpoCalendar` is not yet available in the Expo Go managed workflow.');
}
addEventWithForm() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
};
static ExpoCalendarEvent = class ExpoCalendarEvent {
constructor() {
throw new Error('`ExpoCalendarEvent` is not yet available in the Expo Go managed workflow.');
}
};
static ExpoCalendarReminder = class ExpoCalendarReminder {
constructor() {
throw new Error('`ExpoCalendarReminder` is not yet available in the Expo Go managed workflow.');
}
};
static ExpoCalendarAttendee = class ExpoCalendarAttendee {
constructor() {
throw new Error('`ExpoCalendarAttendee` is not yet available in the Expo Go managed workflow.');
}
};
getDefaultCalendarSync() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
createCalendar() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
async getCalendars() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
async listEvents() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
async presentPicker() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
async requestCalendarPermissions(writeOnly) {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
async getCalendarPermissions(writeOnly) {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
async requestRemindersPermissions() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
async getRemindersPermissions() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
getSourcesSync() {
throw new Error('Calendar@next functionality is not available in Expo Go');
}
}
export default ExpoGoCalendarNextStub;
//# sourceMappingURL=ExpoGoCalendarNextStub.js.map