-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Camera Callbacks Not Returning On Main UI Thread #5810
Comments
@bleege Or might it be this bug you ran into #5836. I've created an activity to reproduce it, but the callbacks are always triggered on the main thread for me.
|
@ivovandongen Yep, this is an "error" that doesn't always occur. The background on this issue is that it was reported to us by a customer as impacting their development because they didn't feel they could rely on it always returning on the main UI Thread. They haven't communicated that they were experiencing the issues in #5721 or #5836 so the work that @incanus did on this in 3561783 might be enough to resolve this. Regardless, if what you've found is that those issues are the true root of this problem then we should definitely include their progress to track how done this bug is. Let's pick up the conversation from #5834 tomorrow with @incanus and go from there. 👍 |
@bleege I'd love some more information about their actual issue then. But, by posting the callback on the main looper we might introduce more subtle issues as we can't rely on the the state being in sync anymore. That's my main worry. |
I wondered about state as well. |
Capturing voice chat with @ivovandongen @incanus this morning on this topic. @ivovandongen said that during his research he was able to confirm that this issue was in existence in |
MapboxMap.animateCamera()
andMapboxMap.easeCamera()
are firing their Callbacks on the Map Thread and not the main UI Thread as the JavaDocs comments say.The text was updated successfully, but these errors were encountered: