react-native-openupi
v0.1.6
Published
Deep linking for UPI app in Android
Downloads
3
Maintainers
Readme
react-native-openupi
Deep linking UPI for react-native in Android
Installation
npm install react-native-openupi
or using yarn
yarn add react-native-openupi
Usage
import Openupi from 'react-native-openupi';
// ...
//replace below param as per your requirement
Openupi.StartPayment(
'upi://pay?pa=[pa]&pn=[pn]&&tr=[orderID]&am=[amount]',
orderID
).then((data) => {
//resolve
console.log(data);
console.log(data.status , data.orderID + ': ' + data.message);
return;
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT