gdavis / Mimir-Feedback

The place to report bugs and suggest improvements for the podcast app Mimir
https://mimirpodcasts.app
9 stars 0 forks source link

[Bug][iOS]: App fails to import OPML files #159

Closed gdavis closed 2 years ago

gdavis commented 2 years ago

This issue was originally captured in #157 and is being broken out into this ticket to capture just the OPML file issues. Currently investigating to see if I can find some example OPML files that are still failing to import to the app.

gdavis commented 2 years ago

Mimir-podcasts-0715.opml.zip

gdavis commented 2 years ago

This was caused by not properly accessing a security-scoped URL that is outside of the app sandbox. The import operations would fail checks to see if the file exists or when trying to load the data.

The fix was to wrap calls to start/stopAccessingSecurityScopedResource() on the URL that was given from the file selection UI.