Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

raven-mobile-pos

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raven-mobile-pos

Raven Bank Mobile POS (BankBox) React Native Package

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

raven-mobile-pos

a react native package that enables you connect to Raven Bank’s Bank Box

Prerequisites

Credentials


First you need to obtain your app credentials from Raven Bank

Installation

npm install raven-mobile-pos

Android Setup


Set minSdkVersion target

This library targets android devices >= SDK 21. Make sure you're targeting at-least the same by modifying your android/app/build.gradle file

minSdkVersion = 21

iOS Setup


Update Info.plist to add necessary permissions

  <key>NSBluetoothAlwaysUsageDescription</key>
  <string>allow app use bluetooth</string> 
  <key>NSBluetoothPeripheralUsageDescription</key>
  <string>allow app use bluetooth</string> 

Note

  • Debugging IOS would now require physical devices after depending on this plugin as build may fail on simulator.

Usage

import BankBoxManagerAPP from '../../src/App';
import 'react-native';
import { PluginEnvironment } from '../../src/context/plugin-provider';

// ...

<BankBoxManagerAPP
      fonts={DefaultFonts}
      partnerDetails={{
        appName: 'EXAMPLE',
        appEmail: 'example@gmail.com',
        appId: 'YOUR_PROJECT_APP_ID',
      }}
      partnerCustomerDetails={{
        firstName: 'firstname',
        lastName: 'lastname',
        email: 'youremail@gmail.com',
        phoneNumber: '07011111111',
        bvn: '1111111111',
      }}
      pluginEnvironment={PluginEnvironment.Production}
      colors={{ PRIMARY: '#014345' }}
    />

Made with create-react-native-library

Keywords

FAQs

Package last updated on 19 Jun 2024

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