Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 442 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 442 Bytes

Cordova Hello World Plugin

Simple plugin that returns your string prefixed with hello

Install

Clone the project to then install by typing:

    $ cordova plugin add <path>

Add some the following to index.js -> deviceReady to call the plugin

	var	win = function (result) {
        alert(result);		
    }, 
    fail = function (error) {
        alert("ERROR " + error);
    };

	hello.greet("World", win, fail);