Rajarshee Chatterjee
e4cf64a112
refactor: Migrate Background Tasks to Native Android Scheduling ( #1889 )
...
* refactor: Restructure Application Architecture
* feat: Support Batched Downloads And EPUB Imports
* feat: Add Download Checkpoint Recovery
2026-07-22 09:21:18 +05:30
Jeon JaeHyeong
34be7a1234
fix(native-file): prevent fatal crash when unlinking missing files ( #1832 )
...
fix(native-file): prevent crash when unlinking missing files
NativeFileSpec.unlink is codegened as a void-returning TurboModule
method, which dispatches asynchronously on the mqt_v_native thread.
Throwing "File does not exist" there bypasses every JS try/catch and
surfaces as a fatal AndroidRuntime exception, killing the process.
Make unlink idempotent (POSIX rm -f semantics): no-op when the path
does not exist. The Downloads "delete all" and individual delete
flows previously crashed whenever a chapter row had isDownloaded=true
while its on-disk folder had already been removed (e.g. after backup
restore or external cleanup). The same fix also protects useNovel,
pluginManager, fetch, epub/import, backup/local, backup/utils, and
AdvancedTab call sites that share the same native handler.
2026-05-24 10:41:17 +05:30
Rajarshee Chatterjee
45c4ea8ca0
fix: Handle IOException in NativeFile to Prevent EPUB Import Crash Loop ( Closes #1315 )
...
Synchronous TurboModule methods throwing IOException (FileNotFoundException)
crash the app process before JS catch blocks execute. Wrap file I/O in
try/catch to convert IOException to Exception for proper bridge serialization,
breaking the crash loop caused by stale tasks in the MMKV queue.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-06 16:19:07 +05:30
Rajarshee Chatterjee
4088d5966b
fix: Close OkHttp Response and Streams in NativeFile.downloadFile ( Closes #1740 )
...
Unclosed Response objects leaked HTTP connections and memory buffers,
causing OOM crashes when batch-downloading chapters with images.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-06 15:11:18 +05:30
ilona
80228ada1e
chore: Improve General Plugin DX ( #1604 )
...
* enable webview debugging in dev builds only
* Fixed error downloading empty files (#1601 )
* Allow data attributes in chapter HTML #1602
2025-10-18 09:51:10 +05:30
nyagami
8d5b92bc9e
Feat: React Native new architecture ( #1420 )
...
* update depedencies (buidable)
* fix: init db once
* upgrade react navigation v7
* better deeplink handler
* upgrade react naitve vector icons
* updated sql querries (may need further adjustments)
* fix: added type for icon name
* update react-native-reanimated, react-native-gesture-handler
* update google signin
* update tabivew & bottom sheet
* make all repository queries synchroniuously
* update categoryqueries
* import db in categoryqueries
* update chapter queries
* update import novel
* updated LibraryUpdateQueries
* fix download chapter
* fixed stats
* update history queries
* improved updates tab logic
* update LibraryQueries
* update NovelQueries
* improved import novel
* fixed notifications for android 14 and up
* fix Cant parse on first opening
* fixed loss of precision error
* Partial Loading of NovelScreen
* NovelScreenButtonGroup animation
* NovelScreen appbar animations
* update migrate novel
* feat: rewrite VolumeButtonListener to turbor module
* minor: clean up
* fixed type errors
* Novelscreen updates
* fix: better material-design-icons for react-native-paper
* migrate react-native to 0.77, good bye metro console streaming
* replace elevation with boxShadow
* rewrite FileManager -> NativeFile in TurborModule
* rewrite ZipArchive -> NativeZipArchive
* rewrite EpubUtil -> NativeEpubUtil
* dev improvement: active arch only for ndk and run launch debug id
* experimental React compiler (works but no significant improvements)
* ReaderBotttomSheet rewrite
* remove db from all query helper functions
* simplified db helper types
* better helper functions
* switch to native-stack
* removed console.log
* Change loading in UpdatesScreen
* pass novelcover on opening novel
* cleanup UpdateNovelCard
* fixed lint errors
* changed novelscreen animation behaviour
* fix UpdatesScreen
* fix lint errors
* fix unwanted downloadbutton behaviour
* fix: wrong key for multi
* fix: react-native-screens override
* remove abi filters for debug
* fix selecting chapters not working correctly
* adjust novelappbar animation
* preserve Layout when opening novel image
* added SafeAreaViews
* set Modal shadow to transparent
* replace rn paper modal with @components modal
* fix go prev chapter goes to first chapter
* fix open drawer with button
* fix SafeAreaView
* fix LibraryScreen
* improve BottomSheet performance
* SafeAreaView for global search
* fix NovelScreen SafeArea
* restructure useNovel
* remove useNovel from NovelScreenList due to possible db lock
* fix NovelCover not showing on first opening
* fix library not updating changes to novels
* fix menu covering taskbar
* added FadeIn transition to appbar elements
* added SafeSnapPoints to keep bottomsheet inside of the safe area
* upgrade packages
* maybe round download button for jacubb
* fix space after autoscroll
* fix ReaderBottomSheet switch
* fix Jump to Chapter style
* fix Jump to chapter behaviour
* add Loading state to novelcover
* insertChapters performance improvement
* getChapter and getNovel db optimization
* updated db indexes
* New Skeleton for NovelScreen
* smoother FAB button
* add fetching state to useNovel
* fix paged novel chapter navigation
* fix type issues
* fix expanded novelCover on rotation
* add batched loading for chapters
* fix download button
* fix novelScreen loading state
* upgrade react native 0.78
* update to LegendList and fixed type errors
* fix chapter drawer
* added novel context + moved chapter & novel into ReaderStack
* fix lint
* improved chapterlist performance
* improved ChapterListSkeleton performance
* improved updates skeleton
* reworked onboading screen
* fix chapter drawer render error
* add NovelContext [unstable]
* fix filter compatibility
* upgrade eslint + add tanstack query
* eslint auto fix
* fix eslint errors
* upgrade expo 53, react native 0.79.1
* remove console
* remove unused package
* fix: exact vesion for core packages
* update contributing versions
---------
Co-authored-by: CD-Z <p_loser_Austria@gmx.at >
2025-05-01 23:05:30 +07:00