Please also read the Upgrade Guide for more information.
- Fix incompatibility with cordova version 3.5-3.0
- Fire
clear
instead ofcancel
event when clicked on repeating notifications - Do not fire
clear
orcancel
event when clicked on persistent notifications
- Support for iOS 8, Android 2 (SDK >= 7) and Android 5
- Windows Phone 8.1 will be added soon
- New interfaces to ask for / register permissions required to schedule local notifications
hasPermission()
andregisterPermission()
- schedule() will register the permission automatically and schedule the notification if granted.
- New interface to update already scheduled|triggered local notifications
update()
- New interfaces to clear the notification center
clear()
andclearAll()
- New interfaces to query for local notifications, their properties, their IDs and their existence depend on their state
isPresent()
,isScheduled()
,isTriggered()
getIds()
,getAllIds()
,getScheduledIds()
,getTriggeredIds()
get()
,getAll()
,getScheduled()
,getTriggered()
- Schedule multiple local notifications at once
schedule( [{...},{...}] )
- Update multiple local notifications at once
update( [{...},{...}] )
- Clear multiple local notifications at once
clear( [1, 2] )
- Cancel multiple local notifications at once
cancel( [1, 2] )
- New URI format to specify sound and image resources
http(s):
for remote resources (Android)file:
for local resources relative to the www folderres:
for native resources- New events
schedule
,update
,clear
,clearall
andcancelall
- Enhanced event informations
- Listener will get called with the local notification object instead of only the ID
- Multiple listener for one event
on(event, callback, scope)
- Unregister event listener
un(event, callback)
- New Android specific properties
led
propertiessound
andimage
accepts remote resources- Callback function and scope for all interface methods
schedule( notification, callback, scope )
- Renamed
add()
toschedule()
autoCancel
property has been removed- Use
ongoing: true
for persistent local notifications on Android - Renamed repeat intervals
second
,minute
,hour
,day
,week
,month
andyear
- Renamed some local notification properties
date
,json
,message
andrepeat
- Scheduling local notifications with the deprecated properties is still possible
- Kitchen Sink sample app
- Wiki