ja2375 / add_2_calendar

A really simple Flutter plugin to add events to each platform's default calendar..
MIT License
188 stars 113 forks source link

addEvent2cal returns before responde from calendar #38

Open ocodista opened 4 years ago

ocodista commented 4 years ago

The function returns before user saves the event on android's calendar, it's triggered right after the click.

kasyr commented 4 years ago

On iOS it returns true right after the New Event view is opened.

ocodista commented 4 years ago

On Android too... I wish to know if the user saved or canceled, otherwise the callback is useless

Feduch commented 4 years ago

Hi!

On Android too... I wish to know if the user saved or canceled, otherwise the callback is useless

I need too.

diegogarciar commented 3 years ago

Currently it returns true if the calendar/event UI was successfully launched, we'll review if what you're asking is possible.

clycheng2015 commented 2 years ago

Hi!

On Android too... I wish to know if the user saved or canceled, otherwise the callback is useless

I need too.

+1

luca-vz commented 1 year ago

Has someone already been able to fix it?

arsallion313786 commented 1 week ago

Currently it returns true if the calendar/event UI was successfully launched, we'll review if what you're asking is possible.

Actually we want call back when event added successfully in case of Android. But in real we get callback when UI is opened.

In iOS its working fine. We get callback when event added successfully.

Why we need this because I have logic if user added event in calendar successfully so I can remove that button from UI. So user cannot add same event again.