Capacitor Secure Share Plugin
npm install @okode/capacitor-plugin-secure-share
npx cap sync
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() => Promise<Record<string, string>>
Returns: Promise<Record<string, string>>
retrieveFrom(data: { packageName: string; }) => Promise<Record<string, string>>
Param | Type |
---|---|
data |
{ packageName: string; } |
Returns: Promise<Record<string, string>>
Construct a type with a set of properties K of type T
{
[P in K]: T;
}
- 1.2.0 ... Capacitor 5
- 1.1.0 ... Capacitor 4