omnipay-reactnative-sdk 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ import { OmnipayProvider, useOmnipay } from 'omnipay-reactnative-sdk';
|
|
|
64
64
|
{/* the rest of your app */}
|
|
65
65
|
</OmnipayProvider>;
|
|
66
66
|
|
|
67
|
-
// import useOmnipay hook in the component you need to show the bills sdk in
|
|
67
|
+
// import useOmnipay hook in the component you need to show the bills or wallet sdk in
|
|
68
68
|
const { initiateBills, initiateWallet } = useOmnipay();
|
|
69
69
|
|
|
70
70
|
function onBillsClosed() {
|
|
@@ -90,17 +90,16 @@ initiateWallet({
|
|
|
90
90
|
|
|
91
91
|
### Properties
|
|
92
92
|
|
|
93
|
-
| Name
|
|
94
|
-
|
|
|
95
|
-
| color
|
|
96
|
-
| env
|
|
97
|
-
| phoneNumber
|
|
98
|
-
| publicKey
|
|
99
|
-
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
|
104
|
-
|
|
|
105
|
-
|
|
|
106
|
-
| usesTransfer | Boolean| whether to transfer shortcut in wallet view |
|
|
93
|
+
| Name | Type | Description |
|
|
94
|
+
| --------------- | -------- | -------------------------------------------------------- |
|
|
95
|
+
| color | String | color of primary buttons and links |
|
|
96
|
+
| env | String | dev or prod |
|
|
97
|
+
| phoneNumber | String | phone number of the customer |
|
|
98
|
+
| publicKey | String | public key of the company on omnipay |
|
|
99
|
+
| onClose | Function | this is used to notify you when the sdk closes |
|
|
100
|
+
| usesAirtimeData | Boolean | whether to show airtime and data shortcut in wallet view |
|
|
101
|
+
| usesBills | Boolean | whether to show bills shortcut in wallet view |
|
|
102
|
+
| usesPaylater | Boolean | whether to paylater tab in wallet view |
|
|
103
|
+
| usesPromo | Boolean | whether to show promo tab in wallet view |
|
|
104
|
+
| usesPos | Boolean | whether to pos shortcur in wallet view |
|
|
105
|
+
| usesTransfer | Boolean | whether to transfer shortcut in wallet view |
|