diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b53fdb233..0fc827475 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -129,7 +129,7 @@ jobs: - name: Strip signing config run: | - # Strip signing config to build debug APK safely without keystores + # Strip signing config to build unsigned APK safely without keystores # Handle both .gradle and .gradle.kts files sed -i 's/signingConfig = signingConfigs.getByName("release")//g' android/app/build.gradle || true sed -i 's/signingConfig = signingConfigs.getByName("release")//g' android/app/build.gradle.kts || true @@ -140,18 +140,18 @@ jobs: # This replaces the existing applicationId with a unique one for this commit sed -i 's/applicationId = ".*"/applicationId = "com.updatium.ci.${{ steps.vars.outputs.sha_short }}"/g' android/app/build.gradle || true - # Build the debug APK for the normal flavor - flutter build apk --debug --flavor normal --no-pub --tree-shake-icons + # Build the unsigned APK for the normal flavor + flutter build apk --profile --flavor normal --no-pub --tree-shake-icons mkdir -p build/outputs/artifacts/ - cp build/app/outputs/flutter-apk/app-normal-debug.apk build/outputs/artifacts/updatium-${{ steps.vars.outputs.sha_short }}.apk + cp build/app/outputs/flutter-apk/app-normal-profile.apk build/outputs/artifacts/updatium-${{ steps.vars.outputs.sha_short }}.apk - name: Upload Build Artifact uses: actions/upload-artifact@main with: name: Updatium-Commit-${{ steps.vars.outputs.sha_short }} path: build/outputs/artifacts/updatium-${{ steps.vars.outputs.sha_short }}.apk - retention-days: 14 # Keep artifacts for 14 days to save space + retention-days: 7 # Keep artifacts for 7 days to save space auto_reject_on_failure: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 37efe6b0b..1eff80d15 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Every language is welcome to Updatium, but your help is needed to make it happen Русский, Bosanski, Português, Česky, Svenska, Nederlands, Tiếng Việt, Türkçe, Українська, Dansk, Eesti, Esperanto, Bahasa Indonesia, বাংলা, 한국어, Català, العربية, മലയാളം, Galego, Български, -Bahasa Melayu, Română, ئۇيغۇرچە. +Bahasa Melayu, Română, ئۇيغۇرچە, Kurdî (Kurmanjî). ## Download diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index 2a54db9b5..ac680aa4d 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -60,13 +60,4 @@ -dontpreverify -verbose -##---------------End: proguard configuration for Flutter ---------- - -##---------------Begin: Fix for DynamicColorPlugin conflict ---------- -# Exclude conflicting DynamicColorPlugin from dynamic_color package -# Keep only the one from dynamic_system_colors --dontwarn io.material.plugins.dynamic_color.DynamicColorPlugin --keep class io.material.plugins.dynamic_color.DynamicColorPlugin { - *; -} -##---------------End: Fix for DynamicColorPlugin conflict ---------- \ No newline at end of file +##---------------End: proguard configuration for Flutter ---------- \ No newline at end of file diff --git a/assets/translations/ku.json b/assets/translations/en-KMR.json similarity index 100% rename from assets/translations/ku.json rename to assets/translations/en-KMR.json diff --git a/lib/main.dart b/lib/main.dart index 39720ac48..9ebd1b2d6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -13,7 +13,7 @@ import 'package:updatium/providers/notifications_provider.dart'; import 'package:updatium/providers/settings_provider.dart'; import 'package:updatium/providers/source_provider.dart'; import 'package:provider/provider.dart'; -import 'package:dynamic_system_colors/dynamic_system_colors.dart'; +import 'package:dynamic_color/dynamic_color.dart'; import 'package:device_info_plus/device_info_plus.dart'; import 'package:background_fetch/background_fetch.dart'; import 'package:simple_localization/simple_localization.dart'; @@ -62,7 +62,7 @@ List> supportedLocales = const [ MapEntry(Locale('ml'), 'മലയാളം'), MapEntry(Locale('gl'), 'Galego'), MapEntry(Locale('bg'), 'Български'), - // MapEntry(Locale('ku'), 'Kurdî (Kurmanjî)'), + MapEntry(Locale('en', 'KMR'), 'Kurdî (Kurmanjî)'), MapEntry(Locale('ms'), 'Bahasa Melayu'), MapEntry(Locale('bn'), 'বাংলা'), MapEntry(Locale('ro'), 'Română'), diff --git a/pubspec.lock b/pubspec.lock index c15acf521..df336b15b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -259,21 +259,13 @@ packages: source: hosted version: "1.2.0" dynamic_color: - dependency: transitive + dependency: "direct main" description: name: dynamic_color sha256: "43a5a6679649a7731ab860334a5812f2067c2d9ce6452cf069c5e0c25336c17c" url: "https://pub.dev" source: hosted version: "1.8.1" - dynamic_system_colors: - dependency: "direct main" - description: - name: dynamic_system_colors - sha256: "6cda994363fe362e3c433e068af83feffc2c9a26ba0be7ecdb2b96f676d2dfd8" - url: "https://pub.dev" - source: hosted - version: "1.9.0" easy_logger: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index b16e43612..2cae145fa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: flutter_local_notifications: 21.0.0 provider: ^6.1.5+1 http: ^1.6.0 - dynamic_system_colors: ^1.9.0 + dynamic_color: ^1.8.1 material_color_utilities: ^0.13.0 html: ^0.15.6 shared_preferences: ^2.5.4