Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update some versions #96

Merged
merged 5 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutterSdkVersion": "3.7.0",
"flutterSdkVersion": "3.13.8",
"flavors": {}
}
6 changes: 6 additions & 0 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ jobs:
fileName: 'google-services.json'
fileDir: 'android/app/'
encodedString: ${{ secrets.ANDROID_GOOGLE_SERVICES_JSON_BASE_64 }}
- name: Create firebase_app_id_file.json
uses: timheuer/[email protected]
with:
fileName: 'firebase_app_id_file.json'
fileDir: 'ios/'
encodedString: ${{ secrets.IOS_FIREBASE_JSON_BASE_64 }}
- name: Get dependencies
uses: maierj/[email protected]
with:
Expand Down
3 changes: 1 addition & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ linter:
- exhaustive_cases
- file_names
- hash_and_equals
- iterable_contains_unrelated_type
- library_names
- lines_longer_than_80_chars
- list_remove_unrelated_type
- collection_methods_unrelated_type
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_default_cases
Expand Down
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ android {
}
lintOptions {
checkReleaseBuilds false
baseline file("lint-baseline.xml")
}
}

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
16 changes: 0 additions & 16 deletions android/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

**Lint: Check code format**

### lint_check_language_sorting

```sh
[bundle exec] fastlane lint_check_language_sorting
```

**Lint: Check code format**

### lint_analyze

```sh
Expand All @@ -61,14 +53,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

**Lint: Analyze code**

### lint_code_metrics

```sh
[bundle exec] fastlane lint_code_metrics
```

**Lint: Code metrics**

### lints

```sh
Expand Down
32 changes: 6 additions & 26 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ private_lane :flutter_command do |options|
sh_on_root(command: "fvm flutter #{command}")
end

private_lane :dart_command do |options|
command = options[:command]
sh_on_root(command: "fvm dart #{command}")
end

desc "**Clean project**"
private_lane :clean do
flutter_command(command: "clean")
Expand All @@ -42,43 +47,18 @@ end

desc "**Lint: Check code format**"
lane :lint_format do
flutter_command(command: "format --set-exit-if-changed .")
end

desc "**Lint: Check code format**"
lane :lint_check_language_sorting do
current_content = sh_on_root(command: "cat lib/l10n/intl_en.arb")
flutter_command(command: "pub run arb_utils sort lib/l10n/intl_en.arb")
new_content = sh_on_root(command: "cat lib/l10n/intl_en.arb")
unless current_content == new_content
UI.user_error!("Language file is not sorted")
end
dart_command(command: "format --set-exit-if-changed lib")
end

desc "**Lint: Analyze code**"
lane :lint_analyze do
flutter_command(command: "analyze .")
end

desc "**Lint: Code metrics**"
lane :lint_code_metrics do
result = flutter_command(command: "pub run dart_code_metrics:metrics analyze lib --fatal-style --fatal-performance --fatal-warnings")
UI.message(result)
unless result.include? "✔ no issues found!"
UI.user_error!("Code metrics error happened")
end

flutter_command(command: "pub run dart_code_metrics:metrics check-unused-code lib --fatal-unused")
flutter_command(command: "pub run dart_code_metrics:metrics check-unused-files lib --fatal-unused --exclude=lib/gen/assets.gen.dart")
end


desc "**Run linters**"
lane :lints do
lint_format
lint_check_language_sorting
lint_analyze
lint_code_metrics
end

desc "**Check generated code is fine**"
Expand Down
16 changes: 0 additions & 16 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

**Lint: Check code format**

### lint_check_language_sorting

```sh
[bundle exec] fastlane lint_check_language_sorting
```

**Lint: Check code format**

### lint_analyze

