exponea / exponea-ios-sdk

MIT License
19 stars 27 forks source link

Blocking calls on main thread #27

Closed mrublev closed 1 year ago

mrublev commented 3 years ago

Hi,

There is an issue #15 which is closed, but from what I see the problem still exists. I'm using latest version of SDK 2.11.0. And there are some calls being made by Exponea which make UI not responsive for small periods right after app launch. Attaching screenshot with a stack trace.

Is there a way to reduce that influence on the main thread at least at startup?

Igi4 commented 3 years ago

Hi @mrublev, sorry for later reply. We'll take a look at this more thoroughly and I'll let you know if there is anything else we could do about it. We surely want to do as little work as possible on the main thread at startup.

adam1929 commented 1 year ago

Hi @mrublev we added this issue into our plans. We are going to change internal architecture to fully support app API as Async processes, but it leads to major changes. For your case, please try to use SDK in background thread yourself for now. Thank you