Skip to content

Commit d47e3b4

Browse files
GeorgeAugusto8george.marcos
andauthored
Images not showing up in API Level 30 (#254)
Co-authored-by: george.marcos <[email protected]>
1 parent 4bb8a71 commit d47e3b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

android/src/main/java/android/print/PdfConverter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public void onWriteCancelled() {
113113
WebSettings settings = mWebView.getSettings();
114114
settings.setTextZoom(100);
115115
settings.setDefaultTextEncodingName("utf-8");
116+
settings.setAllowFileAccess(true);
116117
mWebView.loadDataWithBaseURL(mBaseURL, mHtmlString, "text/HTML", "utf-8", null);
117118
}
118119

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-html-to-pdf",
3-
"version": "0.11.0",
3+
"version": "0.11.1",
44
"scripts": {
55
"start": "node_modules/react-native/packager/packager.sh"
66
},

0 commit comments

Comments
 (0)