0.1.4 • Published 5 years ago
@histmobile/cordova-plugin-histmobile v0.1.4
Cordova HIST Mobile Plugin
HIST Mobile plugin that provides result implemented native local process.
Using
Create a new Cordova Project
$ cordova create HistMobile kr.co.hist.histmobile "Hist Mobile"
Install the plugin
$ cd HistMobile
$ cordova plugin add http://gitlab.hist.co.kr/mobile/shared/cordova/hist-mobile.git
Edit www/js/index.js
and add the following code inside onDeviceReady
var success = function(message) {
alert(message);
}
var failure = function() {
alert("Error calling Hist Plugin");
}
hist.greet("Welcome!~ ", 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