React Native Storage - v2.0.0
GitHub
Preparing search index...
react-native-storage-toolkit
SecureStoreLike
Interface SecureStoreLike<Options>
The part of
expo-secure-store
the driver uses.
interface
SecureStoreLike
<
Options
=
unknown
>
{
getItemAsync
(
key
:
string
,
options
?:
Options
)
:
Promise
<
string
|
null
>
;
setItemAsync
(
key
:
string
,
value
:
string
,
options
?:
Options
)
:
Promise
<
void
>
;
deleteItemAsync
(
key
:
string
,
options
?:
Options
)
:
Promise
<
void
>
;
}
Type Parameters
Options
=
unknown
Index
Methods
get
Item
Async
set
Item
Async
delete
Item
Async
Methods
get
Item
Async
getItemAsync
(
key
:
string
,
options
?:
Options
)
:
Promise
<
string
|
null
>
Parameters
key
:
string
Optional
options
:
Options
Returns
Promise
<
string
|
null
>
set
Item
Async
setItemAsync
(
key
:
string
,
value
:
string
,
options
?:
Options
)
:
Promise
<
void
>
Parameters
key
:
string
value
:
string
Optional
options
:
Options
Returns
Promise
<
void
>
delete
Item
Async
deleteItemAsync
(
key
:
string
,
options
?:
Options
)
:
Promise
<
void
>
Parameters
key
:
string
Optional
options
:
Options
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Item
Async
set
Item
Async
delete
Item
Async
GitHub
React Native Storage - v2.0.0
Loading...
The part of
expo-secure-storethe driver uses.