Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InstallReferrerUtil.kt com.facebook.internal.InstallReferrerUtil$tryConnectReferrerInfo #672

Open
5 tasks done
dreamcodestudio opened this issue Feb 9, 2023 · 4 comments
Labels

Comments

@dreamcodestudio
Copy link

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

  • Unity Editor Version: 2020.3.41f1
  • Unity SDK Version: 15.1.0
  • Installation Platform & Version: [Android] version 11, 12, 13

Goals

Prevent ANR events from com.facebook.internal.InstallReferrerUtil

Expected Results

com.android.installreferrer not produce ANRs

Actual Results

main (native):tid=1 systid=26574 
#00 pc 0xc54a4 libc.so (__ioctl + 4)
#01 pc 0x81db8 libc.so (ioctl + 156)
#02 pc 0x54a34 libbinder.so (android::IPCThreadState::talkWithDriver(bool) + 300)
#03 pc 0x55a78 libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*) + 60)
#04 pc 0x557e8 libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 184)
#05 pc 0x4e098 libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 312)
#06 pc 0x128b2c libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int) + 316)
       at android.os.BinderProxy.transactNative(Native method)
       at android.os.BinderProxy.transact(BinderProxy.java:568)
       at com.google.android.a.a.b(BaseProxy.java:2)
       at com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.c(IGetInstallReferrerService.java:3)
       at com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer(InstallReferrerClientImpl.java:5)
       at com.facebook.internal.InstallReferrerUtil$tryConnectReferrerInfo$installReferrerStateListener$1.onInstallReferrerSetupFinished(InstallReferrerUtil.kt:41)
       at com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected(InstallReferrerClientImpl.java:4)
       at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2147)
       at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2179)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:263)
       at android.app.ActivityThread.main(ActivityThread.java:8292)
       at java.lang.reflect.Method.invoke(Native method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)

Steps to Reproduce

No direct reproduce, only Firebase logs

@dreamcodestudio
Copy link
Author

similar ANR facebook/facebook-android-sdk#1039

@minnleee
Copy link

did you have any workarounds for this issue?

@dreamcodestudio
Copy link
Author

did you have any workarounds for this issue?

nope

@burak-cypher
Copy link

Any updates on this? Getting exactly the same ANR on Play Console, not so rare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants