Advanced features
getDeviceIdentifier
This method gets the device identifier given by MobbSign.
This method has the following arguments:
successCallback
: A function that receive a string with the device identifier.failureCallback
: A function that will be executed if some error takes place during this method execution.
getBuildVersionApp
This method gets the build version app given by MobbSign.
This method has the following arguments:
successCallback
: A function that receive a string with the build version app code.failureCallback
: A function that will be executed if some error takes place during this method execution.
getVersionApp
This method gets the version app given by MobbSign.
This method has the following arguments:
successCallback
: A function that receive a string with the version app.failureCallback
: A function that will be executed if some error takes place during this method execution.
loadPDFWithInputs
Warning! This feature is only avaliable from v1.1.4
This method allowes you to load a PDF with forms, specifying the inputs
This method has the following arguments:
b64EncodedFile
: The base64 pdf you want to sign.inputs
: The inputs map you want to set in the pdf form.successCallback
: The success callback when the pdf loadedfailureCallback
: The error callback
Example:
var map = {
"Name": "test",
"Date of birth": "01/01/1999",
"NIF": "99999999A"
}
MobbSignAPI.loadPDFWithInputs(base64File, map, success, failure);