Originally created by: kristofferR
Carrier should appear as a target in the macOS share sheet so media from Finder, Photos, Safari, and screenshots can be attached to a Messenger conversation. macOS only lists apps that bundle a native Share Extension (.appex in Contents/PlugIns).
share-extension/macos/ contains a small Objective-C extension built directly with clang, without an Xcode project.NSExtensionRequestHandling and starts work in beginRequestWithExtensionContext:. The share host launches the extension without necessarily presenting its view, so a viewDidAppear-only implementation does not work.carrier://share-pasteboard/<uuid>. App groups are intentionally not used because their team-prefixed containers fail with EPERM in ad-hoc-signed development builds.Verified through the real Finder share sheet with a PNG. The extension ran from beginRequest, collected the attachment, wrote the private pasteboard, and opened the handoff URL. Carrier came to the front and the image rendered in the composer.
Implemented by [#220]. Release bundling and signing are tracked by [#212]. Part of [#217].
Originally posted by: kristofferR
Completed by [#220]. The extension is implemented and verified through the real Finder share sheet; release bundling and notarization remain tracked separately in [#212].
Related
Tickets:
#212Tickets:
#220Ticket changed by: kristofferR