Zaspire / ubuntu-plugin-pushnotications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cordova Push Notifications Plugin for Ubuntu

Cordova

The plugin can be installed via the Cordova command line interface:

  1. Navigate to the root folder for your phonegap project. 2) Run the command.
cordova plugin add https://github.com/Zaspire/ubuntu-plugin-pushnotications.git

Example

document.addEventListener('deviceready', function() {
    ubuntu.pushNotification.watchNotifications(function(){
        ubuntu.pushNotification.getNotifications(function(o){
            document.write(o)
        })
    })
}, false);

About

License:Apache License 2.0


Languages

Language:C++ 90.9%Language:JavaScript 9.1%