New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

connect-react-native-sdk

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-react-native-sdk

React Native SDK for Mastercard Open Banking Connect

  • 1.0.0-rc.8
  • npm
  • Socket score

Version published
Weekly downloads
145
decreased by-77.41%
Maintainers
1
Weekly downloads
 
Created
Source

Mastercard Open Banking Connect React Native SDK

Overview

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

Installing

Dependencies

The SDK has the following peerDependencies:

  • react-native-inappbrowser-reborn >=3.6
  • react-native-webview >=11
  • react >=16.13
  • react-native >=0.63

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

NPM

npm install connect-react-native-sdk

Usage

import {
  Connect,
  ConnectEventHandlers,
} from '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 (
    <Connect
      connectUrl={'#GENERATED_CONNECT_URL#'}
      eventHandlers={eventHandlers}
      linkingUri={'#UNIVERSAL_LINK#'}
    ></Connect>
  );
};

Connect Event Handlers

Event TypeDescription
onLoadCalled when the Connect web page is loaded and ready to display
onDoneCalled when the user successfully completes the Connect application
onCancelCalled when the user cancels the Connect application
onErrorCalled when an error occurs while the user is using the Connect
onRouteCalled with the user is navigating through the screens of the Connect application
onUserCalled when a user performs an action. User events provide visibility into what action a user could take within the Connect application

Version compatibility

VersionCompatibility
1.xReact 16+

Keywords

FAQs

Package last updated on 09 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc