vonovak / react-native-add-calendar-event

Create, view or edit events in react native using the standard iOS / Android dialogs
MIT License
351 stars 102 forks source link

IOS: always returns {action:"CANCELED"} #112

Closed samratbanna closed 2 years ago

samratbanna commented 4 years ago

Hi all!

When I open app first time successfully add event then then after dialog opens and dismiss immediately It returns the response is:

{action: "CANCELED"}

Does anybody know why this might be happening?

Thank you!

russ666 commented 3 years ago

@samratbanna did you find any fix?

KrisGilicze commented 3 years ago

Had the same issue, I was able to fix it by changing all my AddCalendarEvent.presentEventCreatingDialog(config).then(...) to async await syntax. Hope this helps

russ666 commented 3 years ago

@KrisGilicze doesn't work for me. it opens only first time

perfectAlways1028 commented 2 years ago

Is there anybody who fixed this issue?

Rananjaya commented 1 year ago

Same issues. anyone had solution for this. Thanks.

K-OBrien-Phase2 commented 1 year ago

Having the same issue, anyone found a solution? -Update I was able to solve this by making sure my permissions were handled properly and cleaning the project