android-branch-deep-linking-attribution icon indicating copy to clipboard operation
android-branch-deep-linking-attribution copied to clipboard

ANR in SystemObserver.getLocalIPAddress (SystemObserver.java:471)

Open mmartinmo opened this issue 2 years ago • 1 comments

Hi, we use io.branch.sdk.android:library:5.2.0 in our Android app and there have been several reported ANR issues originating in your library.

image

image image

Let me know if you need any further info investigating the issue and when can we expect a fix. Thank you!

Edit: Is it allowed to call this init

Branch.sessionBuilder(this).withCallback(branchReferralInitListener).withData(getIntent() != null ? getIntent().getData() : null).init();

from other thread than main thread? That would solve the issue.

mmartinmo avatar Aug 13 '22 15:08 mmartinmo

Hi, do you have any reaction? Or can you at least share if calling init() from non-UI thread is allowed?

mmartinmo avatar Sep 29 '22 16:09 mmartinmo