wgltony / react-native-braintree-dropin-ui

React Native integration of Braintree Drop-in for IOS & ANDROID (Apple Pay, Google Pay, Paypal, Venmo, Credit Card)
MIT License
77 stars 103 forks source link

Android device doesnt complete the transaction, i am not receiving nonce #121

Open manos2864 opened 8 months ago

manos2864 commented 8 months ago

I am trying to complete a transaction from my app but i can't in android devices. I recently upgraded your package. In ios is working fine but in android not.

  1. Braintree actionsheet opens.
  2. I choose credit card,
  3. i put my number
  4. i click add card
  5. After that i put my otp password and then i am not receiving any data from BraintreeDropIn.show, it shows a spinner (no errors or warnings) and it goes back to my app screen. I can't get nonce.

In ios device i receive the nonce correctly.. Am i missing anything?

My react-native version is: 0.63.4 My react-native-braintree-dropin-ui is: 1.1.7 before was 1.1.2

Edit: I have added logs in this file -> RNBraintreeDropInModule.java into .show method but i never receive logs from setListener inside. I checked and i saw that i have clientToken and the launchDropIn is running but the .setListener is not.

pckz commented 6 months ago

hey hey @manos2864 could you solve this problem?