Loading...
Loading...
The Quiltt Capacitor SDK provides native Capacitor plugin support for Quiltt Connector, with framework-specific adapters for React and Vue 3.
| Package | Use case |
|---|---|
@quiltt/capacitor | Any framework (Vue, Angular, Svelte, vanilla JS) |
@quiltt/capacitor/vue | Vue 3 components and composables |
@quiltt/capacitor/react | React components and hooks |
For full documentation, additional examples and the source code, see the Quiltt Capacitor SDK on GitHub.
OAuth bank authentication redirects the user back to your app via a deep link. You need to configure a URL scheme for this callback.
ios/App/App/Info.plistandroid/app/src/main/AndroidManifest.xmlAfter making configuration changes, run npx cap sync to propagate them to the native projects.
OAuth is handled automatically — bank auth opens in the system browser and deep link callbacks are captured on return.
For modal-based connection, use QuilttButton:
@quiltt/capacitor/react re-exports everything from @quiltt/react, including QuilttProvider, QuilttButton, QuilttContainer, useQuilttSession, useQuilttConnector, useQuilttClient, useQuery, useMutation, and gql.
Register the plugin and set up deep link handling:
For modal-based connection:
@quiltt/capacitor/vue re-exports everything from @quiltt/vue.
Use the native plugin directly with Angular, Svelte, or vanilla JS:
Pass connectionId (React) or connection-id (Vue) to repair or reconnect an existing Connection. See the Reconnect Flow guide for more information.
| Method | Description |
|---|---|
openUrl({ url }) | Opens a URL in the system browser |
getLaunchUrl() | Returns the URL that launched the app |
addListener('deepLink', callback) | Listens for deep link callbacks |
removeAllListeners() | Removes all event listeners |
| Prop | Type | Description |
|---|---|---|
connectorId | string | Required. Quiltt Connector ID |
connectionId | string | Existing connection ID for reconnection |
institution | string | Pre-select an institution |
appLauncherUrl | string | Deep link URL for OAuth callbacks |
onLoad | (metadata) => void | Connector loaded |
onExitSuccess | (metadata) => void | Connection successful |
onExitAbort | (metadata) => void | User cancelled |
onExitError | (metadata) => void | Error occurred |
appLauncherUrl matches your configured URL scheme.npx cap sync after any configuration changes.