-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Latest version 5.4.3 crashes on Android - HeadlessInAppWebView.dispose #1159
Comments
NOTE: This comment is auto-generated. Are you sure you have already searched for the same problem? Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem! If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue. In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding Following these steps can save you, me, and other people a lot of time, thanks! |
Android Java code of |
@jeromeDms just to be sure, could you post here the latest full logs of the crashes? Thanks. |
May be that the crash is happening to someone that still use old version of your app with |
Hi Let me summarize below : My app using 5.4.3 reported a lot of crashes in crashLytics : Stack trace of the first line :
Seeing those crashes, I urgently released another version using 5.4.2+1 (yesterday) : Stack trace of the first line :
The strange thing is that I'm able to reproduce the issue on a real physical device with Android 9 (using 5.4.3), and I'm not able to reproduce the crash on the same device using 5.4.2+1. All the above crashes are when the app is in the background (reported by crashLytics) |
The other issue I see, not related to .dispose() is the following (maybe you prefer it in another bug report)
|
Thanks! These logs should help! |
Released new version |
Great. Will test. |
fixed within the same commit! |
From the screenshot, I can see also crashes on |
Here they are : InAppBrowserActivity.java line 35
ChromeCustomTabsActivity.java line 5
HeadlessInAppWebViewManager.java
|
I just tested on simulator, Android, and the issue seems still there. When I press back button on the simulator, the crash occurs with the following logs :
|
I'm able to replicate the issue, finally! I'm working on it again, sorry! thanks for the reports! |
Thanks to you ! |
Released new version |
Great Did you also solve the other bugs I mentioned ? |
Yes, I have added |
Seems to work ! |
Thanks to you for your reports! |
@jeromeDms Also, I would be happy if you wanted to add your app to the official Showcase of the plugin 😄 |
@pichillilorenzo
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
^5.4.2+1 seems to solve the issue.
But 5.4.3 has the same issue.
Normal ?
Originally posted by @jeromeDms in #1155 (comment)
The text was updated successfully, but these errors were encountered: