react-native-tapsell-plus

2.2.4 • Public • Published

TapsellPlusSDK-ReactNativePlugin npm version

react-native-tapsell-plus

Getting started

$ npm install react-native-tapsell-plus --save

If your react-native version is below 0.60, you need to link it as well:

$ react-native link react-native-tapsell-plus
Manual installation (Older react native versions)

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNTapsellPlusPackage; to the imports at the top of the file
  • Add new RNTapsellPlusPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-tapsell-plus'
    project(':react-native-tapsell-plus').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-tapsell-plus/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-tapsell-plus')
    

Usage

import RNTapsellPlus from 'react-native-tapsell-plus';

// TODO: What to do with the module?
RNTapsellPlus;

/react-native-tapsell-plus/

    Package Sidebar

    Install

    npm i react-native-tapsell-plus

    Weekly Downloads

    4

    Version

    2.2.4

    License

    Apache 2.0

    Unpacked Size

    14.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • mortezanedaei
    • tapsell
    • nacls
    • mrma95
    • vmoh.ir
    • fatteme
    • 4lisalehi
    • behrooz.fard
    • mahdi-malv