Open baole opened 7 years ago
@jpwsutton,Hi, we are also getting ANR associated with this, specially if topic messaging frequency is 1 sec or less. The UI will freeze up. Is there an ETA on this fix? Thanks
we also encountered the same issue. Do you have any solutions?
My sample:
/**
* 处理收到消息的线程池
* @<code> messageArrivedExecutor.submit(() -> messageArrivedAction(data)); </code>
*/
ExecutorService messageArrivedExecutor = Executors.newSingleThreadExecutor();
in MqttAndroidClient.java onReceive(...)
I've got the same issue. How do I resolve it?
Please fill out the form below before submitting, thank you!
__Android API Version Bug Seen on:
__Android Version Bug Seen on:Android 4.x
Please also check that if you have found the bug in the Release version (1.1.1) that you check that it also exists in the Snapshot (1.1.2-SNAPSHOT) before raising a bug.
Description of Bug:
This happened to our app on Play store and ANR reported by Play store
Console Log output (if available):
Input dispatching timed out (Waiting because the touched window has not finished processing the input events that were previously delivered to it.)
Is there anything wrong that MQTT runs on main/UI thread?