@johnpc/financekit-capacitor
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@johnpc/financekit-capacitor

Enable iOS FinanceKit capabilities for Capacitor apps

Install

npm install @johnpc/financekit-capacitor
npx cap sync

API

transactions()

transactions() => Promise<{ value: { amount: number; id: string; merchantName: string; date: number; status: number; description: string; type: number; }[]; }>

Returns: Promise<{ value: { amount: number; id: string; merchantName: string; date: number; status: number; description: string; type: number; }[]; }>


accounts()

accounts() => Promise<{ name: string; id: string; }[]>

Returns: Promise<{ name: string; id: string; }[]>


requestAuthorization()

requestAuthorization() => Promise<void>

authorizationStatus()

authorizationStatus() => Promise<{ value: { status: number; }; }>

Returns: Promise<{ value: { status: number; }; }>


Readme

Keywords

Package Sidebar

Install

npm i @johnpc/financekit-capacitor

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

23.7 kB

Total Files

27

Last publish

Collaborators

  • johnpc