Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Latest commit

 

History

History
42 lines (22 loc) · 926 Bytes

README.md

File metadata and controls

42 lines (22 loc) · 926 Bytes

Smart-Notifier

An Apache Cordova Plugin to push notifications into the notifications area of your smartphone.

How to install

Using the Cordova CLI

cordova plugin add https://github.com/Julien-Marcou/Smart-Notifier.git

How to remove

Using the Cordova CLI

cordova plugin rm fr.julienmarcou.smartnotifier

How it works

Simply type

Notifier.notify("Title", "Message");

You can also customize the icon

Notifier.notify("Title", "Message", "error");

There are 4 available icons default, success, error and calendar.

When the user click on the notification, he is redirected to your App and the notification is destroy. You can only have one notification at a time, if you add another notification, the last will be destroyed.

Upcoming features

Customizable notifications