Skip to content

ANR occurs when calling RemoteConfig.getValue() #507

@Thewhitelight

Description

@Thewhitelight
tid=1 systid=18230 | waiting to lock <0x0f179d07> (ly.count.android.sdk.Countly) held by thread 140
trigger ANR
ly.count.android.sdk.ModuleRemoteConfig$RemoteConfig.getValue (ModuleRemoteConfig.java:728)
***.RemoteConfigUtils.getConfig (RemoteConfigUtils.kt:135)

It seems that getValue() in Countly’s RemoteConfig is blocking the main thread while waiting for a lock, which eventually causes the ANR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions