Skip to content

Commit

Permalink
[PAY-2518] Fix android bug for combined downloads file in same folder (
Browse files Browse the repository at this point in the history
…#7819)

Co-authored-by: Saliou Diallo <saliou@audius.co>
  • Loading branch information
sddioulde and Saliou Diallo authored Mar 13, 2024
1 parent f7cd6d3 commit f694148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mobile/src/services/track-download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ const downloadMany = async ({
}) => {
dedupFilenames(files)
let responses
const tempDir = ReactNativeBlobUtil.fs.dirs.DownloadDir + '/' + 'AudiusTemp'
const tempDir =
ReactNativeBlobUtil.fs.dirs.DownloadDir + '/' + `AudiusTemp_${Date.now()}`
try {
const responsePromises = files.map(({ url, filename }) =>
ReactNativeBlobUtil.config(
Expand Down

0 comments on commit f694148

Please sign in to comment.