Skip to content

saveCalendar doesnt appear in google calendarΒ #450

@Shup04

Description

@Shup04

when i call saveCalendar, it gets added and i can fetch it with fetchCalendars, i can add events to it and it works well. The calendar/events never show up in google calendar or any other app, despite it being synced. This calendar also gets deleted after some inactivity so when i go back to the app i have to remake all the events and calendar. Adding events to an existing calendar works fine.

Environment

using expo so 'react-native info' doesn't exist

Steps to Reproduce

  1. check/get calendar perms
  2. create calendar:

`const source = {
name: 'xyz@gmail.com',
type: 'com.google',
isLocalAccount: false,
}

  if (!googleCalendar) {
    // Create a new calendar
    console.log("creating calendar...")
    const id = await RNCalendarEvents.saveCalendar({
      title: 'AquaFlora Reminders',
      color: 'blue',
      entityType: 'event',
      name: 'aquaflora',
      accessLevel: 'owner',
      ownerAccount: 'xyz@gmail.com',
      source,
    });`
  1. sync google calendar
  2. nothing shows up

Expected Behavior

i expect the calendar i create to appear in google calendars and not to get deleted after a while

Actual Behavior

self explanatory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions