Skip to main content

Additional features

Fill in a PDF form​

loadPDFWithInputs loads a PDF and fills in its form fields with the values of a map, whose keys are the names of the fields:

const inputs = {
'Name': 'Jane Doe',
'Date of birth': '01/01/1999',
'NIF': '99999999A',
};
MobbSignAPI.loadPDFWithInputs(base64Pdf, inputs, onSuccess, onError);

Device and app information​

MethodReturns to the success callback
getDeviceIdentifierThe identifier of the device assigned by MobbSign.
getVersionAppThe version of the app.
getBuildVersionAppThe build number of the app.
MobbSignAPI.getDeviceIdentifier((id) => console.log(id), console.error);