Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Android Firebase Crashlytics reporting ANR's (Application Not Responsive) errors coming from LD RN SDK 6.2.0 #144

@fparhat-rbi

Description

@fparhat-rbi

Describe the bug
A clear and concise description of what the bug is.

  • We are successfully consuming the 6.2.0 SDK in our Expo RN application but crashlytics is reporting ANR errors for a variety of our android users. (See Logs)

To reproduce

  • Unknown

Expected behavior

  • ANR's should not be occurring from the Android SDK

Logs
If applicable, add any log output related to your problem.

image
image

java.lang.Object.wait (Native method)
java.util.concurrent.TimeUnit.timedWait (TimeUnit.java:353)
com.launchdarkly.sdk.android.LDAwaitFuture.get (LDFutures.java:144)
com.launchdarkly.sdk.android.LDClient.init (LDClient.java:196)
com.launchdarkly.reactnative.LaunchdarklyReactNativeClientModule$1.run (LaunchdarklyReactNativeClientModule.java:243)

Main thread (blocked)

com.launchdarkly.sdk.android.LDClient.onNetworkConnectivityChangeInstances (LDClient.java)
com.launchdarkly.sdk.android.ConnectivityReceiver.onReceive (ConnectivityReceiver.java:29)
android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args (LoadedApk.java:1806)

SDK version
6.2.0

Language version, developer tools
Package.json

    "launchdarkly-react-native-client-sdk": "6.2.0",
    "expo": "~45.0.0",
    "react": "17.0.2",
    "react-native": "0.68.2",

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