android-branch-deep-linking-attribution
android-branch-deep-linking-attribution copied to clipboard
Possible ANR during initializing session.
Dependecy Used:
api('io.branch.sdk.android:library:4.3.2') {
exclude module: 'answers-shim'
}
Stack Trace:
at android.telephony.TelephonyManager.getNetworkOperatorName (TelephonyManager.java:1537)
at io.branch.referral.SystemObserver.getCarrier (SystemObserver.java:321)
at io.branch.referral.DeviceInfo.maybeAddTuneFields (DeviceInfo.java:240)
at io.branch.referral.DeviceInfo.updateRequestWithV1Params (DeviceInfo.java:98)
at io.branch.referral.ServerRequest.setPost (ServerRequest.java:187)
at io.branch.referral.ServerRequestInitSession.setPost (ServerRequestInitSession.java:43)
at io.branch.referral.ServerRequestRegisterOpen.<init> (ServerRequestRegisterOpen.java:32)
at io.branch.referral.Branch.getInstallOrOpenRequest (Branch.java:2666)
at io.branch.referral.Branch.initializeSession (Branch.java:2566)
at io.branch.referral.Branch.initUserSessionInternal (Branch.java:1430)
at io.branch.referral.Branch.initSession (Branch.java:1099)
This is a sync call causing ANR. severity is low by the way. Any suggestions.
Hey @mwshubham
Are you still facing this issue? Could you provide any additional information to help us reproduce? At first glance, the common denominator could be a poor internet connection.
Thanks! Justin
Hi Justin, Thanks for your reply. This thread is a year old and I am not working on this project. Thus I am not able to share further details on this. Also, a Poor Internet connection should not block the application main thread, IMO.