React Native SDK
The Quiltt React Native SDK provides Components for seamless integration of the Quiltt Connector into your React Native app.
This SDK currently supports iOS and Android.
Documentation
For full documentation, additional examples and the source code, see the Quiltt React Native SDK on Github.
Link to this section#Installation
@quiltt/react-native
expects react
, react-native
,react-native-webview
, base-64
and react-native-url-polyfill
as peer dependencies.
Link to this section#Setting up OAuth
For production Environments, you must pass a https://
URL to oauthRedirectUrl
. This URL must be a valid deep link to launch your app.
To set up a deep link to your app, please see the Expo deep linking guide.
https://*.callback.quiltt.io
Link to this section#Handling Authentication
To load the Connector for use by a pre-existing end-user, you'll need to pass a valid Session token. See the Authentication guide for more information on generating Session tokens.
Link to this section#Quickstart Example
The below example shows how to set up a ConnectorScreen
component, using React Navigation to handle Connector callbacks.
Link to this section#Set up the Provider Component
The QuilttProvider
component is the easiest way to pass a Session token to your application. We recommend putting the component into its own screen so it can use up the entire mobile viewport.
Below is a simple example using React Navigation, with a HomeScreen
and ConnectorScreen
.
Link to this section#Implementing the ConnectorScreen
component
Link to this section#Pre-filled Institution Search
Link to this section#Implementing Reconnect Flow
To use the Reconnect Flow, simply supply a connectionId
to the QuilttConnector
component.
Link to this section#Typescript
The React Native package comes bundled with the @quiltt/core
package, which contains type definitions for all components and hooks.
See the definition file on Github