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
On Android, if only requesting WRITE_CALENDAR, it does open the add event activity, but it makes my app crash. I had to add READ_CALENDAR to fix it but it defeats the whole idea of not having to ask for READ permission since it does not really need it.
On iOS, CALENDARS_WRITE_ONLY is an iOS 17+ permission, and must be replaced by CALENDARS in lower versions. Also, Calendars is always required in setup_permissions even for iOS 17, otherwise it crashes after saving an event.
The solutions would be to:
Make sure the code is fail-safe when not able to READ
Integrate react-native-permissions or document how to do it with the right permissions to ask
The text was updated successfully, but these errors were encountered:
First of all, thanks for this great lib! 💚
I discovered the hard way that:
WRITE_CALENDAR
, it does open the add event activity, but it makes my app crash. I had to addREAD_CALENDAR
to fix it but it defeats the whole idea of not having to ask for READ permission since it does not really need it.CALENDARS_WRITE_ONLY
is an iOS 17+ permission, and must be replaced byCALENDARS
in lower versions. Also,Calendars
is always required insetup_permissions
even for iOS 17, otherwise it crashes after saving an event.The solutions would be to:
react-native-permissions
or document how to do it with the right permissions to askThe text was updated successfully, but these errors were encountered: