-
Notifications
You must be signed in to change notification settings - Fork 645
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
[BUG] CustomerSheet and CustomerAdapter.create - StrictMode policy violation: android.os.strictmode.NetworkViolation #9118
Comments
any comments? |
2 weeks and no action... |
Hey @nicolasjafelle-latch, thanks for reporting and apologies for the delay. We've created a ticket to fix this and will try to get a fix out as soon as our schedule allows. |
Hey @tjclawson-stripe thanks for the reply!! Just to double check again that means is something actually you are aware of? let me know if you need some help to test it as I can easily update the SDK to any build you need. 💪 |
We released a new version yesterday that I think fixes this issue. Could you please try it? If it doesn't work, could you please provide a sample to reproduce? |
@jaynewstrom-stripe will do. I have to do some adjustment as I tried to update to latest SDK build and it looks something changed. Need to gain some time with my implementation. I'll keep you updated! |
Please reopen if you can still reproduce this. |
Summary
When enable StrictMode Stripe SDK internally is Violating Network operations on Main Thread
Code to reproduce
Wrapping the
CustomerAdapter
and providesephemeral key
,customer id
, andclient secret
after initialize withPaymentConfiguration.init(context, publishableKey)
Android version
All
Impacted devices
Emulator with SDK 33
Installation method
via Gradle dependency
Dependency Versions
kotlin: 1.9.22
stripe-android: "20.48.5"
Android Gradle Plugin: 8.3.0
Gradle: Gradle 8.4
SDK classes
Other information
Logcat attached:
The text was updated successfully, but these errors were encountered: