#Cordova Plugin for Native Signature Base64 Image
Set Custom Button Titles
cordova.plugins.signaturePlugin.init(
function(){
console.log("success");
},
function(error){
console.log(error);
},['Cancel','Clear','Save']);
Get signature Base64 image with a white background.
cordova.plugins.signaturePlugin.getSignature(
function(base64Image){
console.log(base64Image);
},
function(error){
console.log(error);
});
Get signature Base64 image with a transparent background.
cordova.plugins.signaturePlugin.getTransparentSignature(
function(base64Image){
console.log(base64Image);
},
function(error){
console.log(error);
});
Thanks to gcacace, there is a Android Library this Plugin uses. Please refer to https://github.com/gcacace/android-signaturepad.