Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Cannot delete custom local calendar #6

Closed
creambyemute opened this issue Oct 5, 2016 · 2 comments
Closed

Android: Cannot delete custom local calendar #6

creambyemute opened this issue Oct 5, 2016 · 2 comments
Assignees
Milestone

Comments

@creambyemute
Copy link

Steps to reproduce:

  1. Start app on a device
  2. Create calendar event in a new local custom calendar (by providing calendar: {name: "someName"})
  3. Go to the system calendar app/your preferred calendar app
  4. Try to delete the event (you can't)
  5. Try to delete the calendar (you can't)

The only way I've found to delete the events in the custom/local calendar as well as the custom/local calendar is to go to the settings --> apps --> show system processes --> calendar storage --> delete cache

Haven't tried it on iOS though as I would have to setup everything first in order to deploy it to a device.

@EddyVerbruggen
Copy link
Owner

Interesting. Wondering if that's how Google intended it or if we need to set some sort of property on the created calendar so it's deletable by other apps.

@EddyVerbruggen EddyVerbruggen self-assigned this Nov 22, 2016
@EddyVerbruggen EddyVerbruggen added this to the 1.2.0 milestone Nov 22, 2016
EddyVerbruggen added a commit that referenced this issue Nov 22, 2016
#13 New feature: deleteCalendar enhancement
#6 Android: Cannot delete custom local calendar bug enhancement
@EddyVerbruggen
Copy link
Owner

The Calendar was created with default permissions which used to be fine, but I'm now explicitly setting the acces level to 'owner'. I can confirm on Android 7 that makes a difference; I used to have a read only event, now I can edit and delete these events.

Not sure how to delete any Calendar from the Calendar system app, but I've added a deleteCalendar function to the plugin for our convenience.

All available in 1.2.0 on both iOS and Android.

EddyVerbruggen added a commit that referenced this issue Apr 18, 2017
#13 New feature: deleteCalendar enhancement
#6 Android: Cannot delete custom local calendar bug enhancement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants