Socket
Book a DemoInstallSign in
Socket

react-native-paysprint-onboarding

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-paysprint-onboarding

This is a React Native module that provides a seamless integration of the Paysprint Onboarding SDK into your React Native Android applications.

latest
Source
npmnpm
Version
1.0.12
Version published
Weekly downloads
20
-91.6%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-paysprint-onboarding

This is a React Native module that provides a seamless integration of the Paysprint Onboarding SDK into your React Native Android applications.

For reference, you may check out the (Pay Sprint Onboarding Mobile SDK).

Installation


npm  install  react-native-paysprint-onboarding

Android Setup

1. Add .aar dependency

Download the required .aar from the Pay Sprint Onboarding Mobile SDK Docs and place it in your app module:

android/app/libs/onboardinglib_live-release.aar

⚠️ Make sure the filename matches exactly, including extension and case.

2. Configure Gradle to include local .aar files

Open your app module's android/app/build.gradle and ensure there is a repositories block.

  • If it exists, add the flatDir line inside it:
repositories {
    google()
    mavenCentral()
    flatDir {
        dirs 'libs'  // <- This tells Gradle to look in android/app/libs for .aar files
    }
}
  • If the repositories block does not exist, add the whole block above.

3. Update gradle.properties

Add the following line to your android/gradle.properties file in your project:

android.enableJetifier=true

✅ This tells Gradle to enable Jetifier, which is required for compatibility with the Paysprint SDK, as it still depends on the old Android Support libraries.

Usage

import { startPaysprintOnBoarding } from 'react-native-paysprint-onboarding';

// ...

startPaysprintOnBoarding(
  partnerId, // string
  partnerApiKey, // string
  merchantCode, // string
  merchantMobile, // string
  firmName, // string
  email, // string
  lat, // string
  lng, // string
  pipe // string
)
  .then((res) => {
    console.log(res, 'Response');
  })
  .catch((e) => {
    console.log(e, 'Error');
  });

Response JSON Object

startPaysprintOnBoarding() Method Reponse

KeyTypeDescription
statusbooleanIndicates whether the onboarding was successful or not
responsenumberNumeric code representing the response status
messagestringMessage describing the result

Contributing

License

MIT

Keywords

react-native

FAQs

Package last updated on 31 Oct 2025

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