Open the-mold opened 7 years ago
By encoded signature, you mean the base64 of it ?
@UnSimpleGeek exactly! is there a way?
updated my question.
what is your issue ? Getting Base64 or Image getting disappeared from touch pad ?
@petromoldovan I'm not sure to understand your question properly.
If you want to have the base64 of your signature you must use the result.encoded
function.
Documentation :
_onSaveEvent(result) {
//result.encoded - for the base64 encoded png
//result.pathName - for the file path name
console.log(result);
}
@petromoldovan If you look in /ios/PPSSignatureView.m
there's a function called signatureImage
that calls [self erase];
(not sure why). If you fork the repo and make your changes and point your package link to it, that should fix your problem for you.
The signature is store in the phone's storage permanently? What if after get the encoded image, I don't need it to store in the phone? How to remove it?
make props saveImageFileInExtStorage to false
i'm also stuck in same issue....After signature capture that image is not send to server..They receive empty file..Anybody having idea to rectify this error....
Guys, awesome job with the library!
is there a way how i can get encoded signature(base64) without
this.sign.saveImage()
? Because when i call then image disappears from the touch pad.please let me know. thanks!