-
-
Notifications
You must be signed in to change notification settings - Fork 473
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
ServiceWorker mgmt seems instable #3878
Comments
@kelson42 This crash is related to SDK itself, I had shared this crash with Webkit. But one thing is strange we are currently not supporting Android 14 but in the crash, it shows that there is an error on the Android 14 device. Currently, we are not using the latest webkit dependency that can support Android 14, but we have a ticket for supporting the Android 14. However, we are introducing the zimit 2.0 which does not have the service worker so this implementation will be removed. Also, If we upgrade to the Android 14 then we will definitely upgrade the webkit dependencies that support the Android 14. Exception java.lang.ExceptionInInitializerError:
at androidx.webkit.ServiceWorkerControllerCompat.getInstance (ServiceWorkerControllerCompat.java:64)
at org.kiwix.kiwixmobile.core.ServiceWorkerInitialiser.<init> (ServiceWorkerInitialiser.java:32)
at org.kiwix.kiwixmobile.core.di.components.DaggerCoreComponent$CoreComponentImpl.serviceWorkerInitialiser (DaggerCoreComponent.java:655)
at org.kiwix.kiwixmobile.core.di.components.DaggerCoreComponent$CoreComponentImpl.injectCoreApp (DaggerCoreComponent.java:914)
at org.kiwix.kiwixmobile.core.di.components.DaggerCoreComponent$CoreComponentImpl.inject (DaggerCoreComponent.java:867)
at org.kiwix.kiwixmobile.core.CoreApp.onCreate (CoreApp.kt:85)
at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1266)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7614)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2400)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8757)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
Caused by java.lang.RuntimeException:
at org.chromium.android_webview.AwDataDirLock.b (chromium-TrichromeWebViewGoogle6432.aab-stable-636717933:201)
at org.chromium.android_webview.AwBrowserProcess.j (chromium-TrichromeWebViewGoogle6432.aab-stable-636717933:16)
at com.android.webview.chromium.L.d (chromium-TrichromeWebViewGoogle6432.aab-stable-636717933:203)
at com.android.webview.chromium.L.b (chromium-TrichromeWebViewGoogle6432.aab-stable-636717933:42)
at com.android.webview.chromium.WebViewChromiumFactoryProvider.getServiceWorkerController (chromium-TrichromeWebViewGoogle6432.aab-stable-636717933:22)
at android.webkit.ServiceWorkerController.getInstance (ServiceWorkerController.java:57)
at androidx.webkit.internal.ApiHelperForN.getServiceWorkerControllerInstance (ApiHelperForN.java:60)
at androidx.webkit.internal.ServiceWorkerControllerImpl.<init> (ServiceWorkerControllerImpl.java:44)
at androidx.webkit.ServiceWorkerControllerCompat$LAZY_HOLDER.<clinit> (ServiceWorkerControllerCompat.java:68) |
why we don't support latest webkit dependency right now? |
@kelson42 Due to our maximum SDK version. The current maximum SDK version is 33(Android 13), and the latest WebKit version requires a higher gradle version and the higher grade version needs a maximum SDK version of 34. |
@MohitMaliFtechiz OK, seems not impacting and straight like you describe it. Please do to fix that bug. |
This is the priority to fix, too many crash reports on the PlayStore console! |
@Kelson I have placed a fix for the |
The text was updated successfully, but these errors were encountered: