You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Seemingly due to commit ad7e79e, applications which embed ads and try to change the data directory suffix fail with a IllegalStateException due to WebView being already initialised.
Impacted application in my case is AquaMail (I have a lifetime Pro license, but it seems to still try to load the ad module anyways)
To Reproduce
Steps to reproduce the behavior:
Open an application that tries to change the directory suffix
Observe it crash
Expected behavior
Application should be able to initialize the WebView on its own, avoiding the issue at hand.
Logs
time: 1735961600817
msg: java.lang.IllegalStateException: Can't set data directory suffix: WebView already initialized
stacktrace: java.lang.RuntimeException: Unable to create application org.kman.AquaMail.core.AquaMailApplication: java.lang.IllegalStateException: Can't set data directory suffix: WebView already initialized
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7592)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2449)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8787)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:594)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:871)
Caused by: java.lang.IllegalStateException: Can't set data directory suffix: WebView already initialized
at android.webkit.WebViewFactory.setDataDirectorySuffix(WebViewFactory.java:240)
at android.webkit.WebView.setDataDirectorySuffix(WebView.java:2069)
at com.microsoft.identity.common.internal.ui.webview.c.a(SourceFile:1)
at org.kman.AquaMail.core.AquaMailApplication.b(SourceFile:41)
at org.kman.AquaMail.core.AquaMailApplication.onCreate(SourceFile:13)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1392)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7586)
... 9 more
System
Android Version: 15
Custom ROM: crDroid 11.1-BETA
Additional context
Releases of microG before the seemingly offending commit work as it should.
The text was updated successfully, but these errors were encountered:
I discovered when I updated to GmsCore on a device running A10, that Aquamail started crashing continuously. I was forced to revert to 0.3.5 to stop the constant crashing.
However I'm using an older version of Aquamail on that device - 1.47.0, which was apparently installed in 2023-10.
So I guess I will be confirming this bug unless that older version does not use Webview in the same way.
Describe the bug
Seemingly due to commit ad7e79e, applications which embed ads and try to change the data directory suffix fail with a IllegalStateException due to WebView being already initialised.
Impacted application in my case is AquaMail (I have a lifetime Pro license, but it seems to still try to load the ad module anyways)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Application should be able to initialize the WebView on its own, avoiding the issue at hand.
Logs
System
Android Version: 15
Custom ROM: crDroid 11.1-BETA
Additional context
Releases of microG before the seemingly offending commit work as it should.
The text was updated successfully, but these errors were encountered: