JagadishaIncture

Results 41 comments of JagadishaIncture

`My Code : ` final ProgressDialog progressDialog = new ProgressDialog(WebViewActivity.this); progressDialog.setMessage("Downloading..."); try { progressDialog.show(); PdfView.createWebPrintJob(WebViewActivity.this, webView, myDir, fileName, new PdfView.Callback() { @Override public void success(String path) { progressDialog.dismiss(); openFileView(file); //PdfView.openPdfFile(WebViewActivity.this,...

This Screenshot in WebView ![Screenshot_20210817-101132](https://user-images.githubusercontent.com/55983819/129665381-6afa5439-c396-4cba-a2d3-71d3deeb3144.png)

This screenshot after converted to PDF Note : No Colors reflecting ![Screenshot_20210817-101142](https://user-images.githubusercontent.com/55983819/129665437-6204a895-555b-4d2d-a47a-1812625f2d68.png)

ConvertWebViewToPdfDemoAfter adding requestLegacyExternalStorage="true" its working till Andoeid 10 .. but in Android 11 its crashing My package is package="com.abox.rally.oderform" ` ` ` ` Crash StackTrace is Fatal Exception: java.lang.IllegalArgumentException: fd...

> android:requestLegacyExternalStorage="true" > > Put this in your manifest within `application `tag. Great !! its working now after adding this line

any workaround. Iam also facing same issue. Desktop its working fine but Android its failing

Remove the dependency from commonMain and start adding in androidMain{ //WebView implementation("io.github.kevinnzou:compose-webview-multiplatform:1.8.6") } val iosMain by creating { dependsOn(commonMain.get()) iosX64Main.dependsOn(this) iosArm64Main.dependsOn(this) iosSimulatorArm64Main.dependsOn(this) dependencies { //WebView implementation("io.github.kevinnzou:compose-webview-multiplatform:1.8.6") } } val desktopMain...