react-native-postpay-widget
Advanced tools
Weekly downloads
Readme
Postpay SDK for React Native, this library supports both iOS & Android
This library uses react-native-webview to render webview. Therefore this library needs to be installed AND linked into your project to work.
Other than the above dependency this library uses pure javascript and supports both iOS and Android
You can check it out react-native-postpay-widget-example
$ npm install react-native-postpay-widget --save
$ yarn add react-native-postpay-widget
import { PostpayWidget } from 'react-native-postpay-widget';
<PostpayWidget
merchantId="id_c56705f1a9304e8c8a16e1da98ec8734"
widgetType='product'
amount="20050"
currency="AED"
locale="en"
widgetUrl="https://widgets-dev.postpay.io"
numInstalments={2}
/>
type PostpayWidgetProps = {
merchantId: Number,
widgetType: 'payment-summary' | 'product',
locale?: 'en' | 'ar',
widgetUrl?: String,
amount: Number,
currency: String,
closeButton?: Boolean,
numInstalments?: Number,
style?: StyleProp<ViewStyle>,
};
This module is MIT licensed
FAQs
React Native Postpay Widget
The npm package react-native-postpay-widget receives a total of 847 weekly downloads. As such, react-native-postpay-widget popularity was classified as not popular.
We found that react-native-postpay-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.