Type Library Revision 2017.3060 Keywords notification, notifications Platforms Android, iOS
Gives access to local and push notifications.
local notifications = require( "plugin.notifications" )
To use this plugin, add an entry into the plugins
table of build.settings
. When added, the build server will integrate the plugin during the build phase.
settings = { plugins = { ["plugin.notifications"] = { publisherId = "com.coronalabs" }, }, }
If you're using Corona Enterprise for iOS, then you'll need to add a reference to the CoronaFacebookDelegate
in your Info.plist
. Do this like so:
Add an entry to your Info.plist
called "CoronaDelegates"
and make it of type Array
.
Add an entry to the CoronaDelegates
Array and call it "CoronaFacebookDelegate"
. Be sure this is of type String
.