RNInstallReferrerClient.java line 90
See original GitHub issueSummary
Version | ^8.4.5 |
Affected OS | Android |
OS Version | 11 |
Current behavior
main (native): tid=1 systid=32070
#00 pc 0xc6054 libc.so
#01 pc 0x82550 libc.so
#02 pc 0x54cb8 libbinder.so
#03 pc 0x55d24 libbinder.so
#04 pc 0x55a8c libbinder.so
#05 pc 0x4e130 libbinder.so
#06 pc 0x12880c libandroid_runtime.so
at android.os.BinderProxy.transactNative(Native method)
at android.os.BinderProxy.transact(BinderProxy.java:568)
at com.google.android.a.a.a(BaseProxy.java:5)
at com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.a(IGetInstallReferrerService.java:4)
at com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer(InstallReferrerClientImpl.java:9)
at java.lang.reflect.Method.invoke(Native method)
at com.learnium.RNDeviceInfo.RNInstallReferrerClient$InstallReferrerStateListenerProxy.onInstallReferrerSetupFinished(RNInstallReferrerClient.java:90)
at com.learnium.RNDeviceInfo.RNInstallReferrerClient$InstallReferrerStateListenerProxy.invoke(RNInstallReferrerClient.java:71)
at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
at com.android.installreferrer.api.InstallReferrerStateListener.onInstallReferrerSetupFinished(InstallReferrerStateListener.java)
at com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected(InstallReferrerClientImpl.java:7)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2165)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2197)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:264)
at android.app.ActivityThread.main(ActivityThread.java:8282)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
Expected behavior
Crash Free
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
RNInstallReferrerClient.java Fatal Exception: java.lang ...
Bug report Summary I am seeing many crash reports in firebase crashlytics with the below stack trace. I am unable to replicate this...
Read more >Android Analysis Report MetaMask.apk - Joe Sandbox
RNInstallReferrerClient $InstallReferrerStateListenerProxy;->onInstallReferrerSetupFinished:33, API Call: java.lang.reflect.Method.invoke.
Read more >RNInstallReferrerClient.java line 90 #1377 - bytemeta
I am not aware of how, exactly, any line of java code can trigger a native crash that is not a native bug,...
Read more >React Native App crashes on splash screen on debug mode
So now I start the metro server using npx react-native start and start debugging using npx react-native run-android and it crashes on startup....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the explanation, unfortunately, I don’t have this device and I’m not really familiar with Android development, so I made a patch, hope someone with good native experience will help
I am not aware of how, exactly, any line of java code can trigger a native crash that is not a native bug, and outside of the control of the module. It is my understanding that the nature of the java language certainly calls down to truly native (that is: C/C++/Rust/whatever) code but that if there is a crash in a .so file, then the native code is the problem - and we don’t control that.
If you are experiencing these crashes, are you calling the install referrer APIs? Stated differently: can you stop calling them, and it’s fine? Or is there no workaround at all?
No one else has reported this so I would start - if it was an urgent need - by simply commenting out those lines in the java code inside node_modules and using patch-package to make that work well in your project, while isolating (probably via stackoverflow) what is going on with oppo or vivo install referrer as their implementation appears to be crashing.
You should also triple-check all your dependencies are up to date (all the google play services, react-native etc etc)