Crash InvocationTargetException on Samsung Galaxy S10 (android 12)
See original GitHub issueHi,
A crash occurs on the Samsung Galaxy S10 in android 12 (8 differents users). If I believe the logs, it comes from a problem to loading the native webview libraries. I don’t know if you can do anything on your side to solve this issue or if only an intervention on the affected device can solve the problem.
This issue looks like this old one : https://github.com/react-native-webview/react-native-webview/issues/1060
Environment:
- OS: android 12
- react-native version: 0.67.4
- react-native-webview version: 11.8.2
Main log :
Fatal Exception: android.util.AndroidRuntimeException: java.lang.reflect.InvocationTargetException at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:363) at android.webkit.CookieManager.getInstance(CookieManager.java:50) at com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager(ForwardingCookieHandler.java:10) at com.facebook.react.modules.network.ForwardingCookieHandler.get(ForwardingCookieHandler.java) at com.facebook.react.modules.websocket.WebSocketModule.getCookie(WebSocketModule.java:16) at com.facebook.react.modules.websocket.WebSocketModule.connect(WebSocketModule.java:47) at java.lang.reflect.Method.invoke(Method.java) at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:148) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:147) at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:37) at java.lang.Thread.run(Thread.java:920)
Load log :
Caused by java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/~~konySwt1HDgqW5_LXRGBoQ==/com.google.android.webview-qlba5Tg1jkJRuOprPYZObQ==/lib/arm/libwebviewchromium.so" is 32-bit instead of 64-bit at java.lang.Runtime.loadLibrary0(Runtime.java:1077) at java.lang.Runtime.loadLibrary0(Runtime.java:998) at java.lang.System.loadLibrary(System.java:1656) at org.chromium.base.library_loader.b.g(b.java:816) at org.chromium.base.library_loader.b.i(b.java:696) at org.chromium.android_webview.AwBrowserProcess.h(AwBrowserProcess.java:680) at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:441) at com.android.webview.chromium.WebViewChromiumFactoryProviderForS.<init>(WebViewChromiumFactoryProviderForS.java:13) at com.android.webview.chromium.WebViewChromiumFactoryProviderForS.create(WebViewChromiumFactoryProviderForS.java:9) at java.lang.reflect.Method.invoke(Method.java) at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:355) at android.webkit.CookieManager.getInstance(CookieManager.java:50) at com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager(ForwardingCookieHandler.java:10) at com.facebook.react.modules.network.ForwardingCookieHandler.get(ForwardingCookieHandler.java) at com.facebook.react.modules.websocket.WebSocketModule.getCookie(WebSocketModule.java:16) at com.facebook.react.modules.websocket.WebSocketModule.connect(WebSocketModule.java:47) at java.lang.reflect.Method.invoke(Method.java) at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:148) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:147) at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:37) at java.lang.Thread.run(Thread.java:920)
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top GitHub Comments
set the style of WebView to opacity: 0.99
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically