Skip to content

Share target#71

Draft
Choochmeque wants to merge 30 commits intomainfrom
share-target
Draft

Share target#71
Choochmeque wants to merge 30 commits intomainfrom
share-target

Conversation

@Choochmeque
Copy link
Owner

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements comprehensive share target functionality, enabling the application to receive shared content from other applications across Windows, iOS, and macOS platforms.

Key Changes:

  • Adds Windows share target activation handling using MSIX packaging APIs
  • Implements iOS and macOS share extension templates with Swift view controllers
  • Creates a cross-platform listener system for real-time share events
  • Adds new commands and APIs for retrieving and clearing pending shared content

Reviewed changes

Copilot reviewed 53 out of 64 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/windows.rs Implements Windows share target activation, handling both cold and warm start scenarios with app instance management
src/models.rs Defines new data structures for shared content (text and files) with proper serialization
src/listeners.rs Adds desktop listener infrastructure for event-driven share notifications
src/mobile.rs, src/macos.rs, src/desktop.rs Adds cross-platform method stubs for pending content APIs
src/commands.rs Exposes new Tauri commands for JavaScript consumption
guest-js/index.ts Provides TypeScript API including getPendingSharedContent, clearPendingSharedContent, and onSharedContent listener
iOS/macOS templates Complete share extension implementations handling various content types (text, URLs, files, images)
Example demo Comprehensive demonstration with UI for displaying received content and logs
Build configs Updates permissions, dependencies, and Xcode project configurations
Files not reviewed (1)
  • examples/share-demo/pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Choochmeque Choochmeque self-assigned this Jan 3, 2026
@Choochmeque Choochmeque marked this pull request as draft January 3, 2026 22:30
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.

2 participants