I am trying to add this:
https://github.com/EddyVerbruggen/Cal...
I am only testing in iOS right now. I looked at the "Beep" tutorial in your documentation. Here's what I've added:
ios/[Project]/[Project]/Resources/www/project/files/resources/lib/nl.x-services.plugins.calendar/www/Calendar.js
ios/[Project]/[Project]/CordovaLibPlugins/nl.x-services.plugins.calendar/Calendar.h
ios/[Project]/[Project]/CordovaLibPlugins/nl.x-services.plugins.calendar/Calendar.m
I edited ios/[Project]/[Project]/Resources/www/project/files/resources/lib/cordova_plugins.js to add:
{
"file": "plugins/nl.x-services.plugins.calendar/www/Calendar.js",
"id": "nl.x-services.plugins.Calendar",
"clobbers": [
"Calendar"
]
}
I edited ios/[Project]/[Project]/config.xml to add:
Code: Select all
param name="ios-package" value="Calendar" And when I compile to .ipa and run on my phone I get this in the xcode console:
Plugin 'Calendar' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
I noticed that this plugin requires EventKit.framework and EventKitUI.framework, so I exported to xcode project, manually added them, and built it to run on my phone. Same error as above.
I must be doing something wrong with placing and referencing these files, but what?