Skip to content

Commit

Permalink
readme update, disable credit card bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
wgltony committed Sep 1, 2023
1 parent 0a8bb8d commit 6dc32cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,21 @@ IOS
```bash
npm install react-native-braintree-dropin-ui --save

OR

yarn add react-native-braintree-dropin-ui

cd ./ios
pod install
```

Android
```bash
npm install react-native-braintree-dropin-ui --save

OR

yarn add react-native-braintree-dropin-u
```

## Configurate Payment Method(For ALL RN VERSIONS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void show(final ReadableMap options, final Promise promise) {
}

if(options.hasKey("cardDisabled")) {
dropInRequest.setCardDisabled(true);
dropInRequest.setCardDisabled(options.getBoolean("cardDisabled"));
}

if (options.hasKey("threeDSecure")) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-braintree-dropin-ui",
"version": "1.1.6",
"version": "1.1.7",
"description": "> React Native integration of Braintree Drop-in IOS V4 ANDROID V2 (Apple Pay &Android Pay Enabled)",
"main": "index.js",
"dependencies": {},
Expand Down

0 comments on commit 6dc32cd

Please sign in to comment.