capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
https://capacitor-community-stripe.netlify.app/
MIT License
192 stars 77 forks source link

`Stripeldentity.onVerificationFailed` Crash error for Android users #368

Open cjmisenas-stripe opened 1 month ago

cjmisenas-stripe commented 1 month ago

Platform

Describe the bug Seeing a frequent crash happen with the following stack trace for 5.4.2 on Android

Stripeldentity.onVerificationFailed
java.lang.NullPointerException - Attempt to invoke virtual method 'void com.getcapacitor. PluginCall.resolve(com.getcapacitor. JSObject) on a null object reference

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Usage Product If you adopt this plugin, please let us know which product you are using.

Product Name: Product URL : Using Function:

rdlabo commented 1 month ago

I checked with Demo and onVerificationFailed did not cause a Crash error. There seems to be another cause. Please give me a small reproduction code or step where the problem occurs.