You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :
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: