Skip to content

  • Documentation
    • Mobile App – Signatus
    • Web App – Signatus 2 API
    • Web App – OKdokument API
    • Web App – OKdokument
  • Contact Us

Customization – Wizard SDK

  • 1. What is a Wizard
  • 2. Introduction to Wizard Javascript API Calls
  • 2.1 Integration
  • 2.2 Document signing
  • 2.3 PDF Document Processing
  • 2.4 Device Features
  • 2.5 Files & Folders
  • 2.6 Application Features
  • 2.7 System Utilities
  • 3. Example: Simple process

Customization – PDF & Form Preparation

  • PDF Forms creation
  • 1. Tags
  • 2. Acrofields
  • 3. Sample document

Integration – REST API

  • 1. Introduction
  • 2. Download
  • 3. Upload

Integration – App-to-App

  • 1. Introduction
  • 2. How does it work?
  • 3. START-ACTIVITY-FOR-RESULT (APP – SIGNATUS – APP)
  • 4. Sending data to Master Wizard via Intent
  • 5. Runtime Configuration Parameters (Display, Fields, Signing Process)

Hardware

  • 1. Android
  • 2. iOS / iPadOS
  • 3. Windows

Signatus user manual

  • 1. Introduction
  • 2. Main menu
  • 3. Signing
  • 4. Submit signed document
  • 5. Settings in detail
  • 6. Example Wizard
View Categories
  • Home
  • Documentation
  • Mobile App - Signatus
  • Customization – Wizard SDK
  • 2.6 Application Features

2.6 Application Features

The Application Features section provides access to application-level information and configuration.
It includes functions for retrieving version details and working with application settings.

These endpoints allow clients to adapt behavior based on the application context and configuration.

updateFile (Android, Windows, iOS) #

Updates a file or files that have been downloaded from the license server to the device at the activation of Signatus license.

This function also allows the wizard to update itself. Using this function, new version of the wizard or configuration updates can be distributed to all the devices of the customer. In case multiple files should be checked and updated, please use the function according to the example for update of multiple files.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {void} 
 */
function updateFile(arg);

Parameters description :

NameRequiredFormatDescription
filenametrue/falsestringName of the file to be updated. Required if filenames is not set
filenamestrue/falsestringNames of the files to be updated. In case of download or update of multiple files state is ignored. String with comma separated values. Required if filename is not set
statefalsestringSpecifies the type of the file:
– “local” : template PDF files or wizards available in a local channel. Default value
– “form” : simple (non-wizard) HTML forms,
– “files” : configuration files (certificates etc.),
– “profil” : user profile.
callfalsestringCallback function name
showProgressfalsebooleanif true, a progress dialog will show during file downloading. Default false
restartAfterUpdate falsebooleanif true, a restart dialog will show after the file is successfully downloaded. Default false

Example for one file only :

const arg = {
    "filename": "Wizard.zip",
    "showProgress": true,
    "restartAfterUpdate": true,
    "call": "onUpdateFile"
}
updateFile(arg);

/**
 * callback function for updateFile function
 * @param res - result in string format
 */
function onUpdateFile (res) {
    const result = JSON.parse(res);
}

Example for muliple files :

const arg = {
    "filenames": "public.der,example.pdf,logo.png",
    "restartAfterUpdate": true,
    "call": "onUpdateFile"
}
updateFile(arg);

/**
 * callback function for updateFile function
 * @param res - result in string format
 */
function onUpdateFile (res) {
    const result = JSON.parse(res);
}

Result example :

{
	"parameter": {
		"status": "OK",
		"message": "Všetko je aktuálne"
	}
}

getVersion (Android, Windows, iOS) #

Returns the version of the SIGNATUS SDK of Signatus application installed on the device.

/**
 * @param {Object} arg- Empty JSON object.
 * @returns {string} - Returns version name in string format
 */
function getVersion (arg);

Example :


const value = getVersion ({});
// 4.5.1

getInfo (Android, Windows, iOS) #

Returns information about the device. This data can be stored as metadata, written to an audit file, or embedded into PDF document properties to provide additional evidence of how the signature was created.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {string} - Returns device info in JSON format as string
 */
function getInfo (arg);

Parameters description :

