VaultConfig
The configuration file returned to event handlers such as onConfigChange and onVaultReady.
Properties
allowSystemPinFallback
If biometric auth fails, allow system pin fallback.
Default
false
androidPromptDescription
The description text for the Android authentication prompt.
Default
null
androidPromptNegativeButtonText
The cancel text for the Android authentication prompt.
Default
"Cancel"
androidPromptSubtitle
The subtitle text for the Android authentication prompt.
Default
null
androidPromptTitle
The title text for the Android authentication prompt.
Default
"Please Authenticate"
authMode
The AuthMode to configure a new vault with. Note: This will only affect newly created vaults. Vaults with existing data and configuration will use there previous configuration. They can be change by unlocking and then chaning the AuthMode.
Default
hideScreenOnBackground
Obscures the app when backgrounded to avoid leaking sensitive information, such as financial statements or balances. App screenshots won't work on Android 10 devices using gesture navigation if this option is set to true.
Default
false
iosPromptText
For iOS, the prompt text for the biometric prompt
Default
"Authenticate to log in"
isPasscodeSetupNeeded
Whether a passcode needs to be set with setPasscode
lockAfter
The amount of number of milliseconds the app can be in the background for until the vault locks. A value of 0 means the vault won't lock in the background.
Default
0
shouldClearVaultAfterTooManyFailedAttempts
After too many failed authentication attempts, should the vault be cleared?
Default
true