Natively Docs
Join our community πŸ”₯
  • πŸ‘©β€πŸš€Getting Started
    • What is Natively?
    • Why Natively?
    • FAQ
    • Create Your First App
  • πŸš€Natively Platform
    • πŸš‰Releases
    • πŸ–ŒοΈAppearance
      • 😼App Icon
      • πŸ“±Loading Screen
      • πŸ“±Error Screen
      • 🎨Style
    • 🎬Preview
    • ⭐Features
      • πŸ›³οΈBottom Bar
      • πŸš‡Deeplinks
        • πŸ”₯Firebase
        • πŸ”—Universal Links
        • 🌱Branch.io
      • πŸ“Geolocation
      • πŸ””Notifications
        • πŸ“²OneSignal Notifications
        • πŸ”₯Firebase Notifications (Advanced)
      • πŸ“’Contacts
      • πŸ—“οΈCalendars
      • πŸ‘©β€πŸŽ¨Social Auth
        • 🍏Sign In with Apple
      • πŸ’ŸHealthKit
      • πŸ’°Purchases
      • πŸ€‘Admob
      • πŸ’³NFC
      • πŸ“·Camera
      • πŸ“‚Photo Library
      • 🎀Microphone
      • πŸ“ˆAnalytics
        • πŸ•ŠοΈAppsFlyer
        • πŸ˜›Facebook
    • 🚚Publish
      • 🍏iOS App
      • πŸ€–Android App
    • βš™οΈSettings
    • πŸ™ˆSubscription Plans
  • Guides
    • πŸ§‹Integration (Native Features)
      • πŸ…How to get started?
      • ℹ️Device
      • ℹ️Browser Info
      • πŸ›³οΈBottom Bar
      • βœ‚οΈClipboard
      • 🚦Push Notifications - OneSignal
      • 🚦Push Notifications - Firebase (Advanced)
      • πŸ“Geolocation
      • πŸ“¦App Storage
      • πŸ—οΈBiometrics & Credentials
      • πŸ“§Native SMS/Email
      • πŸ“…Native Date Picker
      • πŸ“ΈNative Camera
      • πŸŽ™οΈNative Audio Recorder
      • 🈁Native Scanner (QR/Barcode)
      • πŸ“”Contacts
      • πŸ—“οΈCalendars
      • 🍏Apple Sign In
      • ❀️HealthKit
      • πŸ’ΈIn-App Purchases
      • πŸ€‘Admob
      • πŸ’³NFC
      • πŸ₯‘Show Toast/Banner
      • ⏳Show/Hide Loading Screen
      • πŸ₯‘Haptic Feedback
      • πŸ–ΌοΈShare Media/Files
      • πŸ“±Open an external App/URL
      • ✍️Request User's review
      • ↔️getInsets
      • 🎨Control Style & Colors
    • πŸ”Troubleshooting
    • 🐈Setup RevenueCat App
    • πŸš‘Setup Admob App
    • πŸš₯Setup One Signal App
    • πŸ§‘β€πŸ€β€πŸ§‘Setup website Universal Links (Deeplinks)
    • πŸ•Testing & Submitting your app
    • πŸ”‘Generate iOS Push Key (NEW)
    • πŸ”‘Generate iOS Push Certificate (Legacy)
    • 🀝Affiliate program
    • πŸ“•For Partners: Natively Brand Book.
Powered by GitBook
On this page
  • πŸ§‹Bubble.io Plugin
  • πŸ›  JavaScript SDK

Was this helpful?

  1. Guides
  2. Integration (Native Features)

Calendars

PreviousContactsNextApple Sign In

Last updated 1 day ago

Was this helpful?

  • Bubble.io Plugin

  • JavaScript SDK

πŸ§‹Bubble.io Plugin

Natively - Calendar

!!! YOU NEED TO SET "CalendarObject (Natively - ... " into element field

Events:

  • Get Calendars Success

  • Get Calendars Failed

  • Create Event Success

  • Create Event Failed

States:

  • Get Calendars Result - list of CalendarObject's

    • CalendarObject:

      • id - unique calendar identifier on these device.

  • Create Event Calendar ID - Calendar ID where the new event was created

  • Create Event/Get Calendsr Status - Result status after calling Create Event or Get Calendars

  • Event Title - Event title that was created

  • Event End Date - Event end date in ISO 8601 format

  • Event Start Date - Event start date in ISO 8601 format

  • Error - error message is exists. Examples:

    • add_calendar_event_failure -> something went wrong on app side

    • start_date_missing

    • end_date_missing

    • no_available_calendars -> user doesn’t have available calendars

    • cannot_retrieve_calendars -> something went wrong on app side

    • calendar_permission_missing -> no permission

    • timezone_missing

  • Message - message about the current stage of the process if exists

Actions:

  • Get Calendars - response: list of CalendarsObject's

  • Create Event - response: Event Calendar ID, Event Title, Event End Date, Event Start Date

    • Title - Required

    • End Date - Required

    • Start Date - Required

    • Timezone - Required. ISO 8601 format

    • Description

πŸ›  JavaScript SDK

const calendar = new NativelyCalendar()
const retrieve_calendars_callback = function(resp) {
        console.log(resp.data.id);
        console.log(resp.status);
        console.log(resp.error);
};
const create_calendar_event_callback = function (resp) {
        console.log(reps.status); // "SUCCESS"/"FAILED"
        console.log(resp.data.id); // Calendar ID
        console.log(resp.data.title); // Event title
        console.log(resp.data.end); // Event end date. ISO 8601
        console.log(resp.data.start); // Event start date. ISO 8601
};
const title = "event title"
const endDate = "2025-07-10 15:00:00.000" // ISO 8601
const startDate = "2025-07-10 14:00:00.000" // ISO 8601
const timezone = "Africa/Abidjan" // ISO 8601
const calendarId = "calendar_id"
const description = "Event notes"

calendar.retrieveCalendars(retrieve_calendars_callback);
calendar.createCalendarEvent(
        title,
        endDate,
        startDate,
        timezone,
        calendarId,
        description, 
        create_calendar_event_callback
        );

πŸ§‹
πŸ—“οΈ