Replies: 1 comment 2 replies
-
Hey @erawhctim thinking back, it was mostly for convenience so merchants wouldn't have to worry about switching back to the main thread. I do feel that the current implementation is overly opinionated and we may want to alter this behavior in the future. We are in the process of migrating to Kotlin. Moving to coroutines would allow us to cleanly delegate the responsibility of thread scheduling to the caller. At the same time I am surprised that a I am concerned now that the |
Beta Was this translation helpful? Give feedback.
-
Not exactly a bug, per se, as it seems like very intentional behavior..... but it's caused some
NetworkOnMainThreadException
s that we've had to track down and debug through the SDK internals.Are the responses dispatched on main just for convenience? Or some other reason?
Beta Was this translation helpful? Give feedback.
All reactions