flutter-plugin
flutter-plugin copied to clipboard
Fixes the error where DataResult is called multiple times
We have a crash registered on our Crashlytics related to an issue in the Pay library. It's calling the result more than once, resulting in a crash from the lib.
Testing on the library, I was able to reproduce it:
The solution was to prevent calls for dataResult callback more than one time per instance.