-
Notifications
You must be signed in to change notification settings - Fork 4
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
Issue when saving multiple files #4
Labels
bug
Something isn't working
Comments
satnam27
changed the title
Copying all files that are cached
Issue when saving multiple files
Dec 3, 2023
Thanks for reporting this issue. I will look into it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I am working on an app. Inside the app user picks a file and it get copied to cache and then manipulation are applied. Before saving its multiple versions to selected directory. Plugin works fine when a single is saved but whenever multiple SaveFileInfo objects are passed to the saveFiles[] array inside the FileSaverParams, it saves all the files that are present in the cache memory. Also it ignored the names as well.
Here is the function that is used to save multiple files. :
For the sake of example, the same path is used for both files. The paths could be different in production for each files.
Here is the log output that is generated:
In the above log, it seems saveFiles[] has correct information about the files but
Instead of saving those two file it saves all the files from cache(that what look like happens):
Any idea why it is happening.
Thanks.
The text was updated successfully, but these errors were encountered: