book-reader/app
Aryan d6837aa4df
General fixes (#19)
* fix OOM crash by refactoring EpubImage to use lazy loading

- Removed raw image ByteArray from EpubImage data class to prevent OutOfMemoryErrors on large books.
- Updated EpubParser and MobiParser to only store image paths in the EpubBook object.
- Images are now loaded on-demand from disk via file URIs in WebView and Coil, reducing initial heap allocation.

* fix(tts): resolve OutOfMemoryError by removing large strings from state bundle

- Removed 'currentText' from the TtsState bundle inside MediaSession custom layout.
- Updated TtsController to retrieve the current text chunk via MediaItem metadata.
- This prevents heap exhaustion caused by high-frequency serialization of large text strings during word tracking and polling updates.
2026-03-01 23:24:26 +05:30
..
src General fixes (#19) 2026-03-01 23:24:26 +05:30
.gitignore Initial commit 2026-02-24 17:37:40 +05:30
build.gradle.kts refactor: remove local pdfiumandroid module and use published artifact (#10) 2026-02-27 13:44:52 +05:30
proguard-rules.pro Initial commit 2026-02-24 17:37:40 +05:30