Function: getSecurityLevel()
getSecurityLevel(
options
?):Promise
<null
|SECURITY_LEVEL
>
Returns the security level supported by the library on the current device (Android only).
Parameters
• options?: Partial
<object
& BaseOptions
>
A keychain options object.
Returns
Promise
<null
| SECURITY_LEVEL
>
Resolves to a SECURITY_LEVEL
when supported, otherwise null
.
Example
const securityLevel = await Keychain.getSecurityLevel();
console.log('Security Level:', securityLevel);