vonovak / react-native-add-calendar-event

Create, view or edit events in react native using the standard iOS / Android dialogs
MIT License
350 stars 102 forks source link

Unable to add location (string) in android #148

Open owaisulwara opened 2 years ago

owaisulwara commented 2 years ago

Code:

<TouchableOpacity
onPress={() => {
  AddCalendarEvent.presentEventCreatingDialog({
    location: "ABC Venue",
    title: "Event Reservation",
    startDate: new Date().toISOString(),
    endDate: new Date(
      (Date.now + 60 * 60 * 2) * 1000
    ).toISOString()
  })
    .then(e => console.log(e))
    .catch(err => console.log(err));
}}>