Skip to content

feat: make saving articles possible when offline#320

Merged
casimir merged 13 commits intomainfrom
tfb-offline-save
Jan 24, 2025
Merged

feat: make saving articles possible when offline#320
casimir merged 13 commits intomainfrom
tfb-offline-save

Conversation

@casimir
Copy link
Copy Markdown
Owner

@casimir casimir commented Jan 24, 2025

While being a small part of the changes, the main change of this patch is the refactoring the ad-hoc code into a RemoteSyncer action. Saving an article is like all other actions now and is resillient to a lack of connection.

Most of the changes are a redesign of the Flutter ↔ iOS interop. After the failed attempt of #319, the strategy has shifted to using a headless Flutter engine communicating via a plugin. It feels like a hack but the implementation is simple and feels very sound. It can be reevaluated when Flutter has fixed the extension hosted rendering issue.

Fixes: #310 #312

@casimir casimir added the enhancement New feature or request label Jan 24, 2025
@casimir casimir marked this pull request as ready for review January 24, 2025 13:42
@casimir casimir merged commit 0dbf99f into main Jan 24, 2025
@casimir casimir deleted the tfb-offline-save branch January 24, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for saving articles while offline

1 participant