@matiasfic/push-provisioning-capacitor-plugin
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

@matiasfic/push-provisioning-capacitor-plugin

Push provisioning Capacitor plugin for both Google Pay and Apple Pay support

Install

npm install @matiasfic/push-provisioning-capacitor-plugin
npx cap sync

API

isAvailable()

isAvailable() => Promise<{ available: boolean; }>

Returns: Promise<{ available: boolean; }>


isPaired(...)

isPaired(options: { cardLastFour: string; }) => Promise<{ paired: boolean; }>
Param Type
options { cardLastFour: string; }

Returns: Promise<{ paired: boolean; }>


getCardUrl(...)

getCardUrl(options: { cardLastFour: string; }) => Promise<{ url: string | null; }>
Param Type
options { cardLastFour: string; }

Returns: Promise<{ url: string | null; }>


startEnroll(...)

startEnroll(options: { cardHolder: string; cardLastFour: string; }) => Promise<{ certificates: string[]; nonce: string; nonceSignature: string; }>
Param Type
options { cardHolder: string; cardLastFour: string; }

Returns: Promise<{ certificates: string[]; nonce: string; nonceSignature: string; }>


completeEnroll(...)

completeEnroll(options: { activationData: string; encryptedPassData: string; ephemeralPublicKey: string; }) => Promise<void>
Param Type
options { activationData: string; encryptedPassData: string; ephemeralPublicKey: string; }

Readme

Keywords

Package Sidebar

Install

npm i @matiasfic/push-provisioning-capacitor-plugin

Weekly Downloads

8

Version

6.0.0

License

MIT

Unpacked Size

23.3 kB

Total Files

22

Last publish

Collaborators

  • matiasfic