-
Notifications
You must be signed in to change notification settings - Fork 1.8k
01. About
The essential purpose of local notifications is to enable an application to inform its users that it has something for them — for example, a message or an upcoming appointment — when the application isn’t running in the foreground. They are scheduled by an application and delivered on the same device.
Users see local notifications in the following ways:
- Displaying an alert or banner
- Badging the app’s icon
- Playing a sound
Local notifications are ideally suited for applications with time-based behaviors, such as calendar and to-do list applications. Applications that run in the background for the limited period allowed by iOS might also find local notifications useful.
For example, applications that depend on servers for messages or data can poll their servers for incoming items while running in the background. If a message is ready to view or an update is ready to download, they can then present a local notification immediately to inform their users.
The purpose of the plugin is to create a platform-independent javascript interface for Cordova-based mobile applications to access the specific API on each platform.