Skip to content
Discussion options

You must be logged in to vote

I checked whether #6861's fix is the explanation, and I don't think it is. That issue was about the Android bridge queuing other plugin calls behind a running downloadFile, not about downloadFile's own throughput. And looking at Bridge.java on the current main branch, plugin calls are still dispatched through a single Handler backed by one HandlerThread (taskHandler), not a thread pool, so whatever fix landed for #6861 didn't change the fundamental threading model you'd expect to explain a 3x raw transfer speedup. I couldn't find anything in the Capacitor core or Android CHANGELOGs between 6.x and 8.x that touches the bridge's networking path either.

Given the Kotlin download loop itself …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chickengir1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants