You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When requesting a survey through a call to sendEvent, the SDK will temporarily block the main thread till the survey is shown on screen. This is especially evident when the network is slow. I attach a video of a sample app running on an emulator (API 34, network set to UMTS/poor). Notice the loading spinner animation stopping.
From my testing, it seems that the freeze happens between the DISPLAYED event being fired and the survey being shown on the screen.
I am testing the 1.3.0 version of the SDK.
Here's a choreographer log when this happens:
2024-06-26 17:10:37.027 5844-5844 Choreographer com.example.iteratetest I Skipped 306 frames! The application may be doing too much work on its main thread.
The text was updated successfully, but these errors were encountered:
When requesting a survey through a call to
sendEvent
, the SDK will temporarily block the main thread till the survey is shown on screen. This is especially evident when the network is slow. I attach a video of a sample app running on an emulator (API 34, network set to UMTS/poor). Notice the loading spinner animation stopping.Screen.Recording.2024-06-26.at.17.10.28.mov
Here's the code for the sample app (I noticed the same behaviour in our production app which we are trying to integrate with the SDK).
From my testing, it seems that the freeze happens between the
DISPLAYED
event being fired and the survey being shown on the screen.I am testing the 1.3.0 version of the SDK.
Here's a choreographer log when this happens:
2024-06-26 17:10:37.027 5844-5844 Choreographer com.example.iteratetest I Skipped 306 frames! The application may be doing too much work on its main thread.
The text was updated successfully, but these errors were encountered: