react-native-add-calendar-event
react-native-add-calendar-event copied to clipboard
Unable to add location (string) in android
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));
}}>