```sh
Expand All @@ -61,14 +53,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

**Lint: Analyze code**

### lint_code_metrics

```sh
[bundle exec] fastlane lint_code_metrics
```

**Lint: Code metrics**

### lints

```sh
Expand Down
111 changes: 62 additions & 49 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,70 +3,81 @@ PODS:
- bugsee_flutter (5.0.2):
- Bugsee (= 3.2.1)
- Flutter
- Firebase/CoreOnly (10.1.0):
- FirebaseCore (= 10.1.0)
- Firebase/Crashlytics (10.1.0):
- Firebase/CoreOnly (10.18.0):
- FirebaseCore (= 10.18.0)
- Firebase/Crashlytics (10.18.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 10.1.0)
- firebase_core (2.2.0):
- Firebase/CoreOnly (= 10.1.0)
- FirebaseCrashlytics (~> 10.18.0)
- firebase_core (2.24.2):
- Firebase/CoreOnly (= 10.18.0)
- Flutter
- firebase_crashlytics (3.0.5):
- Firebase/Crashlytics (= 10.1.0)
- firebase_crashlytics (3.4.8):
- Firebase/Crashlytics (= 10.18.0)
- firebase_core
- Flutter
- FirebaseCore (10.1.0):
- FirebaseCore (10.18.0):
- FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/Logger (~> 7.8)
- FirebaseCoreInternal (10.1.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseCrashlytics (10.1.0):
- GoogleUtilities/Environment (~> 7.12)
- GoogleUtilities/Logger (~> 7.12)
- FirebaseCoreExtension (10.19.0):
- FirebaseCore (~> 10.0)
- FirebaseCoreInternal (10.19.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseCrashlytics (10.18.0):
- FirebaseCore (~> 10.5)
- FirebaseInstallations (~> 10.0)
- FirebaseSessions (~> 10.5)
- GoogleDataTransport (~> 9.2)
- GoogleUtilities/Environment (~> 7.8)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesObjC (~> 2.1)
- FirebaseInstallations (10.1.0):
- FirebaseInstallations (10.19.0):
- FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8)
- PromisesObjC (~> 2.1)
- FirebaseSessions (10.19.0):
- FirebaseCore (~> 10.5)
- FirebaseCoreExtension (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleDataTransport (~> 9.2)
- GoogleUtilities/Environment (~> 7.10)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesSwift (~> 2.1)
- Flutter (1.0.0)
- flutter_email_sender (0.0.1):
- Flutter
- flutter_native_splash (0.0.1):
- Flutter
- flutter_secure_storage (3.3.1):
- Flutter
- flutter_web_browser (0.17.1):
- flutter_secure_storage (6.0.0):
- Flutter
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- GoogleDataTransport (9.2.0):
- GoogleDataTransport (9.3.0):
- GoogleUtilities/Environment (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Environment (7.10.0):
- GoogleUtilities/Environment (7.12.0):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.10.0):
- GoogleUtilities/Logger (7.12.0):
- GoogleUtilities/Environment
- "GoogleUtilities/NSData+zlib (7.10.0)"
- GoogleUtilities/UserDefaults (7.10.0):
- "GoogleUtilities/NSData+zlib (7.12.0)"
- GoogleUtilities/UserDefaults (7.12.0):
- GoogleUtilities/Logger
- nanopb (2.30909.0):
- nanopb/decode (= 2.30909.0)
- nanopb/encode (= 2.30909.0)
- nanopb/decode (2.30909.0)
- nanopb/encode (2.30909.0)
- nanopb (2.30909.1):
- nanopb/decode (= 2.30909.1)
- nanopb/encode (= 2.30909.1)
- nanopb/decode (2.30909.1)
- nanopb/encode (2.30909.1)
- package_info_plus (0.4.5):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- PromisesObjC (2.1.1)
- PromisesObjC (2.3.1)
- PromisesSwift (2.3.1):
- PromisesObjC (= 2.3.1)
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
Expand All @@ -86,9 +97,8 @@ DEPENDENCIES:
- flutter_email_sender (from `.symlinks/plugins/flutter_email_sender/ios`)
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
- flutter_web_browser (from `.symlinks/plugins/flutter_web_browser/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
Expand All @@ -99,14 +109,17 @@ SPEC REPOS:
- Bugsee
- Firebase
- FirebaseCore
- FirebaseCoreExtension
- FirebaseCoreInternal
- FirebaseCrashlytics
- FirebaseInstallations
- FirebaseSessions
- FMDB
- GoogleDataTransport
- GoogleUtilities
- nanopb
- PromisesObjC
- PromisesSwift

EXTERNAL SOURCES:
bugsee_flutter:
Expand All @@ -123,12 +136,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_native_splash/ios"
flutter_secure_storage:
:path: ".symlinks/plugins/flutter_secure_storage/ios"
flutter_web_browser:
:path: ".symlinks/plugins/flutter_web_browser/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/ios"
:path: ".symlinks/plugins/path_provider_foundation/darwin"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/ios"
sqflite:
Expand All @@ -141,30 +152,32 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Bugsee: bee7c99744047186669df53f8b7ed77cb50ef2f1
bugsee_flutter: ef54a68c4fa59caf82f8954bbf03156965e7b6c4
Firebase: 444b35a9c568a516666213c2f6cccd10cb12559f
firebase_core: d2242c6f318db1d0dcecfbfa491e943337b0d755
firebase_crashlytics: f56022b932775045c810d01387b097234b204bd5
FirebaseCore: 55e7ae35991ccca4db03ff8d8df6ed5f17a3e4c7
FirebaseCoreInternal: 96d75228e10fd369564da51bd898414eb0f54df5
FirebaseCrashlytics: 93906d7085eb3e4dd90d08fe42a15d4f0406b6ab
FirebaseInstallations: 99d24bac0243cf8b0e96cf5426340d211f0bcc80
Firebase: 414ad272f8d02dfbf12662a9d43f4bba9bec2a06
firebase_core: 0af4a2b24f62071f9bf283691c0ee41556dcb3f5
firebase_crashlytics: 55714f63ae0973c54b3a721c451ae5f815086c1f
FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f
FirebaseCoreExtension: c08d14c7b22e07994e876d837e6f58642f340087
FirebaseCoreInternal: b444828ea7cfd594fca83046b95db98a2be4f290
FirebaseCrashlytics: 86d5bce01f42fa1db265f87ff1d591f04db610ec
FirebaseInstallations: 033d199474164db20c8350736842a94fe717b960
FirebaseSessions: e5f4caa188dc8bc6142abc974355be75b042215e
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_email_sender: 02d7443217d8c41483223627972bfdc09f74276b
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec
flutter_web_browser: 7bccaafbb0c5b8862afe7bcd158f15557109f61f
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe
GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34
nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
path_provider_foundation: 37748e03f12783f9de2cb2c4eadfaa25fe6d4852
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
PromisesSwift: 28dca69a9c40779916ac2d6985a0192a5cb4a265
shared_preferences_foundation: 297b3ebca31b34ec92be11acd7fb0ba932c822ca
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
url_launcher_ios: ae1517e5e344f5544fb090b079e11f399dfbe4d2
webview_flutter_wkwebview: b7e70ef1ddded7e69c796c7390ee74180182971f

PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048

COCOAPODS: 1.11.3
COCOAPODS: 1.14.3
Loading