Skip to content

Commit 0fd2af0

Browse files
committed
Merge branch 'refs/heads/master' into nutrition-plan-stats
2 parents 4dff6ea + f6f8131 commit 0fd2af0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1388
-409
lines changed

.github/actions/flutter-common/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
uses: subosito/flutter-action@v2
1010
with:
1111
channel: stable
12-
flutter-version: 3.32.8
12+
flutter-version: 3.35.2
1313
cache: true
1414

1515
- name: Install Flutter dependencies

android/app/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ if (keystorePropertiesFile.exists()) {
2323

2424
android {
2525
namespace = "de.wger.flutter"
26-
compileSdkVersion 35
27-
ndkVersion "27.0.12077973"
26+
compileSdkVersion 36
27+
ndkVersion "28.2.13676358"
2828

2929
compileOptions {
3030
sourceCompatibility JavaVersion.VERSION_11
@@ -39,9 +39,7 @@ android {
3939
defaultConfig {
4040
// Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4141
applicationId "de.wger.flutter"
42-
// NOTE: manually setting the minSdk to 23 instead of "flutter.minSdkVersion"
43-
// because flutter_zxing requires a higher minSdkVersion.
44-
minSdk = 23
42+
minSdkVersion = flutter.minSdkVersion
4543
targetSdk = flutter.targetSdkVersion
4644
versionCode = flutter.versionCode
4745
versionName = flutter.versionName

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip

android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.3.2" apply false
22-
id "org.jetbrains.kotlin.android" version "2.0.20" apply false
21+
id "com.android.application" version "8.6.0" apply false
22+
id "org.jetbrains.kotlin.android" version "2.1.20" apply false
2323
}
2424

2525
include ":app"

integration_test/1_dashboard.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ import '../test_data/routines.dart';
2424

2525
Widget createDashboardScreen({locale = 'en'}) {
2626
final mockWorkoutProvider = MockRoutinesProvider();
27-
when(mockWorkoutProvider.activeRoutine)
28-
.thenReturn(getTestRoutine(exercises: getScreenshotExercises()));
27+
when(mockWorkoutProvider.items).thenReturn([getTestRoutine(exercises: getScreenshotExercises())]);
2928

3029
when(mockWorkoutProvider.fetchSessionData()).thenAnswer((a) => Future.value([
3130
WorkoutSession(

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ EXTERNAL SOURCES:
105105

106106
SPEC CHECKSUMS:
107107
camera_avfoundation: be3be85408cd4126f250386828e9b1dfa40ab436
108-
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
108+
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
109109
flutter_keyboard_visibility: 4625131e43015dbbe759d9b20daaf77e0e3f6619
110110
flutter_zxing: e8bcc43bd3056c70c271b732ed94e7a16fd62f93
111111
image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345345
GCC_WARN_UNUSED_FUNCTION = YES;
346346
GCC_WARN_UNUSED_VARIABLE = YES;
347-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
347+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
348348
MTL_ENABLE_DEBUG_INFO = NO;
349349
SDKROOT = iphoneos;
350350
SUPPORTED_PLATFORMS = iphoneos;
@@ -432,7 +432,7 @@
432432
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
433433
GCC_WARN_UNUSED_FUNCTION = YES;
434434
GCC_WARN_UNUSED_VARIABLE = YES;
435-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
435+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
436436
MTL_ENABLE_DEBUG_INFO = YES;
437437
ONLY_ACTIVE_ARCH = YES;
438438
SDKROOT = iphoneos;
@@ -481,7 +481,7 @@
481481
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
482482
GCC_WARN_UNUSED_FUNCTION = YES;
483483
GCC_WARN_UNUSED_VARIABLE = YES;
484-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
484+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
485485
MTL_ENABLE_DEBUG_INFO = NO;
486486
SDKROOT = iphoneos;
487487
SUPPORTED_PLATFORMS = iphoneos;

l10n.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
synthetic-package: false # see https://docs.flutter.dev/release/breaking-changes/flutter-generate-i10n-source
2-
31
arb-dir: lib/l10n
42
output-dir: lib/l10n/generated
53
template-arb-file: app_en.arb

lib/helpers/consts.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,5 @@ enum WeightUnitEnum { kg, lb }
135135

136136
/// TextInputType for decimal numbers
137137
const textInputTypeDecimal = TextInputType.numberWithOptions(decimal: true);
138+
139+
const String API_MAX_PAGE_SIZE = '999';

0 commit comments

Comments
 (0)