Skip to content

Commit 98f3623

Browse files
authored
chore(llc): cleaned up dependencies and analyzer warnings (#1060)
* cleaned up dependencies and analyzer warnings * flutter min version bumped * bump dart version * workflow fixes * formatting applied * added renderscript-tookit lib * tweaks * bumped noise cancellation, stream_webrtc and more * formatting tweaks * fixing pana * move analytics options to package level * fix dogfooding analyzer errors * fix * format fix * increase heap size
1 parent b540949 commit 98f3623

File tree

284 files changed

+7848
-6882
lines changed

Some content is hidden

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

284 files changed

+7848
-6882
lines changed

.github/workflows/app-distribute.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
default: true
3030

3131
env:
32-
FLUTTER_VERSION: "3.29.0"
32+
FLUTTER_VERSION: "3.35.3"
3333
FLUTTER_CHANNEL: stable
3434
ENV_PROPERTIES: ${{ secrets.ENV_PROPERTIES }}
3535
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
@@ -188,4 +188,4 @@ jobs:
188188
uses: bluefireteam/flutter-gh-pages@v9
189189
with:
190190
baseHref: /stream-video-flutter/
191-
workingDir: dogfooding
191+
workingDir: dogfooding

.github/workflows/legacy_version_analyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: legacy_version_analyze
33
env:
44
# Note: The versions below should be manually updated after a new stable
55
# version comes out.
6-
flutter_version: "3.27.4"
6+
flutter_version: "3.32.0"
77

88
on:
99
push:

.github/workflows/stream_video_flutter_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: stream_video_flutter_workflow
22

33
env:
44
FLUTTER_CHANNEL: stable
5-
FLUTTER_VERSION: 3.29.0
5+
FLUTTER_VERSION: 3.35.3
66
ENV_PROPERTIES: ${{ secrets.ENV_PROPERTIES }}
77

88
on:

analysis_options.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
include: all_lint_rules.yaml
22

3+
formatter:
4+
trailing_commas: preserve
5+
page_width: 80
6+
37
analyzer:
48
language:
59
strict-casts: false

dogfooding/analysis_options.yaml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,10 @@
1-
# This file configures the analyzer, which statically analyzes Dart code to
2-
# check for errors, warnings, and lints.
3-
#
4-
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5-
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6-
# invoked from the command line by running `flutter analyze`.
1+
include: ../analysis_options.yaml
72

8-
# The following line activates a set of recommended lints for Flutter apps,
9-
# packages, and plugins designed to encourage good coding practices.
10-
include: package:flutter_lints/flutter.yaml
3+
formatter:
4+
trailing_commas: preserve
5+
page_width: 80
116

12-
linter:
13-
# The lint rules applied to this project can be customized in the
14-
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15-
# included above or to enable additional rules. A list of all available lints
16-
# and their documentation is published at https://dart.dev/lints.
17-
#
18-
# Instead of disabling a lint rule for the entire project in the
19-
# section below, it can also be suppressed for a single line of code
20-
# or a specific dart file by using the `// ignore: name_of_lint` and
21-
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
22-
# producing the lint.
23-
rules:
24-
# avoid_print: false # Uncomment to disable the `avoid_print` rule
25-
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
26-
27-
# Additional information about this file can be found at
28-
# https://dart.dev/guides/language/analysis-options
7+
analyzer:
8+
exclude:
9+
# exclude all the generated files
10+
- lib/**/*.*.dart

dogfooding/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ android {
4040
namespace = "io.getstream.video.flutter.dogfooding"
4141
}
4242

43-
compileSdkVersion 36
44-
ndkVersion = "27.0.12077973"
43+
compileSdkVersion flutter.compileSdkVersion
44+
ndkVersion = flutter.ndkVersion
4545

4646
compileOptions {
4747
sourceCompatibility JavaVersion.VERSION_17

dogfooding/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dlint.nullness.ignore-deprecated=true
1+
org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dlint.nullness.ignore-deprecated=true
22
android.useAndroidX=true
33
android.enableJetifier=true
44
android.defaults.buildfeatures.buildconfig=true

dogfooding/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.10.2-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip

dogfooding/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.8.0' apply false
22-
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
21+
id "com.android.application" version '8.12.1' apply false
22+
id "org.jetbrains.kotlin.android" version "2.2.0" apply false
2323
id "com.google.gms.google-services" version "4.4.0" apply false
2424
id "com.google.firebase.crashlytics" version "2.8.1" apply false
2525
}

dogfooding/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>

0 commit comments

Comments
 (0)