Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Calendar-PhoneGap-Plugin Not Working for ios

Calendar-PhoneGap-Plugin Not Working for ios

Scheduled Pinned Locked Moved Mobile
c++iosmobilecomjson
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rnvenkatkumar
    wrote on last edited by
    #1

    I am developing phonegap ios app which should have calendar that insert, delete and modify even from my app to native calendar so, I used EddyVerbruggen Calendar-PhoneGap-Plugin. The link is https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin The sample I worked is

    Quote:

    var title = 'test title'; var loc = 'chennai'; var notes = 'test Notes'; var eventstartdate = "2015,1,15,0,0,0,0,0"; var eventenddate = "2015,1,16,0,0,0,0,0"; var fulleventstartdate = new Date(feventstartdate); var fulleventenddate = new Date(feventenddate); //---To Create calendar-------------------------------------- function createCalendar() { var createCalOptions = window.plugins.calendar.getCreateCalendarOptions(); createCalOptions.calendarName = "Mycal"; createCalOptions.calendarColor = "#ffec8b"; window.plugins.calendar.createCalendar(createCalOptions, onSuccess, onError); } //---To Create event-------------------------------------- function createevent() { window.plugins.calendar.createEventInNamedCalendar(title, location, notes, fulleventstartdate, fulleventenddate, calendarName, onSuccess, onError); } //---To delete event-------------------------------------- function deleteevent() { window.plugins.calendar.deleteEventFromNamedCalendar(title, loc, notes, fulleventstartdate, fulleventenddate, calendarName, onSuccess, onError); } //---To modify event-------------------------------------- function updates() { var newTitle = "New title"; window.plugins.calendar.modifyEventInNamedCalendar(title, loc, notes, fulleventstartdate, fulleventenddate, newTitle, loc, notes, fulleventstartdate, fulleventenddate, calendarName, onSuccess, onError); } window.onerror = function (msg, file, line) { alert(msg + '; ' + file + '; ' + line); }; function onSuccess(msg) { alert('Calendar success: ' + JSON.stringify(msg)); }

    in the above code creating calendar and inserting calendar works well but, Delete event and Modify event (update) not working in ios what else i have to do to fix it kindly reply ASSP Note: I build my app through phonegap build for ipa file

    L 1 Reply Last reply
    0
    • R rnvenkatkumar

      I am developing phonegap ios app which should have calendar that insert, delete and modify even from my app to native calendar so, I used EddyVerbruggen Calendar-PhoneGap-Plugin. The link is https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin The sample I worked is

      Quote:

      var title = 'test title'; var loc = 'chennai'; var notes = 'test Notes'; var eventstartdate = "2015,1,15,0,0,0,0,0"; var eventenddate = "2015,1,16,0,0,0,0,0"; var fulleventstartdate = new Date(feventstartdate); var fulleventenddate = new Date(feventenddate); //---To Create calendar-------------------------------------- function createCalendar() { var createCalOptions = window.plugins.calendar.getCreateCalendarOptions(); createCalOptions.calendarName = "Mycal"; createCalOptions.calendarColor = "#ffec8b"; window.plugins.calendar.createCalendar(createCalOptions, onSuccess, onError); } //---To Create event-------------------------------------- function createevent() { window.plugins.calendar.createEventInNamedCalendar(title, location, notes, fulleventstartdate, fulleventenddate, calendarName, onSuccess, onError); } //---To delete event-------------------------------------- function deleteevent() { window.plugins.calendar.deleteEventFromNamedCalendar(title, loc, notes, fulleventstartdate, fulleventenddate, calendarName, onSuccess, onError); } //---To modify event-------------------------------------- function updates() { var newTitle = "New title"; window.plugins.calendar.modifyEventInNamedCalendar(title, loc, notes, fulleventstartdate, fulleventenddate, newTitle, loc, notes, fulleventstartdate, fulleventenddate, calendarName, onSuccess, onError); } window.onerror = function (msg, file, line) { alert(msg + '; ' + file + '; ' + line); }; function onSuccess(msg) { alert('Calendar success: ' + JSON.stringify(msg)); }

      in the above code creating calendar and inserting calendar works well but, Delete event and Modify event (update) not working in ios what else i have to do to fix it kindly reply ASSP Note: I build my app through phonegap build for ipa file

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You should go back to github and contact Eddy Verbruggen.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups