pikaju / flutter-braintree

Flutter plugin that wraps the native Braintree SDKs. Enables payments with credit cards, PayPal, Google Pay and more.
https://pub.dev/packages/flutter_braintree
MIT License
64 stars 119 forks source link

playstore issue (Vulnerability in plugin) #43

Closed Tharaka8999 closed 3 years ago

Tharaka8999 commented 3 years ago

when i submit app to playstore they are reject app by given error (Your app(s) are using an unsafe implementation of the HostnameVerifier interface.) when i remove this plugin from project playstore accept my project

dhpl commented 3 years ago

I also had the same problem, do you have a fix?

Tharaka8999 commented 3 years ago

nope

On Sun, 1 Nov 2020 at 06:43, dhpl notifications@github.com wrote:

I also had the same problem, do you have a fix?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pikaju/flutter-braintree/issues/43#issuecomment-720011146, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD234WLIL6XV5TTO6J5ER53SNSY5HANCNFSM4SS3KSCQ .

dhpl commented 3 years ago

I have fixed it, you need to update build gradle braintree

dependencies {
  implementation 'com.braintreepayments.api:drop-in:5.0.1'
}
Tharaka8999 commented 3 years ago

thank you very much

On Tue, 3 Nov 2020 at 17:46, dhpl notifications@github.com wrote:

I have fixed it, you need to update build gradle braintree

dependencies { implementation 'com.braintreepayments.api:drop-in:5.0.1' }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pikaju/flutter-braintree/issues/43#issuecomment-721081494, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD234WJWD6QMNADXDHU77WTSN7YCTANCNFSM4SS3KSCQ .

matthewp672261 commented 3 years ago

@dhpl did you edit the package directly or put this I the app's build.gradle? Thanks for your help!

dhpl commented 3 years ago

@matthewp672261 You can use this fork, I have updated. flutter_braintree: git: url: https://github.com/dhpl/flutter-braintree.git ref: master

pikaju commented 3 years ago

Hey, sorry for the wait, I updated the Braintree dependency in version 1.1.0+1.

DriftingShadows commented 3 years ago

@dhpl hey man sorry to bother. I tried using your fork but getting a merger fail error when trying to build. Any ideas on that?