-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIN Management - Method "retrievePinCode" seems to block the main thread #3499
Comments
@bellierjonathan can you share your |
@mshafrir-stripe I use an Observable from Rx created by
Then inside my |
I think I see the issue on our end, will verify. |
Oh and to give you more detail when I was using the SDK version On
to avoid the throw |
Previously requests were being fired on the main thread (`runBlocking`). Move requests to a background thread and dispatch results on main thread. Fixes #3499
I found the issue - it was on our end. Thanks for flagging! |
Previously requests were being fired on the main thread (`runBlocking`). Move requests to a background thread and dispatch results on main thread. Fixes #3499
Summary
When I'm using
retrievePin
fromIssuingCardPinService
the call from the Stripe SDK to Stripe API seems to block the main thread.What you suggest to avoid this? I tried to use Thread but not working.
Code to reproduce
Android version
11
SDK version
16.3.1
The text was updated successfully, but these errors were encountered: