mirror of
https://github.com/readest/readest.git
synced 2026-05-18 06:10:10 +00:00
Add tauri-plugin-webview-upgrade as a git submodule under apps/readest-app/src-tauri/plugins/. On Android devices whose system WebView is locked to an old Chromium build (Huawei phones, Moaan / Onyx / Kobo e-ink readers, AOSP forks without Play Store, etc.), the reader bundle renders as a blank screen. The plugin bootstraps before Application.onCreate via androidx.startup and redirects the in-process WebView loader to a recent com.google.android.webview when the user has one sideloaded — opening the only window in which WebViewUpgrade can swap the provider, before Tauri/Wry creates any WebView. Thresholds (minUpgradeMajor / minSupportedMajor) come from plugins.webview-upgrade in tauri.conf.json and are baked into Kotlin constants at Gradle build time. Below the supported threshold with no upgrade option, the plugin shows a localized AlertDialog (15 languages, English fallback) prompting the user to install Android System WebView. Plugin source: https://github.com/readest/tauri-plugin-webview-upgrade Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
27 lines
1.2 KiB
Text
27 lines
1.2 KiB
Text
[submodule "packages/foliate-js"]
|
|
path = packages/foliate-js
|
|
url = https://github.com/readest/foliate-js.git
|
|
[submodule "packages/tauri"]
|
|
path = packages/tauri
|
|
url = https://github.com/readest/tauri.git
|
|
[submodule "packages/tauri-plugins"]
|
|
path = packages/tauri-plugins
|
|
url = https://github.com/readest/tauri-plugins-workspace.git
|
|
[submodule "packages/simplecc-wasm"]
|
|
path = packages/simplecc-wasm
|
|
url = https://github.com/readest/simplecc-wasm.git
|
|
[submodule "apps/readest-app/src-tauri/plugins/tauri-plugin-turso"]
|
|
path = apps/readest-app/src-tauri/plugins/tauri-plugin-turso
|
|
url = https://github.com/readest/tauri-plugin-turso.git
|
|
[submodule "apps/readest-app/.claude/skills/gstack"]
|
|
path = apps/readest-app/.claude/skills/gstack
|
|
url = https://github.com/garrytan/gstack.git
|
|
[submodule "packages/qcms"]
|
|
path = packages/qcms
|
|
url = https://github.com/mozilla/pdf.js.qcms.git
|
|
[submodule "packages/js-mdict"]
|
|
path = packages/js-mdict
|
|
url = https://github.com/readest/js-mdict.git
|
|
[submodule "apps/readest-app/src-tauri/plugins/tauri-plugin-webview-upgrade"]
|
|
path = apps/readest-app/src-tauri/plugins/tauri-plugin-webview-upgrade
|
|
url = https://github.com/readest/tauri-plugin-webview-upgrade.git
|