EddyVerbruggen / Calendar-PhoneGap-Plugin

:date: Cordova plugin to Create, Change, Delete and Find Events in the native Calendar
774 stars 403 forks source link

Error called createEventInteractively #558

Open avilaatencioa opened 2 years ago

avilaatencioa commented 2 years ago

"cordova-ios": "6.2.0" "cordova-plugin-calendar": "^5.1.5" "@ionic-native/calendar": "^5.36.0"

Captura de Pantalla 2022-01-10 a la(s) 11 11 38 a m
saggio89 commented 2 years ago

This was fixed with #557

eliasdraexler commented 2 years ago

I updated the plugin to 5.1.6, which should contain the mentioned fix, right? Still I experience the same issue mentioned above:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'

Is there something else that could cause this?

avilaatencioa commented 2 years ago

This was fixed with #557

thanks!!! Bug resolved

avilaatencioa commented 2 years ago

I updated the plugin to 5.1.6, which should contain the mentioned fix, right? Still I experience the same issue mentioned above:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'

Is there something else that could cause this?

open in xcode proyect in /plugins/Calendar.m and check this :

https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/pull/557/commits/f4b2af45a023fac0bda8d133a547d739e0fa643d

eliasdraexler commented 2 years ago

Thanks for the hint, I checked again. Apparently I did something wrong while updating the plugin. After updating again it works as it should.

Sorry and big thanks for the fix and the quick help!