@johnpc/financekit-capacitor
v0.0.3
Published
Enable iOS FinanceKit capabilities for Capacitor apps
Downloads
6
Readme
@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; }; }>