facebook-sdk-for-unity
facebook-sdk-for-unity copied to clipboard
InstallReferrerUtil.kt com.facebook.internal.InstallReferrerUtil$tryConnectReferrerInfo
Checklist
- [x] I've updated to the latest released version of the SDK
- [x] I've searched for existing GitHub issues
- [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [x] I've read the Code of Conduct
- [x] This issue is not security related and can safely be disclosed publicly on GitHub
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]
version11, 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
similar ANR https://github.com/facebook/facebook-android-sdk/issues/1039
did you have any workarounds for this issue?
did you have any workarounds for this issue?
nope
Any updates on this? Getting exactly the same ANR on Play Console, not so rare.