From ef0b2cd894debb1da3eb97272ed6ecbbcc5353f9 Mon Sep 17 00:00:00 2001 From: Raymond Jacobson Date: Fri, 16 Feb 2024 18:00:27 -0800 Subject: [PATCH] Fix single download (#7643) --- packages/mobile/android/app/build.gradle | 2 +- packages/mobile/ios/AudiusReactNative/Info.plist | 2 +- packages/mobile/src/services/track-download.ts | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/mobile/android/app/build.gradle b/packages/mobile/android/app/build.gradle index 7caae6aebe8..853c849258a 100755 --- a/packages/mobile/android/app/build.gradle +++ b/packages/mobile/android/app/build.gradle @@ -113,7 +113,7 @@ android { // versionCode is automatically incremented in CI versionCode 1 // Make sure this is above the currently released Android version in the play store if your changes touch native code: - versionName "1.1.412" + versionName "1.1.413" resValue "string", "build_config_package", "co.audius.app" resValue 'string', "CODE_PUSH_APK_BUILD_TIME", String.format("\"%d\"", System.currentTimeMillis()) resConfigs "en" diff --git a/packages/mobile/ios/AudiusReactNative/Info.plist b/packages/mobile/ios/AudiusReactNative/Info.plist index 778cd11b174..c2a6dfb7b5d 100644 --- a/packages/mobile/ios/AudiusReactNative/Info.plist +++ b/packages/mobile/ios/AudiusReactNative/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1.86 + 1.1.87 CFBundleSignature ???? CFBundleURLTypes diff --git a/packages/mobile/src/services/track-download.ts b/packages/mobile/src/services/track-download.ts index ffe0d9dcf02..ba4efcba19e 100644 --- a/packages/mobile/src/services/track-download.ts +++ b/packages/mobile/src/services/track-download.ts @@ -208,12 +208,11 @@ const download = async ({ * straight to the Downloads directory. */ directory: ReactNativeBlobUtil.fs.dirs.DownloadDir, - getFetchConfig: (filePath) => ({ + getFetchConfig: () => ({ addAndroidDownloads: { description: filename, mediaScannable: true, notification: true, - path: filePath, storeInDownloads: true, title: filename, useDownloadManager: true