NameRequiredFormatDescription
codetruestringone of: UID, IPAddress, Version, MACAddress, NetworkType, IMEI, SerialNumber, SimSerialNumber, Manufacturer, Model, AndroidOSVersion  == OSVersion, AndroidSDK == SDK, GPS, ApplicationId, Battery , AndroidId == OSId  or 
– All  for  all info attributes  in JSON fromat

Example :

const arg = {
    "code": "All"
}
const res= getInfo(arg);
const result = JSON.parse(res);

Result example :

{
	"UID": "00000000-57cd-abf3-0000-00000033c587",
	"IPAddress": "",
	"Version": "4.5.1",
	"MACAddress": "",
	"NetworkType": "Wi-Fi",
	"SerialNumber": "6e4572bbf5ff291c",
	"Manufacturer": "samsung",
	"Model": "SM-X610",
	"OSVersion": "16",
	"SDK": "36",
	"GPS": "48,89354 18,03928",
	"ApplicationId": "com.anasoft.signatus.app",
	"Battery": "{\"level\":98,\"isCharging\":true}",
	"OSId": "6e4572bbf5ff291c",
	"WifiInfo": "4",
	"NativeIntent": "false"
}

setProfile (Android) #

Set a value of an item inside “My Profile” section of Signatus application installed on the device.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {boolean} - Returns true if the profile were successfully set, false otherwise.
 */
function setProfile(arg);

Parameters description :

NameRequiredFormatDescription
codetruestringProfile attribute key
datatruestringProfile attribute value

Example :

const arg = {
    "code": "name",
    "data": "John Doe"
}
const isSucess = setProfile(arg);

getProfile (Android) #

Returns the value from an attribute stored within “My Profile” section of Signatus application installed on the device.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {string} - Returns profile attribute value
 */
function getProfile(arg);

Parameters description :

NameRequiredFormatDescription
codetruestringProfile attribute key

Example :

const arg = {
    "code": "name"
}
const value = getProfile(arg);
// John Doe

deleteProfile (Android) #

Clears all data stored in the device’s My Profile section. My Profile is typically used to temporarily store information, such as login credentials for a configured REST channel during wizard execution. The wizard can define rules that control when this stored information should be removed.

/**
 * @param {Object} arg- Empty JSON object.
 * @returns {boolean} - Returns true if the profile were successfully deleted, false otherwise.
 */
function deleteProfile (arg);

Example :

const isSucess = deleteProfile({});

setAppConfig (Android, Windows) #

Sets an internal SIGNATUS configuration parameter (not reachable via GUI). This way it is possible to customize the Signatus application from the wizard. Contact us in order to get the desired parameter and possible values to be set.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {boolean} - Returns true if the config were successfully set, false otherwise.
 */
function setAppConfig (arg);

Parameters description :

NameRequiredFormatDescription
codetruestringConfig attribute key
datatruestringConfig attribute value

Example of configuring the generated certificate issuer name (instead of the default value CN=SIGNATUS,O=Anasoft APR,L=Bratislava,ST=Slovakia,C=SK)

const arg = {
    "code": "cert.issuer.name",
    "data": "CN=SIGNATURE,O=Company s.r.o,L=Bratislava,ST=Slovakia,C=SK"
}
const isSucess = setAppConfig (arg);

* implementation for Windows is limited for some attributes only (“tag.compulsory.signatures”, “document.zoom.factor”, “cert.issuer.name”)

getAppConfig (Android) #

Gets the value of an internal SIGNATUS configuration parameter (not reachable via GUI). Contact us in order to get the desired parameter and possible output values.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {string} - Returns config attribute value
 */
function getAppConfig (arg);

Parameters description :

NameRequiredFormatDescription
codetruestringConfig attribute key

Example :

const arg = {
    "code": "cert.issuer.name"
}
const value = getAppConfig(arg);

setSettings (Android, Windows, iOS) #

Sets one of the SIGNATUS configuration parameters that are also reachable via the settings GUI. This way it is possible to customize the settings of Signatus application from the wizard.

See the getSettings function for the list of codes.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {boolean} - Returns true if the settings were successfully set, false otherwise.
 */
function setSettings (arg);

Parameters description :

NameRequiredFormatDescription
codetruestringSettings attribute key
datatruestringSettings attribute value

Example :

const arg = {
    "code": "draw_mode",
    "data": "PEN"
}
const isSucess = setSettings (arg);

getSettings (Android, Windows, iOS) #

