Using react-native-calendar-events latest version, Events are saved up to Android 12 and work well with iOS. But the same thing fails with Android 13.
Got success while writing events with event id but not visible in the default Calendar.
Environment
React Native: 0.66.3
React: 17.0.2
react-native-calendar-events: 2.2.0
Steps to Reproduce
import RNCalendarEvents from "react-native-calendar-events";
Request for permission
RNCalendarEvents.requestPermissions(true).then(req => {
// permission granted
});
When permission is authorized
RNCalendarEvents.saveEvent(title,calParam, {})
.then(value => {
// this block is executed when for success
})
.catch(error => {
//error
});
Even though checked for permissions too when saving events to the calendar, it says authorized for both Read and Write.
Run this in Android 13
Actual Behavior
error: you don't have permissions to add an event to the users calendar
Getting this error when saving the events to it.
Even tried with the calendar id to which modifications are allowed.
Using react-native-calendar-events latest version, Events are saved up to Android 12 and work well with iOS. But the same thing fails with Android 13.
Got success while writing events with event id but not visible in the default Calendar.
Environment
React Native: 0.66.3
React: 17.0.2
react-native-calendar-events: 2.2.0
Steps to Reproduce
Request for permission
When permission is authorized
Even though checked for permissions too when saving events to the calendar, it says authorized for both Read and Write.
Run this in Android 13
Actual Behavior
Getting this error when saving the events to it.
Even tried with the calendar id to which modifications are allowed.