Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Local export on iOS broken #578

Open
ghost opened this issue May 27, 2024 · 7 comments · May be fixed by #596
Open

[BUG] Local export on iOS broken #578

ghost opened this issue May 27, 2024 · 7 comments · May be fixed by #596
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented May 27, 2024

Describe the bug
When trying to make a local backup or export csv an error pops up (screenshot) and it doesn’t save the file
IMG_5298

To Reproduce
Steps to reproduce the behavior:

  • Settings
  • Backup and restore
  • Create local backup or Export books as a CSV file

Expected behavior
Save the file on the chosen folder

Additional info(please complete the following information):

  • App version: 2.7.0
  • App source (F-Droid, Google Play, Github, AppStore): AppStore
  • Manufacturer and model: iPhone XR
  • OS and version: iOS 17.5.1
@ghost ghost added the bug Something isn't working label May 27, 2024
@ghost ghost assigned mateusz-bak May 27, 2024
@sabzo
Copy link

sabzo commented Aug 20, 2024

@mateusz-bak experiencing same issue as well

@mgontar
Copy link

mgontar commented Aug 21, 2024

I have the same issue with the export in the app on iOS

@Jmanko16
Copy link

Same issue

@sabzo
Copy link

sabzo commented Sep 18, 2024

@mateusz-bak Is there an update in the works?

@dipinsonwani
Copy link

You can't access to External storage in ios directly according to the guidelines for security purposes. However, you could access NSDocumentDirectory through path_provider package to do that. But you would only be able to access it within the app. So it might not fulfil the usecase of exporting the csv directly.
I was taking a look at some of the issues to pick. Let me know if you have any other solution

resource - https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html

@mgontar
Copy link

mgontar commented Sep 27, 2024

Is it possible to generate export files and attach them to the MFMailComposeViewController, so the user could send them to himself?

@dipinsonwani
Copy link

yeah, that's a good way. will raise a PR

@dipinsonwani dipinsonwani linked a pull request Sep 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants