We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attendees are adding to the event for save event.
System: OS: macOS 14.2.1 CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Memory: 405.34 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 19.8.1 - /usr/local/bin/node Yarn: Not Found npm: 9.6.7 - /usr/local/bin/npm Watchman: 2023.03.13.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.12.0 - /Users/gopi/.rvm/gems/ruby-2.7.6/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, watchOS 10.2 Android SDK: API Levels: 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0 System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-32 | Google APIs Intel x86 Atom_64, android-32 | Google Play Intel x86 Atom_64, android-33 | Google APIs Intel x86 Atom_64, android-33 | Google Play Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8609683 Xcode: 15.1/15C65 - /usr/bin/xcodebuild Languages: Java: 11.0.15 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.7 => 0.68.7 react-native-macos: Not Found npmGlobalPackages:
const isoDateStartDate = moment(item.startDate, "YYYY/MM/DD HH:mm:ss").toISOString(); const isoDateEndDate = moment(item.endDate, "YYYY/MM/DD HH:mm:ss").toISOString(); RNCalendarEvents.findCalendars().then((calendars) => { const calendar = calendars.find(cal => (cal.allowsModifications && cal.isPrimary)); if (!calendar) { return; } RNCalendarEvents.saveEvent(item.title, { startDate: isoDateStartDate, endDate: isoDateEndDate, calendarId: calendar.id, attendees:[{name: 'Gopi',email: '[email protected]'}], alarms:[ {date: Platform.OS === 'ios' ? -10 : 10}] }, // { sync: true }) .then(() => { alert("success")}); });
Need to add the attendees to the event.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Attendees are adding to the event for save event.
Environment
System:
OS: macOS 14.2.1
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 405.34 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 19.8.1 - /usr/local/bin/node
Yarn: Not Found
npm: 9.6.7 - /usr/local/bin/npm
Watchman: 2023.03.13.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.0 - /Users/gopi/.rvm/gems/ruby-2.7.6/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, watchOS 10.2
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0
System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-32 | Google APIs Intel x86 Atom_64, android-32 | Google Play Intel x86 Atom_64, android-33 | Google APIs Intel x86 Atom_64, android-33 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 15.1/15C65 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.7 => 0.68.7
react-native-macos: Not Found
npmGlobalPackages:
Steps to Reproduce
const isoDateStartDate = moment(item.startDate, "YYYY/MM/DD HH:mm:ss").toISOString();
const isoDateEndDate = moment(item.endDate, "YYYY/MM/DD HH:mm:ss").toISOString();
RNCalendarEvents.findCalendars().then((calendars) => {
const calendar = calendars.find(cal => (cal.allowsModifications && cal.isPrimary));
if (!calendar) {
return;
}
RNCalendarEvents.saveEvent(item.title, {
startDate: isoDateStartDate,
endDate: isoDateEndDate,
calendarId: calendar.id,
attendees:[{name: 'Gopi',email: '[email protected]'}],
alarms:[ {date: Platform.OS === 'ios' ? -10 : 10}] },
// { sync: true }) .then(() => { alert("success")});
});
Expected Behavior
Need to add the attendees to the event.
Actual Behavior
const isoDateStartDate = moment(item.startDate, "YYYY/MM/DD HH:mm:ss").toISOString();
const isoDateEndDate = moment(item.endDate, "YYYY/MM/DD HH:mm:ss").toISOString();
RNCalendarEvents.findCalendars().then((calendars) => {
const calendar = calendars.find(cal => (cal.allowsModifications && cal.isPrimary));
if (!calendar) {
return;
}
RNCalendarEvents.saveEvent(item.title, {
startDate: isoDateStartDate,
endDate: isoDateEndDate,
calendarId: calendar.id,
attendees:[{name: 'Gopi',email: '[email protected]'}],
alarms:[ {date: Platform.OS === 'ios' ? -10 : 10}] },
// { sync: true }) .then(() => { alert("success")});
});
The text was updated successfully, but these errors were encountered: