forked from akai/readest
7da41a65ad
Add a resizable home-screen widget on iOS and Android showing recent
in-progress books with cover, reading progress, and tap-to-open.
- One responsive widget: Android resizable 1x1 to 4x3 (one book per
column, up to 3); iOS Small/Medium/Large families. Covers are cropped,
rounded, with a percent badge and a progress bar (baked into the bitmap
on Android, SwiftUI overlays on iOS).
- TTS controls (previous, play-pause, next) appear in 2+ row sizes when
TTS is active, wired to the existing media session. Reading progress
stays live during background TTS via a fraction computed from the baked
offline locations.
- Publishes a snapshot plus downsized cover thumbnails to the iOS App
Group and Android SharedPreferences through a new update_reading_widget
native-bridge command; refresh is debounced and driven by library and
progress changes, TTS, and app backgrounding.
- Tapping a cover opens readest://book/{hash}, switching the reader in
place when one is already open.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[default]
|
|
description = "Default permissions for the plugin"
|
|
permissions = [
|
|
"allow-auth-with-safari",
|
|
"allow-auth-with-custom-tab",
|
|
"allow-copy-uri-to-path",
|
|
"allow-save-image-to-gallery",
|
|
"allow-use-background-audio",
|
|
"allow-install-package",
|
|
"allow-set-system-ui-visibility",
|
|
"allow-get-status-bar-height",
|
|
"allow-get-sys-fonts-list",
|
|
"allow-intercept-keys",
|
|
"allow-lock-screen-orientation",
|
|
"allow-iap-is-available",
|
|
"allow-iap-initialize",
|
|
"allow-iap-fetch-products",
|
|
"allow-iap-purchase-product",
|
|
"allow-iap-restore-purchases",
|
|
"allow-get-system-color-scheme",
|
|
"allow-get-safe-area-insets",
|
|
"allow-get-screen-brightness",
|
|
"allow-set-screen-brightness",
|
|
"allow-get-external-sdcard-path",
|
|
"allow-open-external-url",
|
|
"allow-show-lookup-popover",
|
|
"allow-get-lookup-dictionary",
|
|
"allow-clear-lookup-dictionary",
|
|
"allow-select-directory",
|
|
"allow-get-storefront-region-code",
|
|
"allow-request-manage-storage-permission",
|
|
"allow-register-listener",
|
|
"allow-remove-listener",
|
|
"allow-check-permissions",
|
|
"allow-request-permissions",
|
|
"allow-checkPermissions",
|
|
"allow-requestPermissions",
|
|
"allow-set-sync-passphrase",
|
|
"allow-get-sync-passphrase",
|
|
"allow-clear-sync-passphrase",
|
|
"allow-is-sync-keychain-available",
|
|
"allow-set-secure-item",
|
|
"allow-get-secure-item",
|
|
"allow-clear-secure-item",
|
|
"allow-refresh-eink-screen",
|
|
"allow-update-reading-widget",
|
|
]
|