Repository navigation
Retry pending article read changes when connectivity returns - #1359
Open
VaclavSynacek wants to merge 1 commit into
Open
VaclavSynacek wants to merge 1 commit into
VaclavSynacek wants to merge 1 commit into
Conversation
ibrahim-iqbal
approved these changes
Nov 26, 2026
ibrahim-iqbal
left a comment
There was a problem hiding this comment.
Nice and small. Worth knowing that registerDefaultNetworkCallback calls onAvailable right away when a network is already up, so this also syncs once at startup. That seems like what you want here anyway. Passing pendingSyncDiffs.toMap() instead of the flow value makes sense since the network trigger has no value of its own.
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.
I have been using ReadYou for last like 6 months daily. It i very impressive and I like it a lot. I often read offline (bus committing, tunnels, etc.) and would like the articles read to be synced to server after I reconnect to internet. I am using GoogleReader/FreshRSS backend. This is quite a minimal pull request to add that functionality. Intentionally does not solve the batch read of "Mark all as read" as that is different part of the codebase and not really my daily use case.
But obviously this requires one more permission to ask, so not sure that is acceptable.