Returns the current value of a SIGNATUS settings entry (one of the parameters reachable via the settings GUI). Similar to getAppConfig, but in case of function getAppConfig you can get the parameters NOT reachable via GUI.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {string} - Returns config attribute value
 */
function getSettings(arg);

Parameters description :

NameRequiredFormatDescription
codetruestringKey identifying the settings entry

Example :

const arg = {
    "code": "draw_mode"
}
const value = getSettings(arg);
// SYSTEM , PEN or FINGER

List of the settings codes:

Codes marked +suffix can be used without a suffix or with a number 1-5 appended to the code. The resulting 6 possible codes are used to distinguish among multiple channels of the same type (e.g. REST download).

login_enabled 
login_username 
login_password 
login_time_out 
form_enabled 
browse_file_enabled 
browse_web_enabled 
browse_cmis_enabled 
browse_rest_enabled 
browse_google_drive_enabled 
upload_cmis_enabled 
upload_rest_enabled 
upload_local_enabled 
upload_google_drive_enabled 
browse_file_root+suffix
browse_file_delete 
browse_web_url 
browse_web_qr_code_scanner 
browse_cmis_channel_name+suffix
browse_cmis_server_url+suffix
browse_cmis_username+suffix
browse_cmis_password+suffix
browse_cmis_query+suffix
browse_cmis_copy_to_local+suffix
browse_rest_channel_name+suffix
browse_rest_list_url+suffix
browse_rest_login_url+suffix
browse_rest_oidc_token_endpoint+suffix
browse_rest_ack_url+suffix
browse_rest_username+suffix
browse_rest_password+suffix
browse_rest_copy_to_local+suffix
upload_entry 
upload_file_directory 
upload_rest_channel_name 
upload_web_url+suffix
upload_web_username+suffix
upload_web_password+suffix
upload_web_content_key+suffix
upload_rest_login_url+suffix
upload_rest_oidc_token_endpoint+suffix
upload_web_metadata+suffix
upload_cmis_channel_name+suffix
upload_cmis_server_url+suffix
upload_cmis_username+suffix
upload_cmis_password+suffix
upload_cmis_directory+suffix
anotation_enabled 
sign_anywhere_enabled 
scanning_enabled 
zip_enabled 
email_enabled 
email_text 
email_subject 
welcome_time 
templates_folder 
last_import 
high_quality_rendering 
csv_export_enabled 
sign_time_format 
biometry_enabled 
qr_code_scanner_enabled 
default_files_enabled 
menu_file_channel_name 
upload_file_channel_name 
menu_web_channel_name 
menu_form_channel_name 
details_file_view 
knox_enabled 
move_file 
zoom_enabled 
flatten_enabled 
cloud_signature_environment 
cloud_signature_username 
jpg_in_document_enabled 
upload_google_drive_directory+suffix
upload_google_drive_directory_id+suffix
upload_google_drive_account_name+suffix
upload_google_drive_channel_name+suffix
browse_google_drive_directory+suffix
browse_google_directory_drive_id+suffix
browse_google_drive_account_name+suffix
browse_google_drive_channel_name+suffix
draw_mode 
gps_enabled 
screen_orientation 
language 

* implementation for Windows is limited for some attributes only (“browse_rest_username”, “browse_rest_password”, “upload_web_username”, “upload_web_password”)

openPreferences (Android) #

Opens the Signatus preferences window. If Signatus is configured to launch directly into a wizard, this function allows administrators to access and modify application settings without stopping the wizard.

/**
 * @param {Object} arg- Empty JSON object.
 * @returns {boolean} - Returns true if the preferences were successfully opened, false otherwise.
 */
function openPreferences (arg);

Example :

const isSucess = openPreferences ({});

exportSettings (Android) #

Enables the export of application settings to an encrypted file. This functionality is available both in the application settings and through the wizard.

The encrypted settings file can be transferred to another device to easily replicate the configuration, or uploaded to the license server and distributed automatically to devices during license activation.

/**
 * @param {Object} arg- Empty JSON object.
 * @returns {string} Returns JSON object as string with keys : success : true / false path : path to exported file
 */
function exportSettings(arg);

Example :

const res = exportSettings ({});
const result = JSON.parse(res);

Result example :

{
	"success": true,
	"path": "/storage/emulated/0/Android/data/com.anasoft.signatus.app/files/Export/com.anasoft.signatus.app_preferences.xml"
}

scanLicense (Android) #

