Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #15 from BohdanRybakEk/master
Browse files Browse the repository at this point in the history
Add proguard rules for cardinalcommerce to readme
  • Loading branch information
vasylnahuliak authored Sep 8, 2022
2 parents a6859d3 + 9c65018 commit abea632
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ Also, add this intent-filter to your main activity in `AndroidManifest.xml`
```
**NOTE: Card payments does not work on rooted devices and Android Emulators**

If your project uses Progurad, add the following lines into `proguard-rules.pro` file
```
-keep class com.cardinalcommerce.dependencies.internal.bouncycastle.**
-keep class com.cardinalcommerce.dependencies.internal.nimbusds.**
-keep class com.cardinalcommerce.shared.**
```

## iOS Specific
```bash
cd ios
Expand Down Expand Up @@ -191,4 +198,4 @@ RNBraintree.runGooglePay({
})
.then(result => console.log(result))
.catch((error) => console.log(error));
```
```

0 comments on commit abea632

Please sign in to comment.