react-native-matm-sdk
v0.1.1
Published
beta testing
Downloads
13
Readme
react-native-matm-sdk
MATM SDK package
npm
https://www.npmjs.com/package/react-native-matm-sdk
Installation
npm install react-native-matm-sdk
or
yarn add react-native-matm-sdk
Setup
android/build.gradle
repositories {
...
maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/'}
}
android/app/build.gradle
android {
...
configurations{
all*.exclude module: 'bcprov-jdk15on'
}
}
repositories {
...
google()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/' }
...
}
dependencies {
implementation fileTree(include: ['*.jar','*.aar'], dir: '../../node_modules/react-native-matm-sdk/android/libs')
...
}
Usage
import { cashWithdrawl } from 'react-native-matm-sdk';
// ...
const result = await cashWithdrawl(
merchantId,
password,
amount,
remarks,
mobile,
transactionId,
superMerchantId,
IMEI,
lat,
lng
);
License
MIT
Made with create-react-native-library