Skip to content

Commit

Permalink
feat: flutter 3.24 (#1299)
Browse files Browse the repository at this point in the history
* fix: deprecation warnings

* fix: kotlin plugin order

* chore: working ios build

* chore: update workflows to use flutter 3.24

* fix: challenge questions type

* fix: build errors

* fix: ios inappwebview
  • Loading branch information
Nirajn2311 authored Nov 13, 2024
1 parent c1e9f58 commit 443af1b
Show file tree
Hide file tree
Showing 18 changed files with 382 additions and 290 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ jobs:
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- name: Setup Flutter 3.22.x
- name: Setup Flutter 3.24.x
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2
with:
flutter-version: "3.22.x"
flutter-version: "3.24.x"
channel: "stable"
cache: true
cache-key: flutter-3.22.x
cache-key: flutter-3.24.x
cache-path: ${{ runner.tool_cache }}/flutter

- name: Create .env file
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flutter-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- name: Setup Flutter 3.22.x
- name: Setup Flutter 3.24.x
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2
with:
flutter-version: "3.22.x"
flutter-version: "3.24.x"
channel: "stable"
cache: true
cache-key: flutter-3.22.x
cache-key: flutter-3.24.x
cache-path: ${{ runner.tool_cache }}/flutter

- name: Create .env file
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mobile-curriculum-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: pnpm

- name: Setup Flutter 3.22.x
- name: Setup Flutter 3.24.x
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 # v2
with:
flutter-version: "3.22.x"
flutter-version: "3.24.x"
channel: "stable"
cache: true
cache-key: flutter-3.22.x
cache-key: flutter-3.24.x
cache-path: ${{ runner.tool_cache }}/flutter

- name: Set freeCodeCamp Environment Variables
Expand Down
4 changes: 2 additions & 2 deletions codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ workflows:
cancel_previous_builds: true

environment:
flutter: 3.22.2
flutter: 3.24.4
xcode: latest
cocoapods: default
groups:
Expand Down Expand Up @@ -86,7 +86,7 @@ workflows:
cancel_previous_builds: true

environment:
flutter: 3.22.2
flutter: 3.24.4
xcode: latest
cocoapods: default
ios_signing:
Expand Down
2 changes: 1 addition & 1 deletion mobile-app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ plugins {
id 'com.google.gms.google-services'
id 'com.google.firebase.crashlytics'
// END: FlutterFire Configuration
id "dev.flutter.flutter-gradle-plugin"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}

def localProperties = new Properties()
Expand Down
2 changes: 1 addition & 1 deletion mobile-app/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ pluginManagement {
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.1" apply false
id "org.jetbrains.kotlin.android" version "1.9.10" apply false
// START: FlutterFire Configuration
id "com.google.gms.google-services" version "4.3.15" apply false
id "com.google.firebase.crashlytics" version "2.8.1" apply false
// END: FlutterFire Configuration
id "org.jetbrains.kotlin.android" version "1.9.10" apply false
}

include ":app"
2 changes: 1 addition & 1 deletion mobile-app/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
platform :ios, '13.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
Loading

0 comments on commit 443af1b

Please sign in to comment.