Skip to content

Add macOS Share menu support for Quick Share - #301

Merged
sameerasw merged 10 commits into
sameerasw:developfrom
hkay-dev:codex/macos-share-menu
Oct 13, 2026
Merged

sameerasw merged 10 commits into
sameerasw:developfrom
hkay-dev:codex/macos-share-menu

Conversation

@hkay-dev

@hkay-dev hkay-dev commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

AI-assisted: Codex helped write and review this code and PR.

Why

AirSync can send a file from its own Share control, but Finder and other macOS Share menus have no way to start that same transfer. This extension hands shared items to the existing Quick Share sender. It does not add another transfer implementation.

What changed

  • Added a Share extension that accepts files, images, videos, text, and web links. It shows Send and Cancel controls, with an error message when it cannot prepare an item.
  • The extension passes Finder file URLs to the containing app. It copies temporary provider data into the app group that the widget already uses, then opens the containing app with those URLs. Old staged copies are removed on a later share.
  • Changed one line in the existing open-URLs handler to prefer the connected device. When there is no connected device, the existing device picker still handles the send. No Mac Quick Share protocol code or app settings changed.
share-service.mp4

Checks

  • The unsigned AirSync Self Compiled build passes.
  • A signed build of this branch appeared in Finder's Share menu. Its 43-byte test file arrived in Android Downloads through a side-by-side Android test build, with a matching SHA-256 hash. MediaStore reported is_pending=0.
  • Two earlier consecutive sends also completed with the companion Android fixes.

Notes

  • macOS controls Share menu placement, so the extension cannot force a spot above AirDrop.
  • The existing sender does not support folders.
  • Release signing needs the existing group.sameerasw.airsync-mac.widget app group enabled for the new Share extension identifier in the Apple Developer account.
  • Companion Android PR: Fix Quick Share receiving and duplicate discovery airsync-android#157

sameerasw and others added 10 commits August 2, 2026 14:46
Added installation instructions for AirSync mac app.
Develop - Major efficiency improvements, qr and other fixes, and more
Improve BLE error handling and clean up peripheral delegate references
Develop - Connection mode picker and major connection improvements
Develop - Widgets, swift 6 improvements, general project fixes, update quickshare pb
Develop - Improved quickShare, optimized widgets, summon screenshot, global hotkeys, fix menubar interactions,improve auto reconnect and manual disconnect, improved diagnostics, long press cmd Q to quit, option to keep running after quit and more
@hkay-dev
hkay-dev marked this pull request as ready for review September 24, 2026 15:55
@sameerasw sameerasw added the enhancement New feature or request label Oct 13, 2026
@sameerasw
sameerasw changed the base branch from main to develop October 13, 2026 17:31
@sameerasw
sameerasw self-requested a review October 13, 2026 17:32

@sameerasw sameerasw left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contributions <3

@sameerasw
sameerasw merged commit 8305ebc into sameerasw:develop Oct 13, 2026
1 check passed
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

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants