flutter_stripe
flutter_stripe copied to clipboard
Crashes when going back from validating 3DS process
Describe the bug When going back from validating the 3DS process we get:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.XXX.XXX/com.XXX.XXX.MainActivity}: androidx.fragment.app.Fragment$k: Unable to instantiate fragment g8.o0: could not find Fragment constructor
To Reproduce Steps to reproduce the behavior:
- When handlingNextAction (Validating 3DS process)
- Validating the process with Bank's app
- Going back to the app, crashes.
Expected behavior To proceed with the validation and not to crash.
Smartphone / tablet
- Device: Real Android devices on release (last library version)
Is this reproducible in debug mode? It looks like your crash report is from a released app, thus the scrambled class names
No, since in debug we don't open the bank app for validating the 3DS process. Any clue?
Why not? There are special test credit cards that do require 3DS
Yes but they don't require to exit the current app and go back once the validation on the bank has been done.
Cannot reproduce this anymore