Data attribute in JSON format can be sent to the native intent; below is a description of the individual configuration options.
allowedFields
- Define which AcroFields are visible/editable in this round.
allowedButtons
- List of button IDs to render in the toolbar.
nativeMenu
- Override toolbar buttons (id, title, icon, color).
config
- JSON object controlling signing mode, biometry, audit hash, signerInfo.
JSON with String attributes:
allowedFields,
color – allows set the color of the action bar at the top of the screen allowedButtons – JSON Array with displayed buttons ids. Example : [‘action_canceled’, ‘action_ok’, ‘action_save’].
nativeMenu – native action bar button configuration. JSON Array of object with keys:
id – id of button
title – button title
icon – path to a png file or REMOVE to remove deafult icon
color – button text color Example :
Example :
'nativeMenu' :[
{
'id' : 'action_ok',
'title' : SAVE AND CLOSE',
'icon' : "REMOVE",
'color' :'#ffffff'
},
{
'id' : 'action_canceled',
'title' : 'CANCEL',
'icon' : "REMOVE",
'color' :'#ff0000'
}]
config – JSON Object with keys:
captureBiometry – white list array of signature fields names, biometric characteristics are captured for all signature fields by default
method – read (mandatory to read the document and scroll all the way down to the bottom of the document)/ write (mandatory to sign) / optional
auditHash – true / false adds audit hash to digital signature
signerInfo – JSON Object with signer info per acrofield. Signer info will be displayed under hand written signature.
"config": {
"signerInfo": {
"acrofieldName1": ["John Smith"],
"acrofieldName2": ["Thomas Deer"]
}
}
