So I’m currently trying to use the new Calendar API, and I’m struggling to figure out how to use the permissions in conjunction with the getCalendarsAsync function. My code currently appears as follows for this:
const the_response = Expo.Permissions.askAsync(‘calendar’)
var obj = Expo.Calendar.getCalendarsAsync()
However, all getCalendarsAsync returns is the same Promise returned initially by Expo.Permissions.askAsync, and not the array of calendar ids.