lschmierer / android_play_install_referrer

A Flutter plugin for the Android Play Install Referrer API.
BSD 2-Clause "Simplified" License
21 stars 21 forks source link

android.os.DeadObjectException found on crashalaytics #13

Closed chris-joseph closed 3 years ago

chris-joseph commented 3 years ago

Fatal Exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:506) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

caused by java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

Caused by android.os.DeadObjectException at android.os.BinderProxy.transactNative(BinderProxy.java) at android.os.BinderProxy.transact(BinderProxy.java:575) at com.google.android.a.a.a(a.java:8) at com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.a(IGetInstallReferrerService.java:7) at com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer(InstallReferrerClientImpl.java:26) at de.lschmierer.android_play_install_referrer.AndroidPlayInstallReferrerPlugin$getInstallReferrer$1.a(AndroidPlayInstallReferrerPlugin.java:38) at com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected(InstallReferrerClientImpl.java:25) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2067) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2099) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8107) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

https://drive.google.com/file/d/1U1QjgoMl9yknxeG2Hi__kbSIWGySOyEv/view?usp=sharing

lschmierer commented 3 years ago

This seems to be an issue within Android or Google's Install Referrer library. Not directly related with this plugin.

Can you provide a minimal example, favorably in a Git repository?

geek2driod commented 3 years ago

I am also facing the same issue.

lschmierer commented 3 years ago

Im gonna close this for now, as you were not able to provide additional information.

slorop41314 commented 3 years ago

Also facing this issue.

Screen Shot 2021-07-19 at 08 56 19