title: How to get the Default Calendar in Android using the Expo SDK Calendar API?
body: <p><strong>SOLVED: Used await and a variable to store the promise.</strong></p>
  
  <p>I am trying to insert an event into the default calendar on an android device using react-native and expo sdk. Previously, one could create an event using the <code>createEventAsync()</code> method with the 1st argument as <strong>Calendar.DEFAULT</strong> but that is no longer supported. I can use the <code>getCalendarsAsync()</code> method to get all calenders but the object I am getting back is making no sense. Some code: </p>
  
  <pre><code>async addReservationToCalendar(date) {
      await this.obtainCalendarPermission();
      console.log(Calendar.getCalendarsAsync());
  }
  </code></pre>
  
  <p>Someone had suggested that I could iterate through the responses to find a calendar with the <strong>isPrimary</strong> attribute set to true but I don't see how I achieve this. I have already gotten the permission and I am receiving the following promise as a response. 
  <code>Promise {
    "_40": 0,
    "_55": null,
    "_65": 0,
    "_72": null,
  }</code>.<br>
  What do I need to do to set a calendar event on an android device using the expo Calendar API ?</p>