jinkeh-plugin-customerservice
Version:
cordova plugin to call jinkeh customer service app
20 lines (15 loc) • 498 B
JavaScript
var exec = require('cordova/exec');
// exports.csApp = function (arg0, success, error) {
// exec(success, error, 'CustomerService', 'CustomerService', [arg0]);
// };
function customerService() {
}
customerService.prototype.launch = function () {
// alert('plugin launch');
exec(function (res) {
alert('res: ' + res);
}, function (err) {
alert('err: ' + err);
}, "CustomerServicePlugin", "startCustomerService", []);
}
module.exports = new customerService();