From 57bf41114b1984e23aa8469a016159bc2013ea09 Mon Sep 17 00:00:00 2001 From: stonegate Date: Fri, 20 Mar 2020 03:58:30 +0800 Subject: [PATCH] Export ompli file Storage management Syncing setting --- .circleci/config.yml | 2 +- README.md | 2 +- android/app/build.gradle | 2 +- android/app/src/main/AndroidManifest.xml | 4 +- .../res/drawable-hdpi/ic_notification.png | Bin 0 -> 725 bytes .../res/drawable-mdpi/ic_notification.png | Bin 0 -> 427 bytes .../res/drawable-xhdpi/ic_notification.png | Bin 0 -> 822 bytes .../res/drawable-xxhdpi/ic_notification.png | Bin 0 -> 1472 bytes .../res/drawable-xxxhdpi/ic_notification.png | Bin 0 -> 1790 bytes .../main/res/drawable/launch_background.xml | 2 +- .../res/drawable/launch_background_night.xml | 2 +- .../mipmap-anydpi-v26/ic_launcher_icon.xml | 5 + .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 + .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3349 -> 2525 bytes .../mipmap-hdpi/ic_launcher_foreground.png | Bin 0 -> 3218 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 0 -> 4148 bytes .../main/res/mipmap-hdpi/ic_notification.png | Bin 0 -> 3349 bytes .../src/main/res/mipmap-hdpi/ic_splash.png | Bin 0 -> 6656 bytes .../src/main/res/mipmap-ldpi/ic_launcher.png | Bin 0 -> 1125 bytes .../main/res/mipmap-ldpi/ic_notification.png | Bin 0 -> 1607 bytes .../src/main/res/mipmap-ldpi/ic_splash.png | Bin 0 -> 3119 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2108 -> 1375 bytes .../mipmap-mdpi/ic_launcher_foreground.png | Bin 0 -> 1915 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 0 -> 2378 bytes .../main/res/mipmap-mdpi/ic_notification.png | Bin 0 -> 2108 bytes .../src/main/res/mipmap-mdpi/ic_splash.png | Bin 0 -> 4202 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 4684 -> 2658 bytes .../mipmap-xhdpi/ic_launcher_foreground.png | Bin 0 -> 3648 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 0 -> 4813 bytes .../main/res/mipmap-xhdpi/ic_notification.png | Bin 0 -> 4684 bytes .../src/main/res/mipmap-xhdpi/ic_splash.png | Bin 0 -> 9187 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 7367 -> 5667 bytes .../mipmap-xxhdpi/ic_launcher_foreground.png | Bin 0 -> 10265 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 0 -> 9434 bytes .../res/mipmap-xxhdpi/ic_notification.png | Bin 0 -> 7367 bytes .../src/main/res/mipmap-xxhdpi/ic_splash.png | Bin 0 -> 15341 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 10614 -> 6047 bytes .../mipmap-xxxhdpi/ic_launcher_foreground.png | Bin 0 -> 15345 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 0 -> 11257 bytes .../res/mipmap-xxxhdpi/ic_notification.png | Bin 0 -> 10614 bytes .../src/main/res/mipmap-xxxhdpi/ic_splash.png | Bin 0 -> 21750 bytes android/app/src/main/res/values/colors.xml | 3 + lib/class/audiostate.dart | 100 +- lib/class/episodebrief.dart | 6 +- lib/class/podcastlocal.dart | 12 +- lib/class/settingstate.dart | 77 +- lib/episodes/episodedetail.dart | 329 ++-- lib/home/appbar/about.dart | 46 +- lib/home/appbar/addpodcast.dart | 141 +- lib/home/appbar/popupmenu.dart | 212 ++- lib/home/audiopanel.dart | 6 +- lib/home/audioplayer.dart | 1340 +++++++++-------- lib/home/home.dart | 95 +- lib/home/homescroll.dart | 42 +- lib/home/hometab.dart | 135 +- lib/home/playlist.dart | 193 +++ lib/local_storage/sqflite_localpodcast.dart | 259 ++-- lib/main.dart | 21 +- lib/podcasts/podcastdetail.dart | 362 ++--- lib/podcasts/podcastgroup.dart | 217 ++- lib/podcasts/podcastlist.dart | 37 +- lib/podcasts/podcastmanage.dart | 771 +++++----- lib/settings/downloads_manage.dart | 26 +- lib/settings/history.dart | 327 ++-- lib/settings/libries.dart | 27 +- lib/settings/licenses.dart | 1 + lib/settings/settting.dart | 111 +- lib/settings/storage.dart | 24 +- lib/settings/syncing.dart | 119 ++ lib/settings/theme.dart | 338 ++--- lib/util/day_night_switch.dart | 463 ++++++ lib/util/episodegrid.dart | 15 +- lib/util/mypopupmenu.dart | 567 +++++++ lib/util/ompl_build.dart | 28 + lib/webfeed/domain/rss_content.dart | 4 +- lib/webfeed/domain/rss_item.dart | 16 +- pubspec.yaml | 3 +- test/widget_test.dart | 1 - tool/env.dart | 11 + 79 files changed, 4193 insertions(+), 2316 deletions(-) create mode 100644 android/app/src/main/res/drawable-hdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-mdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-xhdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-xxhdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-xxxhdpi/ic_notification.png create mode 100644 android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_icon.xml create mode 100644 android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml create mode 100644 android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png create mode 100644 android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-hdpi/ic_notification.png create mode 100644 android/app/src/main/res/mipmap-hdpi/ic_splash.png create mode 100644 android/app/src/main/res/mipmap-ldpi/ic_launcher.png create mode 100644 android/app/src/main/res/mipmap-ldpi/ic_notification.png create mode 100644 android/app/src/main/res/mipmap-ldpi/ic_splash.png create mode 100644 android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png create mode 100644 android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-mdpi/ic_notification.png create mode 100644 android/app/src/main/res/mipmap-mdpi/ic_splash.png create mode 100644 android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png create mode 100644 android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-xhdpi/ic_notification.png create mode 100644 android/app/src/main/res/mipmap-xhdpi/ic_splash.png create mode 100644 android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png create mode 100644 android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-xxhdpi/ic_notification.png create mode 100644 android/app/src/main/res/mipmap-xxhdpi/ic_splash.png create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_notification.png create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_splash.png create mode 100644 lib/home/playlist.dart create mode 100644 lib/settings/syncing.dart create mode 100644 lib/util/day_night_switch.dart create mode 100644 lib/util/mypopupmenu.dart create mode 100644 lib/util/ompl_build.dart create mode 100644 tool/env.dart diff --git a/.circleci/config.yml b/.circleci/config.yml index 0b84484..69642c2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ jobs: - run: echo $ENCODED_KEYSTORE | base64 -di > ${HOME}/keystore.jks - run: echo 'export KEYSTORE=${HOME}/keystore.jks' >> $BASH_ENV - + - run: dart tool/env.dart - run: name: Build the Android version command: flutter build apk --split-per-abi --no-shrink diff --git a/README.md b/README.md index 02a474f..9613e66 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@
-t p

+

Enjoy podcasts with Tsacdop. diff --git a/android/app/build.gradle b/android/app/build.gradle index 5a8e443..9914def 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -45,7 +45,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.stonegate.tsacdop" - minSdkVersion 16 + minSdkVersion 19 targetSdkVersion 28 versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 54d65c5..307649b 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,4 +1,4 @@ - +