book-reader/app/src/main/java/com/aryan/reader
Aryan 76780bff31
Offline dictionary (#45)
* Added support for external dictionary apps and a dictionary settings sheet.

* Refactored external dictionary integration and improved package visibility

 - Updated `AndroidManifest.xml` with `<queries>` for common dictionary apps and intent actions (`PROCESS_TEXT`, `SEARCH`, `SEND`) to support Android 11+ package visibility.
 - Refactored `ExternalDictionaryHelper` to streamline dictionary discovery using `Intent.ACTION_PROCESS_TEXT` and `colordict.intent.action.SEARCH`.
 - Added a package blocklist in `ExternalDictionaryHelper` to filter out system services (e.g., Samsung Pass, GMS) from dictionary lists.
  - Simplified `launchDictionary` logic to prioritize `PROCESS_TEXT` intents.
 - Fixed a bug in `PdfViewerScreen` to only show the dictionary upsell dialog when `useOnlineDictionary` is enabled.

* Refactored dictionary settings into a dialog and updated dictionary selection logic.

- Renamed `DictionarySettingsSheet` to `DictionarySettingsDialog` and converted it from a bottom sheet to a formal dialog.
- Redesigned the dictionary settings UI with a clearer distinction between AI and external app modes.
- Added a "Search" option to the external dictionary list that triggers a web search.
- Updated `ExternalDictionaryHelper` to include a package blocklist and support for generic web search intents.
- Simplified `PdfHelper` by removing Pro user checks for the "Dictionary" action.
- Updated icons for dictionary settings across the EPUB and PDF readers.
2026-03-08 15:19:52 +05:30
..
data Pdf text reflow (#36) 2026-03-07 16:10:34 +05:30
epub fix: force disk fallback in LocatorConverter to fix MD/TXT reading position (#40) 2026-03-07 22:34:08 +05:30
epubreader Offline dictionary (#45) 2026-03-08 15:19:52 +05:30
feedback Update readme (#3) 2026-02-25 21:30:28 +05:30
paginatedreader Offline dictionary (#45) 2026-03-08 15:19:52 +05:30
pdf Offline dictionary (#45) 2026-03-08 15:19:52 +05:30
tts Tts upgrade (#25) 2026-03-04 10:16:32 +05:30
ui/theme Update readme (#3) 2026-02-25 21:30:28 +05:30
AppNavigation.kt Pdf text reflow (#36) 2026-03-07 16:10:34 +05:30
BookImporter.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
Common.kt Offline dictionary (#45) 2026-03-08 15:19:52 +05:30
FileHasher.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
FolderSyncWorker.kt Folder pdf annotation sync (#32) 2026-03-05 16:34:22 +05:30
FontsScreen.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
HomeScreen.kt Crash fixes (#38) 2026-03-07 19:40:50 +05:30
LibraryScreen.kt Crash fixes (#38) 2026-03-07 19:40:50 +05:30
MainActivity.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
MainScreen.kt Folder import\sync rework (#18) 2026-03-01 22:57:53 +05:30
MainViewModel.kt Pdf text reflow (#36) 2026-03-07 16:10:34 +05:30
MetadataExtractionWorker.kt Folder sync patch (#22) 2026-03-02 13:15:34 +05:30
MyApplication.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
ProScreen.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
SharedComposables.kt Folder import\sync rework (#18) 2026-03-01 22:57:53 +05:30