TheAlmightyBob / Calendars

Cross-platform calendar API plugin for Xamarin and Windows
MIT License
101 stars 23 forks source link

ExternalID is no longer publicly settable, to reduce confusion #46

Closed TheAlmightyBob closed 6 years ago

TheAlmightyBob commented 6 years ago

It was not clear that this was not supposed to be populated when adding a new event.

The potential catch is that updating an existing event will require first retrieving that event, but that's probably the normal scenario anyhow...

cristiandaulisio commented 5 years ago

I have a problem with this change, when i create an event i store the CalendarEvent in localstorage, but the problem is when i retreive it i have null on EXternalID.

Don't understand how can i save the event to delete/update later

TheAlmightyBob commented 5 years ago

@Atomico001 Hi, sorry I missed this earlier so hopefully you've already found a solution, but I'd recommend just storing the ExternalIDs themselves in local storage, rather than the CalendarEvents. You can then re-retrieve them from the calendar via the ID later and update/delete as desired.

cristiandaulisio commented 5 years ago

Thanks for answer, yes i found the api to retrieve the event by id so no problem :)