Type Library Revision Release 2024.3703 Keywords calendar Platforms Android, iOS
The Calendar plugin allows listing calendars and manipulating events within them.
local calendar = require( "plugin.calendar" )
To use this plugin, add the following entry into the plugins
table of build.settings
. When added, the build server will integrate the plugin during the build phase.
settings = { plugins = { ["plugin.calendar"] = { publisherId = "com.coronalabs" }, }, }
For iOS, you must include the following keys/descriptions in the plist
table of build.settings
. When the system prompts the user to allow access, the associated description is displayed as part of the alert. Note that these descriptions can be customized to your preference and they can even be localized (guide).:
settings = { iphone = { plist = { NSCalendarsUsageDescription = "This app would like to access calendars from your device", NSRemindersUsageDescription = "This app would like to access reminders from your device", }, }, }