Opens a barcode reader to scan QR license code. After scanning, it connects to the license server and downloads the license and all the related configuration files available.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {void} 
 */
function scanLicense (arg);

Parameters description :

NameRequiredFormatDescription
calltruestringCallback function name

Example :

const arg = {
    "call": "onScanLicense"
}
scanLicense(arg);

/**
 * callback function for scanLicense function
 * @param res - result in string format
 */
function onScanLicense (res) {
    const result = JSON.parse(res);
}

Result example :

{
	"parameter": {
		"suceess": true
	}
}

getLicense (Android) #

Returns information about Signatus license activated on the device.

/**
 * @param {Object} arg- Empty JSON object.
 * @returns {string} - Returns license info in JSON format as string
 */
function getLicense(arg);

Example :


const res= getLicense({});
const result = JSON.parse(res);

Result example :

{
	"activation_date": "15.12.2025",
	"expiry_date": "31.07.2030",
	"last_modified": "01.09.2025",
	"license_hash": "",
	"json_data": {},
	"pdf_watermark": false
}

setTitleBar (Android) #

Sets the text , color and visibility of the Android action bar of a wizard.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {void} 
 */
function setTitleBar (arg);

Parameters description :

NameRequiredFormatDescription
textfalsestringSet the text of the action bar at the top of the screen
colorfalsestringSet the color of the action bar at the top of the screen in hex format. For example “#ff0000“
statefalsestring– off : hide action bar
– on : show action bar

Example :

const arg = {
    "text" : "My wizard",
    "color" : "#ff0000",
    "state" : "on"
};
setTitleBar (arg);

setProgress (Android) #

Sets the value of the progress indicator displayed in the Android system task bar during wizard execution. The progress bar shows the current wizard step and the total number of steps to be completed.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {void} 
 */
function setProgress (arg);

Parameters description :

NameRequiredFormatDescription
progresstrueintCurrent progress step
maxtrueintMax progress step

Example :

const arg = {
    "progress" : 1,
    "max" : 5
};
setProgress(arg);

Result :

getChannels (Android) #

Returns information about all upload channels configured in the Signatus application settings.

/**
 * @param {Object} arg- Empty JSON object.
 * @returns {Object} - Returns JSON Array about all upload channels configured in the Signatus application settings.
 */
function getChannels(arg);

Example :


const result = getChannels({});

Result example :

[
	{
		"name": "SignedLocal"
	},
	{
		"name": "SignedDocuments"
	}
]

clearWebView (Android) #

Clears the browsing history, cache, and form data of the web view used by the wizard. This is especially useful at the end of a multi-user session to ensure that information entered by one user (such as login credentials) is not visible to subsequent users.

/**
 * @param {Object} arg- Empty JSON object.
 * @returns {void}
 */
function clearWebView(arg);

Example :


clearWebView ({});

cancel (Android, Windows, iOS) #

The cancel function is used to exit the HTML wizard or to control the Signatus application state, such as minimizing, restarting, or closing the application.

/**
 * @param {Object} arg- Parameter JSON object.
 * @returns {void}
 */
function cancel(arg);

Parameters description :

NameRequiredFormatDescription
statefalsestring – empty JSON : closes the HTML wizard a returns control to the Signatus menu
– off: closes Signatus application
– minimize: minimizes Signatus application (like button Home)
– restart : restarts Signatus application

Example :

const arg = {
    "state": "off"
};
cancel(arg);

Updated on 04/02/2026
2.5 Files & Folders2.7 System Utilities
Table of Contents
  • updateFile (Android, Windows, iOS)
  • getVersion (Android, Windows, iOS)
  • getInfo (Android, Windows, iOS)
  • setProfile (Android)
  • getProfile (Android)
  • deleteProfile (Android)
  • setAppConfig (Android, Windows)
  • getAppConfig (Android)
  • setSettings (Android, Windows, iOS)
  • getSettings (Android, Windows, iOS)
  • openPreferences (Android)
  • exportSettings (Android)
  • scanLicense (Android)
  • getLicense (Android)
  • setTitleBar (Android)
  • setProgress (Android)
  • getChannels (Android)
  • clearWebView (Android)
  • cancel (Android, Windows, iOS)
  • Documentation
    • Mobile App – Signatus
    • Web App – Signatus 2 API
    • Web App – OKdokument API
    • Web App – OKdokument
  • Contact Us
Proudly powered by WordPress