Skip to content

Share PDFs from the iOS and Android readers - #315

Merged
tiensonqin merged 4 commits into
mainfrom
codex/ios-share-pdf
Dec 2, 2026
Merged

tiensonqin merged 4 commits into
mainfrom
codex/ios-share-pdf

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Share a PDF from the native reader to other apps on iOS and Android.
  • Pass the original PDF bytes with the document filename, including for files downloaded from sync.
  • Hide Logseq's own receiver in Android's PDF share chooser.

iOS

In Journals, tap the PDF attachment, tap the Share icon in the reader header, then choose Preview or another compatible app. The recording follows the PDF from the journal entry into Apple’s Preview app.

ios-journal-to-preview.mp4

Narrow iOS split

When the PDF pane is narrow, Share moves to the toolbar below the title. Close and Fullscreen stay in the header.

ios-pdf-narrow-split.mp4

Android

Open the PDF and tap Share in the reader. The Android system chooser shows compatible destinations.

android-outbound.mp4

Verification

  • iOS simulator: opened the journal attachment in Apple’s Preview app. A separate Save to Files check preserved the filename and produced a byte-for-byte copy.
  • iOS narrow split and continuous resize runtime checks passed. Hit testing covers the full width of the Share, Close, and Fullscreen controls.
  • Android emulator: all 3 PDF workspace tests passed, including MIME type, read-only URI, document filename, exact PDF bytes, and exclusion of Logseq as a share destination.
  • Android JVM: 117 tests passed.

Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

@tiensonqin
tiensonqin merged commit c4e0ad3 into main Dec 2, 2026
11 checks passed
@tiensonqin
tiensonqin deleted the codex/ios-share-pdf branch December 3, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant