App42 blocks main thread after application becomes active

+1 vote

Hello!

The app is freezing every time it becomes active. It seems that it synchronizing the data on the main thread and locks it.
 
Sometimes during this process splash screen from our app is visible, but we have seen random screen from our app instead of splash and it also continues for ~10-20 seconds. (See video - https://www.dropbox.com/s/aque3itfprr25c2/IMG_0314.MOV?dl=0)
 
The worst case is when a user is prompted with any iOS permission (for example 'Camera permission') and after confirming he need to wait ~10-20 seconds before app will become responsible.  (See video - https://www.dropbox.com/s/zlff52u0h294uxg/MUSEUM_FREEZE.mov?dl=0)
 
For testing I've created a new project and have linked 3.5.5.3/AsyncAPI/Shephertz_App42_iOS_API.framework and I have the same issue.
 
Then I've tried to disable all tracking services, but it doesn't help:
 
    [App42API setOfflineStorage:NO];
    [App42API enableCrashEventHandler:NO];
    [App42API enableAppStateEventTracking:NO];
    [App42API enableAppAliveTracking:NO];
    [App42API enableEventService:NO];
    [App42API enableApp42Trace:NO];
 
All these issues are very critical for our application and UX and we hope that you can help us to improve the performance.
Thank you!
asked Feb 6, 2017 in iOS by den.dovgan (15 points)

1 Answer

0 votes
Hi,

I have forwarded this to our development team and will update you ASAP.

Meanwhile, could you please share your sample project in which you are getting this issue? It will help to understand the problem.

Thanks.
answered Feb 7, 2017 by rajeev.etc (1,660 points)
It is a link to the sample project, check please.

https://www.dropbox.com/s/p77mjg50st6jasz/app42-test.zip?dl=0
Any news with this bug?
I have changed that call from Sync to Async in the SDK. Now it will not block the main thread. Please download the modified SDK from here( https://www.dropbox.com/s/r1g4cqnnxy7etes/Shephertz_App42_iOS_API.framework.zip?dl=0 ).
Let me know if you have any queries.
Thanks, now it works as we wanted!
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...