From 0476bf7ceece034a927d1df6099d8b33036f8a9b Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Sun, 14 Aug 2022 15:44:54 +0600 Subject: [PATCH] feat: add download multi tracks support for mobile platform --- .fvm/fvm_config.json | 4 ++ .gitignore | 1 + android/app/build.gradle | 2 +- android/app/src/main/AndroidManifest.xml | 6 +- lib/main.dart | 14 +++- lib/provider/Downloader.dart | 86 +++++++++++++++--------- 6 files changed, 78 insertions(+), 35 deletions(-) create mode 100644 .fvm/fvm_config.json diff --git a/.fvm/fvm_config.json b/.fvm/fvm_config.json new file mode 100644 index 00000000..5d1bc03b --- /dev/null +++ b/.fvm/fvm_config.json @@ -0,0 +1,4 @@ +{ + "flutterSdkVersion": "3.0.5", + "flavors": {} +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index cd61c4e3..b52add87 100644 --- a/.gitignore +++ b/.gitignore @@ -75,3 +75,4 @@ dist appimage-build android/key.properties +.fvm/flutter_sdk \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index ec24101b..111b8978 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -50,7 +50,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "oss.krtirtho.spotube" - minSdkVersion flutter.minSdkVersion + minSdkVersion 19 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index ad4e9b0a..08a05c44 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -15,7 +15,7 @@ - +