Repository URL to install this package:
|
Version:
0.1.1 ▾
|
Check if the device is rooted (or jailbroken if iOS)
Kind: instance method of Security
| Param | Type | Description |
|---|---|---|
| success | function | A success callback function called on success |
| error | function | The error callback function called on failure |
Check if a VPN is configured and active on the device
Kind: instance method of Security
| Param | Type | Description |
|---|---|---|
| success | function | A success callback function called on success |
| error | function | The error callback function called on failure |
Check if a Porxy is configured and active on the device
Kind: instance method of Security
| Param | Type | Description |
|---|---|---|
| success | function | A success callback function called on success |
| error | function | The error callback function called on failure |
get localStorage value for key (as a string or number)
Kind: static method of Storage
Returns: String - item or null
| Param | Type | Description |
|---|---|---|
| key | String | the item key |
get localStorage value for key as an Object
Kind: static method of Storage
Returns: Object - item or null|undefined
| Param | Type | Description |
|---|---|---|
| key | String | the item key |
save value in localStorage as a string
Kind: static method of Storage
| Param | Type | Description |
|---|---|---|
| key | String | the item key |
| value | String | value to store |
save value in localStorage as an Object
Kind: static method of Storage
| Param | Type | Description |
|---|---|---|
| key | String | the item key |
| value | Object | value to store |
remove item from localStorage by key
Kind: static method of Storage
| Param | Type | Description |
|---|---|---|
| key | String | the item key |
Clear the localStorage
Kind: static method of Storage
get the number of items inside the localStorage
Kind: static method of Storage
Returns: number - number of items
print all localStorage items (Debug purposes only)