open-index/open-npm huggingface dataset:
npm package: @finicity/connect-react-native-sdk
Description: Finicity Connect SDK for ReactNative
Latest version: 1.0.0-rc.7

# Finicity Connect React Native SDK

## Overview

Finicity Connect React Native SDK provides an easy way for developers to integrate Finicity Connect into their React Native application.

## Installing

### Dependencies

The SDK has the following `peerDependencies`:

- [react-native-inappbrowser-reborn >=3.6](https://www.npmjs.com/package/react-native-inappbrowser-reborn)
- [react-native-webview >=11](https://www.npmjs.com/package/react-native-webview)
- [react >=16.13](https://www.npmjs.com/package/@finicity/connect-react-native-sdk)
- [react-native >=0.63](https://www.npmjs.com/package/react-native)

**NOTE: make sure to run `pod install` after installing these dependencies**

### NPM

```bash
npm install @finicity/connect-react-native-sdk
```

### Usage

```tsx
import {
  FinicityConnect,
  ConnectEventHandlers,
} from '@finicity/connect-react-native-sdk';

const MyConnectComponent = () => {
  const eventHandlers: ConnectEventHandlers = {
    onDone: (event: ConnectDoneEvent) => {},
    onCancel: (event: ConnectCancelEvent) => {},
    onError: (event: ConnectErrorEvent) => {},
    onRoute: (event: ConnectRouteEvent) => {},
    onUser: (event: any) => {},
    onLoad: () => {},
  };
  return (
    <FinicityConnect
      connectUrl={'#GENERATED_CONNECT_URL#'}
      eventHandlers={eventHandlers}
      linkingUri={'#UNIVERSAL_LINK#'}
    ></FinicityConnect>
  );
};
```

## Connect Event Handlers

| Event Type | Description                                                                                                                             |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| onLoad     | Called when the Connect web page is loaded and ready to display                                                                         |
| onDone     | Called when the user successfully completes the Connect application                                                                     |
| onCancel   | Called when the user cancels the Connect application                                                                                    |
| onError    | Called when an error occurs while the user is using the Connect                                                                         |
| onRoute    | Called with the user is navigating through the screens of the Connect application                                                       |
| onUser     | Called when a user performs an action. User events provide visibility into what action a user could take within the Connect application |

For more detailed information on these events visit: [Connect Event Types](https://docs.finicity.com/connect-2-0-events-types/)

## Version compatibility

| Version | Compatibility |
| ------- | ------------- |
| 1.x     | React 16+     |
npm package: @finite/core
Description: This is a library of shared react and js functions which I have used for personal projects. This is not a compiled library you will need to ensure it is touched by your compiler. I intent to ensure it can be compiled easily with an up to date version of b
Latest version: 0.0.4

# @finite/core

This is a library of shared react and js functions which I have used for personal projects. This is not a compiled library you will need to ensure it is touched by your compiler. I intent to ensure it can be compiled easily with an up to date version of babel with react plugins or create-react-app.