You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using @ionic-native/calendar/ngx plugin to add events to calendar.
We have requirement to add multiple events like around repeated 3 times a day for three days. So total around 9 events to be created with one button click , this works fine in android.
But in IOS, it just crashes in between and after that any other clicks to 'add-to-calendar' for single events also doesn't work.
Hi,
We are using @ionic-native/calendar/ngx plugin to add events to calendar.
We have requirement to add multiple events like around repeated 3 times a day for three days. So total around 9 events to be created with one button click , this works fine in android.
But in IOS, it just crashes in between and after that any other clicks to 'add-to-calendar' for single events also doesn't work.
I use this code in a loop for multiple events.
if(this.platform.is('ios')) //Ios supports passing only calendar name
{
options = { calendarName: calName, firstReminderMinutes: this.firstReminderMinutes };
}
else{
options = { calendarId: calId, firstReminderMinutes: this.firstReminderMinutes };
}
let addEvent = await this.calendar.createEventWithOptions(this.eventName, this.site, null, startdate, enddate, options);
Thanks,
Priyanka
The text was updated successfully, but these errors were encountered: