vonovak / react-native-add-calendar-event

Create, view or edit events in react native using the standard iOS / Android dialogs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to add location (string) in android

owaisulwara opened this issue · comments

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));
}}>