SecureDB is an extension that stores data for your app in a secure format.
Methods
isReady

Returns if SecureDB is ready.
Return Type: boolean
DestroyDB

Destroys SecureDB instance.
StoreValue

Store the given value under the given tag.
| Parameter | Type |
|---|---|
| tag | text |
| valueToStore | any |
GetValueWithTag

Retrieve the value stored under the given tag.
| Parameter | Type |
|---|---|
| tag | text |
Return Type: any
GetValue

Retrieve the value stored under the given tag.
| Parameter | Type |
|---|---|
| tag | text |
| valueIfTagNotThere | any |
Return Type: any
ClearTag

Clear the entry with the given tag.
| Parameter | Type |
|---|---|
| tag | text |
ClearAll

Clear the entire data store.
tagExist

Check if any tag exists.
| Parameter | Type |
|---|---|
| tag | text |
Return Type: boolean
tagCount

Check total entry count.
Return Type: number