Closed peternagy1332 closed 1 year ago
I've uploaded the repo, I hope it helps investingating the issue. I suggest taking a look at the last commit. Thank you!! https://github.com/peternagy1332/flutterbraintree
I've found the problem. The onActivityResult function in BraintreePaymentPlugin.java is called twice when I dismiss the drop in dialog and that time the activeResult field was null. I've created a PR with a temporary fix, please test it out and merge it. https://github.com/Pikaju/FlutterBraintree/pull/13
Hi! I've tried to set up the plugin, but when I dismiss the drop-in dialog, I get the exception in the title. The content of main.dart is the same as here: https://github.com/Pikaju/FlutterBraintree/blob/master/example/lib/main.dart
I've added only one dependency: flutter_braintree: ^0.5.3. By default it is an AndroidX application.
Flutter version: v1.13.6
app/build.gradle relevant part:
Full log:
AndroidManifest.xml
Thanks and regards, Peter