Repository navigation
Android: recover books and covers when file access is lost - #9
Merged
Merged
Conversation
Opening the app could land on "The file can't be found", and books could show no cover, whenever ReadArea couldn't read a file it had in its library: after a reinstall restored the library from backup (which brings back the database but not file access or cover images), after access to all files or to a folder was withdrawn, or when Android dropped the permission of books added one by one. - A book whose file can't be opened right now is no longer marked as done with no cover; its details and cover are read on a later scan. - Covers whose images are gone from app storage are read again. - The last book is only reopened at start if it can be read; otherwise the app opens on the library. - Books ReadArea can no longer open are set aside instead of failing when tapped, and come back when access returns: the device-wide search asks for access again, and a folder whose access was lost prompts to choose it again (new strings in all 17 languages). - Covers can be as large as other book entries (32 MB) instead of the 6 MB used for details, for high-resolution light novel covers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NY4ECaovvxsqYYRS2RrEhb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes