flutter_stripe icon indicating copy to clipboard operation
flutter_stripe copied to clipboard

Crashes when going back from validating 3DS process

Open alextarrago opened this issue 1 year ago • 4 comments

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:

  1. When handlingNextAction (Validating 3DS process)
  2. Validating the process with Bank's app
  3. 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)

alextarrago avatar Jun 14 '23 18:06 alextarrago

Is this reproducible in debug mode? It looks like your crash report is from a released app, thus the scrambled class names

jonasbark avatar Jun 16 '23 11:06 jonasbark

No, since in debug we don't open the bank app for validating the 3DS process. Any clue?

alextarrago avatar Jun 16 '23 12:06 alextarrago

Why not? There are special test credit cards that do require 3DS

jonasbark avatar Jun 16 '23 12:06 jonasbark

Yes but they don't require to exit the current app and go back once the validation on the bank has been done.

alextarrago avatar Jun 16 '23 12:06 alextarrago

Cannot reproduce this anymore

remonh87 avatar Apr 14 '24 15:04 remonh87