Closed florianPOLARSTEPS closed 5 months ago
Thanks @florianPOLARSTEPS, we're fixing this and making init main-safe, i'll ping you once we release the version with it
@florianPOLARSTEPS this and the other issue are fixed and released in the 1.2.0 version if you want to pick that up, thanks for the issues!
@msingleton Thanks for taking a look. We will upgrade in one of the upcoming releases and let you know if there are any more issues. 👍
Description.
When starting up the Iterate SDK we are seeing a large number of ANRs in our crash tracking setup.
Question
Is it safe to offload the initialization to another thread?
Improvement
As a developer I would expect threading logic to be handled inside the library. Or at least the documentation should point out that
Iterate.init()
should be called off the main thread unlike it is currently described in theApplication.onCreate()
directly.