-
Notifications
You must be signed in to change notification settings - Fork 62
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
Crashes with Chrome 86+ on Android #124
Comments
I added the below code in PDFGenerator.java
I just destroyed the webView |
My approach is/was to destroy the actual instance once the |
^^ yea thats very much valid. I destroyed it in onFinish . |
Hello. Is this fix released? This problem fits the symptoms my users are reporting - and which I can replicate with a simple Hello World payload using type: 'base64' . Every second attempt to generate a PDF crashes the entire App. I tried installing 2.2.0 but a.) it didn't solve the problem and b.) the package version is still listed as 2.1.1 - see plugin.xml in pdf-generator-2.2.0.zip\pdf-generator-2.2.0. A fix would let me get my life back ...
|
You could use our fork as an intermediate solution: https://www.npmjs.com/package/@d2d/cordova-pdf-generator |
Thanks Tim, lifesaver.
From: Tim Brust <[email protected]>
Sent: Wednesday, 14 October 2020 10:35 pm
To: cesarvr/pdf-generator <[email protected]>
Cc: ascottk <[email protected]>; Comment <[email protected]>
Subject: Re: [cesarvr/pdf-generator] Crashes with Chrome 86+ on Android (#124)
You could use our fork as an intermediate solution: https://www.npmjs.com/package/@d2d/cordova-pdf-generator
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#124 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACF4OJTLKB23HJNHEHWDCRTSKVWE3ANCNFSM4RNB3RJA> .
…--
This email has been checked for viruses by AVG.
https://www.avg.com
|
We are experiencing crashes (with the
base64
option) and faulty previews (with theshare
option) when using Chrome's 86 beta version (86.0.4240.30) or higher (Canary (87.0.4262.3) is affected, too).I've narrowed the behaviour down to the webview behvaior. The same webView is re-used and never destoryed, leading to the above bug description on the second call from the plugin. When destroying the WebView, i.e., always using a fresh one, the bug is fixed.
A pull request will follow shortly, which includes a general cleanup of the Java code.
For the completeness, here are the version information:
Android 9 on a Lenovo TB-X505F.
cordova info
The text was updated successfully, but these errors were encountered: