Create, query, and schedule native calendar events and reminders directly inside iOS EventKit and Android Calendar.
Schedule and manage native calendar events directly from your web application. Nativine embeds native iOS EventKit and Android CalendarContract bridges, allowing web forms to create, query, and delete native device calendar events and reminders.
Adding events directly to the user's native calendar ensures appointment attendance. Nativine's Native Calendar plugin exposes full EventKit and Calendar API bridges to your web view:
To create a native calendar event from JavaScript, call nativine.calendar.createEvent():
nativine.calendar.createEvent({
title: 'Consultation Appointment',
location: '123 Main Street / Zoom Room',
notes: 'Bring ID and booking confirmation reference.',
startDate: new Date('2026-09-01T10:00:00').getTime(),
endDate: new Date('2026-09-01T11:00:00').getTime(),
alarmMinutesBefore: 30,
callback: 'onCalendarEventCreated'
});
function onCalendarEventCreated(result) {
console.log("Created Calendar Event ID:", result.eventId);
}
| Parameter | Type | Description |
|---|---|---|
title | string | Required. Event title string. |
startDate | timestamp | Required. Start time Unix timestamp (milliseconds). |
endDate | timestamp | Required. End time Unix timestamp (milliseconds). |
Yes. iOS and Android display a system calendar permission prompt when the app attempts to write to the device calendar.
Yes. Pass recurrence: 'daily' | 'weekly' | 'monthly' to create repeating native calendar events.