Skip to content

fix ios opml import#1941

Merged
Tlaster merged 1 commit intomasterfrom
bugfix/ios-opml-import
Mar 28, 2026
Merged

fix ios opml import#1941
Tlaster merged 1 commit intomasterfrom
bugfix/ios-opml-import

Conversation

@Tlaster
Copy link
Copy Markdown
Contributor

@Tlaster Tlaster commented Mar 28, 2026

fix #1938

Copy link
Copy Markdown
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

Fixes iPadOS OPML import/opening by properly registering an OPML Uniform Type Identifier (UTI) and using it consistently in the SwiftUI file importer/exporter flow.

Changes:

  • Define and use a custom UTType.opml (dev.dimension.flare.opml) for OPML files.
  • Update the OPML FileDocument readable content types to rely on the custom UTI.
  • Register OPML in Info.plist via UTExportedTypeDeclarations and CFBundleDocumentTypes so iOS can recognize .opml files.

Reviewed changes

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

File Description
iosApp/flare/UI/Screen/RssScreen.swift Switches file importer allowed types to include the new .opml UTType.
iosApp/flare/Info.plist Adds document type + exported UTI declaration for dev.dimension.flare.opml (extension/mime mapping).
iosApp/flare/Common/OPMLFile.swift Introduces UTType.opml and updates OPMLFile to use it for reading/exporting.

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

@Tlaster Tlaster merged commit a7a83c0 into master Mar 28, 2026
13 checks passed
@Tlaster Tlaster deleted the bugfix/ios-opml-import branch March 28, 2026 15:15
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.

OPML cannot be opened unless renamed to .txt, or something like that

2 participants