0.0.1 • Published 8 years ago
com.shivam.bvc v0.0.1
Cordova Hello World Plugin
Simple plugin that returns Belle Vue Clinic Static Ip.
Using
Clone the plugin
$ git clone https://github.com/don/cordova-plugin-mah.git
Create a new Cordova Project
$ cordova create hello com.shivam.bvc mah
Install the plugin
$ cd hello
$ cordova plugin add ../cordova-plugin-mah
Edit www/js/index.js
and add the following code inside onDeviceReady
var success = function(message) {
alert(message);
}
var failure = function() {
alert("Error calling Hello Plugin");
}
hello.greet("World", success, failure);
Install iOS or Android platform
cordova platform add ios
cordova platform add android
Run the code
cordova run
More Info
For more information on setting up Cordova see the documentation
For more info on plugins see the Plugin Development Guide
0.0.1
8 years ago