react-native-calendar-events
react-native-calendar-events copied to clipboard
saveCalendar doesnt appear in google calendar
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
- check/get calendar perms
- create calendar:
`const source = { name: '[email protected]', 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: '[email protected]',
source,
});`
- sync google calendar
- 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