uxcam / react-native-ux-cam

51 stars 10 forks source link

[Android] - ANR when app in background #109

Closed onmotion closed 10 months ago

onmotion commented 11 months ago

We have observed periodic ANR errors occurring when the application transitions to the background.

Confirmed on react-native-ux-cam@5.4.10

image

DFDIEGOH commented 10 months ago

Hi @onmotion - Diego here from UXCam, would it be possible to upgrade to the latest version of the UXCam SDK, version 5.4.12 and check if you are getting the same result?

onmotion commented 10 months ago

Hi @onmotion - Diego here from UXCam, would it be possible to upgrade to the latest version of the UXCam SDK, version 5.4.12 and check if you are getting the same result?

sure, I'll upgrade it for the next release

Bishwash-uxcam commented 10 months ago

Hi, @onmotion - What is the value of timeout-interval-millis set for Sentry? Is there any common platform or device where this is happening based on Sentry data?

onmotion commented 10 months ago

Hi @Bishwash-uxcam, a default I guess. Cannot found any correlation, OnePlus, OPPO, Infinix, Samsung... But now I look at a stacktrace and nothing related to UXCam there. So probably it's not relevant issue

Screenshot 2023-11-03 at 10 16 34
Bishwash-uxcam commented 10 months ago

Thanks, @onmotion for the confirmation. We've profiled the main thread usages and found no ANRs. Sentry's default threshold of 5 seconds is much higher than what we regularly test. We'll close this ticket for now, but feel free to reach out if you encounter any related issues in the future.