@okode/capacitor-plugin-secure-share
v1.2.1
Published
Capacitor Secure Share Plugin
Downloads
91
Readme
capacitor-plugin-secure-share
Capacitor Secure Share Plugin
Install
npm install @okode/capacitor-plugin-secure-share
npx cap sync
API
save(...)
save(data: Record<string, string>) => Promise<void>
| Param | Type | Description |
| ---------- | --------------------------------------------------------------- | ------------------------------------------------- |
| data
| Record<string, string> | string to string map holding the data to be saved |
retrieve()
retrieve() => Promise<Record<string, string>>
Returns: Promise<Record<string, string>>
retrieveFrom(...)
retrieveFrom(data: { packageName: string; }) => Promise<Record<string, string>>
| Param | Type |
| ---------- | ------------------------------------- |
| data
| { packageName: string; } |
Returns: Promise<Record<string, string>>
Type Aliases
Record
Construct a type with a set of properties K of type T
{ [P in K]: T; }
CHANGELOG
- 1.2.0 ... Capacitor 5
- 1.1.0 ... Capacitor 4