@blusalt-sdk/react-native-mposplugin
v0.1.3
Published
MPOS SDK
Downloads
2
Readme
react-native-posplugin
POS SDK (Android Only)
Installation
npm install react-native-mposplugin
Android Setup
#Create a github.properties file in the root folder of android. Path should be like below: E.g. "myReactApp/android/github.properties"
# Add the following in github.properties:
USERNAME_GITHUB=MyUsernameOnGithub
TOKEN_GITHUB=TokenFromGithubClassicToken
Usage
import { startMPosSDK } from 'react-native-mposplugin';
// ...
startMPosSDK(apiKey,(responseJson)=>{
console.log(responseJson);
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library