Skip to content

Commit a44c128

Browse files
feat: enable js on android (#328)
* feat: enable js on android * chore: update xcode version ci workflow
1 parent 563d435 commit a44c128

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ jobs:
102102
103103
- name: Build example for Android
104104
env:
105-
JAVA_OPTS: "-XX:MaxHeapSize=6g"
105+
JAVA_OPTS: '-XX:MaxHeapSize=6g'
106106
run: |
107107
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
108108
109109
build-ios:
110110
runs-on: macos-latest
111111
env:
112-
XCODE_VERSION: 16.2
112+
XCODE_VERSION: 16.4
113113
TURBO_CACHE_DIR: .turbo/ios
114114
steps:
115115
- name: Checkout

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ class PdfConverter private constructor() : Runnable {
156156
textZoom = 100
157157
defaultTextEncodingName = "utf-8"
158158
allowFileAccess = true
159+
javaScriptEnabled = true
159160
}
160161

161162
mHtmlString?.let { html ->

0 commit comments

Comments
 (0)