Open tanmaydesai89 opened 9 years ago
Hi, I'll need a little bit more information. Can you strip off the ngCordova stuff and find out what the JS call is that is passed to the plugin? I'm not supporting the ngCordova extension, so I need to know how the plugin is used directly.
Hi.
We are using following code:
window.plugins.calendar.createEventInteractively(name, location, desc, sDate, dDate, success, error);
Aha, that name
param doesn't belong there. See the doc for createEventInteractively
.
name
is var for passing the title of event. This code creates event in Google cal but fails with any.do cal and sunrise cal.
Duh, sorry, thought it referred to the calendarname ;)
Can you tell me what the values are of all the properties?
name - title location - location desc - notes sDate - startDate eDate - endDate success error
I figured ;) What I meant is the actual values - what's the value of eDate. Seriously, having your project would be much easier.
Hi Eddy, I have a similar problem with Sunrise cal. While I tried to do a AddEventInteractively and I choose Sunrise to add the event on Android, the validate button in Sunrise is disabled and I have to manually edit the title to be able to save the event. Every field is well filled by the plugin. Thanks a lot
see you
Hi.
We are using ionic + ngCordova. When clicked on add to calendar, it opens up calendar options[sunrise, any.do, google cal]. But when clicked on Sunrise or Any.do cal, it opens up the app, but does not add event. At the same time, While adding event to Google Cal, it trims event span to one hour only.