download_task.sql created in a public folder
See original GitHub issueDescribe the bug In iOS, we set the download path using getApplicationDocumentsDirectory() and apply some configs in order for the downloaded file to be accessible for the user (as described in https://stackoverflow.com/a/56409320). This method works fine, the file is downloaded and the user can see it and open it.
The problem is that the plugin also creates another file in this directory. This file is download_task.sql and is internal to the plugin, and should not be visible for the user.
I’m not an ios developer myself so I asked an ios developer for an analysis and he said that the plugin is doing some incorrectly:
> NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)
should be
> NSArray *paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES)
Device information:
- Device: iPhone 12 Pro Max
- OS: iOS 15.5
- plugin version 1.8.3+2
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
How to pass foldername to save file into the folder?
I am using swift 3 xcode 8. If I hard code the custom directory in func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, ...
Read more >Publish and download pipeline Artifacts - Azure
How to publish and consume pipeline artifacts.
Read more >How to use Azure Blob Download Task to download Multiple ...
In this Blog we are going to learn How to use azure blob download task to download multiple files from azure blob storage...
Read more >sql-docs/azure-blob-download-task.md at live - GitHub
Specifies whether to search recursively within sub-directories. LocalDirectory, Specifies the local directory where the downloaded blob files are stored.
Read more >How to automatically pull data from a shared script folder to a ...
A shared SQL script folder is created that contains the complete database schema (structure). If this requirement is not met, check out the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
that fixes work for me
This should be fixed by #728 and #757.
I’m not going to close it now in case bugs arise.