Skip to content

Commit 57fa499

Browse files
authored
feat: flutter 3.44 (#1808)
* chore: update flutter to v3.44.2 in codemagic ci/cd * chore: update ios config * chore: update android config * chore: upgrade packages for SPM support and ios 15 min req * chore: lock flutter_inappwebview version and update analyzer exclusion paths * chore: update Flutter version to 3.44.3 in Codemagic configuration * chore: update Flutter analyze command to suppress fatal warnings * fix: ios build crashlytics workaround * fix: build debug app if no key.properties file present * fix: listtile colors not shown correctly https://docs.flutter.dev/release/breaking-changes/list-tile-color-warning * fix: null check op error in podcast episode list view * fix: daily challenges sidebar casing * fix: update packages and deprecated code
1 parent a73a54e commit 57fa499

41 files changed

Lines changed: 964 additions & 978 deletions

Some content is hidden

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

.github/workflows/flutter-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ jobs:
7575
disable-animations: false
7676
script: echo "Generated AVD snapshot for caching."
7777

78-
- name: Setup Flutter 3.41.x
78+
- name: Setup Flutter 3.44.x
7979
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2
8080
with:
81-
flutter-version: "3.41.x"
81+
flutter-version: "3.44.x"
8282
channel: "stable"
8383
cache: true
84-
cache-key: flutter-3.41.x
84+
cache-key: flutter-3.44.x
8585
cache-path: ${{ runner.tool_cache }}/flutter
8686

8787
- name: Create .env file

.github/workflows/flutter-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ jobs:
6969
disable-animations: false
7070
script: echo "Generated AVD snapshot for caching."
7171

72-
- name: Setup Flutter 3.41.x
72+
- name: Setup Flutter 3.44.x
7373
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2
7474
with:
75-
flutter-version: "3.41.x"
75+
flutter-version: "3.44.x"
7676
channel: "stable"
7777
cache: true
78-
cache-key: flutter-3.41.x
78+
cache-key: flutter-3.44.x
7979
cache-path: ${{ runner.tool_cache }}/flutter
8080

8181
- name: Create .env file

.github/workflows/flutter-unit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
- name: Checkout files
2121
uses: actions/checkout@v4
2222

23-
- name: Setup Flutter 3.41.x
23+
- name: Setup Flutter 3.44.x
2424
uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2
2525
with:
26-
flutter-version: "3.41.x"
26+
flutter-version: "3.44.x"
2727
channel: "stable"
2828
cache: true
29-
cache-key: flutter-3.41.x
29+
cache-key: flutter-3.44.x
3030
cache-path: ${{ runner.tool_cache }}/flutter
3131

3232
- name: Create .env file
@@ -47,7 +47,7 @@ jobs:
4747
run: flutter pub get
4848

4949
- name: Analyze code
50-
run: flutter analyze
50+
run: flutter analyze --no-fatal-warnings
5151

5252
- name: Run unit tests
5353
run: |

.github/workflows/mobile-curriculum-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
android-api-level: [35]
2828
node-version: [24]
2929
pnpm-version: [10]
30-
flutter-version: ["3.41.x"]
30+
flutter-version: ["3.44.x"]
3131

3232
steps:
3333
- name: Remove unused software

.gitignore

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ mobile-api/prod/
1212
*.swp
1313
.DS_Store
1414
.atom/
15+
.build/
1516
.buildlog/
1617
.history
1718
.svn/
19+
.swiftpm/build
20+
migrate_working_dir/
1821

1922
# IntelliJ related
2023
*.iml
@@ -31,15 +34,11 @@ mobile-api/prod/
3134
**/doc/api/
3235
**/ios/Flutter/.last_build_id
3336
.dart_tool/
34-
.flutter-plugins
3537
.flutter-plugins-dependencies
36-
.packages
3738
.pub-cache/
3839
.pub/
3940
build/
40-
41-
# Web related
42-
**/lib/generated_plugin_registrant.dart
41+
coverage/
4342

4443
# Symbolication related
4544
app.*.symbols
@@ -48,10 +47,9 @@ app.*.symbols
4847
app.*.map.json
4948

5049
# Android Studio will place build artifacts here
51-
**/android/app/debug
52-
**/android/app/profile
53-
**/android/app/release
54-
**/android/app/.cxx
50+
android/app/debug
51+
android/app/profile
52+
android/app/release
5553

5654
# VS Code
5755
.vscode/

.lintstagedrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"!(app.*)*": "flutter analyze"
2+
"!(app.*)*": "flutter analyze --no-fatal-warnings"
33
}

codemagic.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ workflows:
1515
cancel_previous_builds: true
1616

1717
environment:
18-
flutter: 3.41.9
18+
flutter: 3.44.3
1919
xcode: latest
2020
cocoapods: default
2121
groups:
@@ -44,7 +44,7 @@ workflows:
4444
script: flutter pub get
4545

4646
- name: Analyze code
47-
script: flutter analyze
47+
script: flutter analyze --no-fatal-warnings
4848

4949
- name: Install applesimutils
5050
script: |
@@ -88,7 +88,7 @@ workflows:
8888
cancel_previous_builds: true
8989

9090
environment:
91-
flutter: 3.41.9
91+
flutter: 3.44.3
9292
xcode: latest
9393
cocoapods: default
9494
ios_signing:
@@ -123,7 +123,7 @@ workflows:
123123
script: flutter pub get
124124

125125
- name: Analyze code
126-
script: flutter analyze
126+
script: flutter analyze --no-fatal-warnings
127127

128128
- name: Install applesimutils
129129
script: |

mobile-app/analysis_options.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
include: package:flutter_lints/flutter.yaml
22

33
analyzer:
4-
exclude: [
5-
temp/**,
6-
lib/app/app.dart,
7-
lib/app/app.locator.dart,
8-
lib/app/app.logger.dart,
9-
lib/app/app.router.dart
10-
]
4+
exclude:
5+
# Flutter generated files
6+
- build/**
7+
- android/**
8+
- ios/**
9+
- web/**
10+
- windows/**
11+
- macos/**
12+
- linux/**
13+
# Our generated files
14+
- temp/**
15+
- lib/app/app.dart
16+
- lib/app/app.locator.dart
17+
- lib/app/app.logger.dart
18+
- lib/app/app.router.dart
1119
errors:
12-
todo: warning
20+
todo: info
1321
linter:
1422
rules:
1523
avoid_print: false

mobile-app/android/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ gradle-wrapper.jar
55
/gradlew.bat
66
/local.properties
77
GeneratedPluginRegistrant.java
8+
.cxx/
89

910
# Remember to never publicly share your keystore.
10-
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
# See https://flutter.dev/to/reference-keystore
1112
key.properties
13+
**/*.keystore
14+
**/*.jks

mobile-app/android/app/build.gradle

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)