Skip to content

Commit

Permalink
Merge pull request wgltony#76 from bpsourav21/master
Browse files Browse the repository at this point in the history
Fix for `Problems reading data from Binary store` and fix for google play app rejection
  • Loading branch information
wgltony authored Sep 18, 2021
2 parents dbc9b01 + 7191b89 commit 41bbeb8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,13 @@ BraintreeDropIn.show({
boldFontFamily: 'Averta-Semibold',
})
```

### Potential Fix

This version contains updated BraintreeDropIn 5.+. BraintreeDropIn 5.0.2 contains some security fixes that resolves Play store rejection fix. Read more -

Unsafe implementation of the HostnameVerifier interface - vulnerability ( https://github.com/braintree/braintree-android-drop-in/issues/208 )

[1]: http://guides.cocoapods.org/using/using-cocoapods.html
[2]: https://github.com/braintree/braintree-ios-drop-in
[3]: https://github.com/braintree/braintree-android-drop-in
Expand Down
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ dependencies {
implementation 'com.braintreepayments.api:google-payment:3.2.0'
implementation 'com.google.android.gms:play-services-wallet:16.0.1'
implementation 'com.braintreepayments.api:data-collector:2.+'
implementation 'com.braintreepayments.api:drop-in:4.+'
implementation 'com.braintreepayments.api:drop-in:5.+'
implementation 'com.facebook.react:react-native:+'
}

// https://developers.braintreepayments.com/guides/3d-secure/migration/android/v3
rootProject.allprojects {
repositories {
maven {
url "https://cardinalcommerce.bintray.com/android"
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
credentials {
username 'braintree-team-sdk@cardinalcommerce'
password '220cc9476025679c4e5c843666c27d97cfb0f951'
username 'braintree_team_sdk'
password 'AKCp8jQcoDy2hxSWhDAUQKXLDPDx6NYRkqrgFLRc3qDrayg6rrCbJpsKKyMwaykVL8FWusJpp'
}
}
}
Expand Down

0 comments on commit 41bbeb8

Please sign in to comment.