Skip to content

Added Document Export Support - #41

Open
fhasse95 wants to merge 3 commits into
skiptools:mainfrom
fhasse95:Document-Exporter
Open

Added Document Export Support#41
fhasse95 wants to merge 3 commits into
skiptools:mainfrom
fhasse95:Document-Exporter

Conversation

@fhasse95

@fhasse95 fhasse95 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR adds document export support to SkipKit. This is achieved by a new withDocumentExporter view modifier, which presents the native export flow on both platforms. On iOS, it uses SwiftUI's fileExporter. On Android, it uses ACTION_CREATE_DOCUMENT and copies the source file to the user-selected destination.

For more information, check out the updated README file.

A complete example is also available in the DocumentPickerPlayground of the Skip Showcase app.

Related PR:


Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.

Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

The initial implementation was generated with assistance from Codex. The resulting code was manually reviewed, refined where necessary, and validated using both the Skip Showcase app and my own app on iOS, iPadOS, macOS (Catalyst), and Android to ensure correctness and consistent cross-platform behavior.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant