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

Commit

Permalink
Fix Issue #18 (#23)
Browse files Browse the repository at this point in the history
* - init gradle demon

* - upgrade play services version to 10.0.1

* - change play services version to 10.+

* - remove gradle demon

* - add Troubleshooting section to readme , with info about thiis issue

* - correcting readme
  • Loading branch information
fAns1k authored and cybergrind committed Jan 27, 2017
1 parent afe4dce commit 2acc3f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ PUBLISHABLE_KEY=<...> MERCHANT_ID=<...> npm run ci
* `npm run test:android` - for Android
* `npm run test` - for both iOS and Android

#### Troubleshooting
## Troubleshooting

#### Tests

You might encounter the following error while trying to run tests:

Expand All @@ -507,6 +509,12 @@ You can fix it by installing `Carthage`:
```bash
brew install carthage
```
#### Android

* Using higher than [ours version](https://github.com/tipsi/tipsi-stripe/blob/master/android/build.gradle#L26) of Google Play Services in your project might encourage [an error](https://github.com/tipsi/tipsi-stripe/issues/18):
`NoClassDefFoundError: com.google.android.gms.wallet.MaskedWalletRequest`

We have fixed this issue, but if you somehow facing this bug again - please, create an issue or a pull request and we will take another look.

## Example

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.facebook.react:react-native:+'
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.google.android.gms:play-services-wallet:9.6.1'
compile 'com.google.android.gms:play-services-wallet:10.+'
compile 'com.stripe:stripe-android:1.+'
compile 'com.github.thefuntasty:CreditCardEntry:1.4.8.4'
}

0 comments on commit 2acc3f8

Please sign in to comment.