wordpress-mobile / wordpress-mobile/WordPress-iOS
Add support for document UTIs to import files / content
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
We current support sharing text, URLs, and photos to the app via our share extensions. We can also add extra document types or imported UTIs (I'm not 100% sure which we need) to our Info.plist to display a "Copy to WordPress" action in other apps:

We can then update our implementation of - [UIApplicationDelegate application:openURL:options:] to handle these URLs and import their content into a new editor instance / post. We could support plain text + markdown files, as well as PDFs using PDFKit in iOS 11.
This would allow a user to, for example, draft a post in another app such as Byword or Bear Notes and then send the content straight into the editor in our app.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the share-extension declarations in Info.plist and the UIApplicationDelegate application:openURL:options: entry point; check how current text, URL, and photo imports reach a new editor instance. Confirm the supported document UTIs and PDFKit handling, then verify that plain text, Markdown, and PDF files from another app appear in a new editor or post.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c, swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100