capacitor-wallet-access
Used to gain access to a user's wallet on their device. This allows access to the cards, passes, or tickets a user will have in their wallet, but this does NOT include the capacity to create new passes
Install
npm install capacitor-wallet-access
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
getWallet(...)
getWallet(options: { value: string[]; }) => Promise<{ cards: any[]; }>
Param | Type |
---|---|
options |
{ value: string[]; } |
Returns: Promise<{ cards: any[]; }>
generatePass(...)
generatePass(options: { passConfig: object; passObject: object; miscData?: object; }) => Promise<{ newPass: string; }>
Param | Type |
---|---|
options |
{ passConfig: object; passObject: object; miscData?: object; } |
Returns: Promise<{ newPass: string; }>