Comments (11)
I get this same error
from calendar-phonegap-plugin.
I will look into this real soon!
from calendar-phonegap-plugin.
any word on this, do you have to create a calendar before calling createEvent, or can you just call createEvent and it will send it to your phones calendar?
from calendar-phonegap-plugin.
Hi, there should be no need to create a calendar first. Can you please send me your project so I can reproduce and fix this issue? Mail me at eddyverbruggen(at)gmail.com
from calendar-phonegap-plugin.
heres the function
function addEventToCalender(obj) {
var title = obj.EventName;
var location = obj.EventLocation;
var notes = obj.EventDetails;
var showSuccessAlert = "NO";
for (var i = 0; i < obj.CalendarEvents.length; i++) {
var startDate = obj.CalendarEvents[i].CalStart;
var endDate = obj.CalendarEvents[i].CalEnd;
//Prototype: title, location, notes, startDate, endDate, showSuccessAlert, function Success, function Error
window.plugins.calendar.createEvent(title, location, notes, startDate, endDate, function (result) { }, function (result) { alert("There was a problem saving the calendar event.\n" + result); });
}
}
from calendar-phonegap-plugin.
I get this error on iOS 7 as well
from calendar-phonegap-plugin.
also on android i get an alert that says "there was a problem saving the calendar event. Invalid action"
from calendar-phonegap-plugin.
Hi @drkhannah can you send me your entire project please? It will make reproduction much simpler for me.
from calendar-phonegap-plugin.
Hi guys, the only way I was able to reproduce this error was by passing null values (or any String value) for startDate and endDate to the createEvent
function. Using a Date() object fixes this problem.
I've committed some code which will check the date params for proper javaScript Date Objects and invoke the errorCallback in case they're not.
from calendar-phonegap-plugin.
the calendar plugin in the link https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin.git is not working for ios6 simulator.
The error is calendar.m is deprecated for ios 6.0 and onwards.
is there any updated plugin for calendar in ios.
from calendar-phonegap-plugin.
Those are warnings, they are not preventing the plugin from working. I will switch to the new API in the future, but the warning you are seeing should be ignored. There must be another problem.. you can send me your XCode project if you like me to take a look.
from calendar-phonegap-plugin.
Related Issues (20)
- Can I observe new events in calendar from promise?
- ACCOUNTNAME on Android devices
- Disabling days not belongs to a given month
- Add People by E-mail Functionality
- Cannot create event. as calendar is readonly. HOT 2
- Plugin classifies event as birthday, not just regular event
- IOS creating multiple events issue HOT 2
- On iOS several code paths lead to neither the error- or the success callback being invoked
- On iOS modifyEventWithOptions mixes up arguments
- Android: All day events not marked as all day events
- created event by CreateEvent is missing HOT 1
- Monthly recurring event
- Crash IOS 15.1 when creating event HOT 11
- IOS adding same appointment twice HOT 3
- Error called createEventInteractively HOT 5
- how to use moment with createEventWithOptions()
- Detect google and icloud calendars
- `API MISUSE: nil event store in initialization of EKCalendar instance` for createEventInteractivelyWithOptions HOT 9
- XCode 15 [email protected] : Calendars list returns nothing HOT 8
- Q: Maintenance status HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendar-phonegap-plugin.