Skip to content

Commit

Permalink
Merge branch 'master' into feature/remove-flutter_custom_tabs
Browse files Browse the repository at this point in the history
# Conflicts:
#	ios/Podfile.lock
#	lib/features/app/error/outage/widgets/outage_social_section.dart
#	lib/features/app/widgets/link_web_view.dart
#	lib/features/more/contributors/contributors_view.dart
#	lib/features/schedule/schedule_view.dart
#	lib/features/schedule/schedule_viewmodel.dart
#	lib/features/student/grades/widgets/grade_button.dart
#	lib/features/welcome/login/login_view.dart
#	pubspec.lock
#	pubspec.yaml
  • Loading branch information
LouisPhilippeHeon committed Nov 13, 2024
2 parents 543251e + 88d2341 commit 4932ae1
Show file tree
Hide file tree
Showing 79 changed files with 674 additions and 509 deletions.
10 changes: 5 additions & 5 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include: package:lint/analysis_options.yaml
include: package:flutter_lints/flutter.yaml

linter:
rules:
sort_pub_dependencies: false
directives_ordering: false
require_trailing_commas: false
depend_on_referenced_packages: false
analyzer:
language:
strict-casts: true
# strict-inference: true
# strict-raw-types: true
exclude:
- "lib/generated"
- "*.mocks.dart"
3 changes: 1 addition & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if (keystorePropertiesFile.exists()) {
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply from: project(':flutter_config').projectDir.getPath() + "/dotenv.gradle"
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

Expand All @@ -50,7 +49,7 @@ android {
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
manifestPlaceholders += [mapsApiKey: project.env.get("MAPS_API_KEY") ?:"$System.env.MAPS_API_KEY"]
manifestPlaceholders += [mapsApiKey: "$System.env.MAPS_API_KEY"]
}

signingConfigs {
Expand Down
123 changes: 58 additions & 65 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,64 +6,64 @@ PODS:
- Flutter
- device_info_plus (0.0.1):
- Flutter
- Firebase/Analytics (11.2.0):
- Firebase/Analytics (11.4.0):
- Firebase/Core
- Firebase/Core (11.2.0):
- Firebase/Core (11.4.0):
- Firebase/CoreOnly
- FirebaseAnalytics (~> 11.2.0)
- Firebase/CoreOnly (11.2.0):
- FirebaseCore (= 11.2.0)
- Firebase/Crashlytics (11.2.0):
- FirebaseAnalytics (~> 11.4.0)
- Firebase/CoreOnly (11.4.0):
- FirebaseCore (= 11.4.0)
- Firebase/Crashlytics (11.4.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 11.2.0)
- Firebase/RemoteConfig (11.2.0):
- FirebaseCrashlytics (~> 11.4.0)
- Firebase/RemoteConfig (11.4.0):
- Firebase/CoreOnly
- FirebaseRemoteConfig (~> 11.2.0)
- firebase_analytics (11.3.3):
- Firebase/Analytics (= 11.2.0)
- FirebaseRemoteConfig (~> 11.4.0)
- firebase_analytics (11.3.4):
- Firebase/Analytics (= 11.4.0)
- firebase_core
- Flutter
- firebase_core (3.6.0):
- Firebase/CoreOnly (= 11.2.0)
- firebase_core (3.7.0):
- Firebase/CoreOnly (= 11.4.0)
- Flutter
- firebase_crashlytics (4.1.3):
- Firebase/Crashlytics (= 11.2.0)
- firebase_crashlytics (4.1.4):
- Firebase/Crashlytics (= 11.4.0)
- firebase_core
- Flutter
- firebase_remote_config (5.1.3):
- Firebase/RemoteConfig (= 11.2.0)
- firebase_remote_config (5.1.4):
- Firebase/RemoteConfig (= 11.4.0)
- firebase_core
- Flutter
- FirebaseABTesting (11.4.0):
- FirebaseCore (~> 11.0)
- FirebaseAnalytics (11.2.0):
- FirebaseAnalytics/AdIdSupport (= 11.2.0)
- FirebaseAnalytics (11.4.0):
- FirebaseAnalytics/AdIdSupport (= 11.4.0)
- FirebaseCore (~> 11.0)
- FirebaseInstallations (~> 11.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- nanopb (~> 3.30910.0)
- FirebaseAnalytics/AdIdSupport (11.2.0):
- FirebaseAnalytics/AdIdSupport (11.4.0):
- FirebaseCore (~> 11.0)
- FirebaseInstallations (~> 11.0)
- GoogleAppMeasurement (= 11.2.0)
- GoogleAppMeasurement (= 11.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- nanopb (~> 3.30910.0)
- FirebaseCore (11.2.0):
- FirebaseCore (11.4.0):
- FirebaseCoreInternal (~> 11.0)
- GoogleUtilities/Environment (~> 8.0)
- GoogleUtilities/Logger (~> 8.0)
- FirebaseCoreExtension (11.4.1):
- FirebaseCore (~> 11.0)
- FirebaseCoreInternal (11.4.2):
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- FirebaseCrashlytics (11.2.0):
- FirebaseCore (~> 11.0)
- FirebaseCrashlytics (11.4.0):
- FirebaseCore (~> 11.4)
- FirebaseInstallations (~> 11.0)
- FirebaseRemoteConfigInterop (~> 11.0)
- FirebaseSessions (~> 11.0)
Expand All @@ -76,7 +76,7 @@ PODS:
- GoogleUtilities/Environment (~> 8.0)
- GoogleUtilities/UserDefaults (~> 8.0)
- PromisesObjC (~> 2.4)
- FirebaseRemoteConfig (11.2.0):
- FirebaseRemoteConfig (11.4.0):
- FirebaseABTesting (~> 11.0)
- FirebaseCore (~> 11.0)
- FirebaseInstallations (~> 11.0)
Expand All @@ -85,9 +85,9 @@ PODS:
- GoogleUtilities/Environment (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- FirebaseRemoteConfigInterop (11.4.0)
- FirebaseSessions (11.3.0):
- FirebaseCore (~> 11.0)
- FirebaseCoreExtension (~> 11.0)
- FirebaseSessions (11.4.0):
- FirebaseCore (~> 11.4)
- FirebaseCoreExtension (~> 11.4)
- FirebaseInstallations (~> 11.0)
- GoogleDataTransport (~> 10.0)
- GoogleUtilities/Environment (~> 8.0)
Expand All @@ -96,15 +96,8 @@ PODS:
- PromisesSwift (~> 2.1)
- FirebaseSharedSwift (11.4.0)
- Flutter (1.0.0)
- flutter_config (0.0.1):
- Flutter
- flutter_inappwebview_ios (0.0.1):
- flutter_custom_tabs_ios (2.0.0):
- Flutter
- flutter_inappwebview_ios/Core (= 0.0.1)
- OrderedSet (~> 6.0.3)
- flutter_inappwebview_ios/Core (0.0.1):
- Flutter
- OrderedSet (~> 6.0.3)
- flutter_secure_storage (6.0.0):
- Flutter
- fluttertoast (0.0.2):
Expand All @@ -116,21 +109,21 @@ PODS:
- Flutter
- Google-Maps-iOS-Utils (< 7.0, >= 5.0)
- GoogleMaps (< 10.0, >= 8.4)
- GoogleAppMeasurement (11.2.0):
- GoogleAppMeasurement/AdIdSupport (= 11.2.0)
- GoogleAppMeasurement (11.4.0):
- GoogleAppMeasurement/AdIdSupport (= 11.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- nanopb (~> 3.30910.0)
- GoogleAppMeasurement/AdIdSupport (11.2.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 11.2.0)
- GoogleAppMeasurement/AdIdSupport (11.4.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 11.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- nanopb (~> 3.30910.0)
- GoogleAppMeasurement/WithoutAdIdSupport (11.2.0):
- GoogleAppMeasurement/WithoutAdIdSupport (11.4.0):
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
Expand Down Expand Up @@ -178,7 +171,6 @@ PODS:
- nanopb/encode (= 3.30910.0)
- nanopb/decode (3.30910.0)
- nanopb/encode (3.30910.0)
- OrderedSet (6.0.3)
- package_info_plus (0.4.5):
- Flutter
- path_provider_foundation (0.0.1):
Expand All @@ -199,6 +191,9 @@ PODS:
- Toast (4.1.1)
- url_launcher_ios (0.0.1):
- Flutter
- webview_flutter_wkwebview (0.0.1):
- Flutter
- FlutterMacOS

DEPENDENCIES:
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/darwin`)
Expand All @@ -209,8 +204,7 @@ DEPENDENCIES:
- firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`)
- firebase_remote_config (from `.symlinks/plugins/firebase_remote_config/ios`)
- Flutter (from `Flutter`)
- flutter_config (from `.symlinks/plugins/flutter_config/ios`)
- flutter_inappwebview_ios (from `.symlinks/plugins/flutter_inappwebview_ios/ios`)
- flutter_custom_tabs_ios (from `.symlinks/plugins/flutter_custom_tabs_ios/ios`)
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
- google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
Expand All @@ -222,6 +216,7 @@ DEPENDENCIES:
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
- SwiftyXMLParser (from `https://github.com/yahoojapan/SwiftyXMLParser.git`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)

SPEC REPOS:
trunk:
Expand All @@ -243,7 +238,6 @@ SPEC REPOS:
- GoogleMaps
- GoogleUtilities
- nanopb
- OrderedSet
- PromisesObjC
- PromisesSwift
- Toast
Expand All @@ -265,10 +259,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/firebase_remote_config/ios"
Flutter:
:path: Flutter
flutter_config:
:path: ".symlinks/plugins/flutter_config/ios"
flutter_inappwebview_ios:
:path: ".symlinks/plugins/flutter_inappwebview_ios/ios"
flutter_custom_tabs_ios:
:path: ".symlinks/plugins/flutter_custom_tabs_ios/ios"
flutter_secure_storage:
:path: ".symlinks/plugins/flutter_secure_storage/ios"
fluttertoast:
Expand All @@ -291,6 +283,8 @@ EXTERNAL SOURCES:
:git: https://github.com/yahoojapan/SwiftyXMLParser.git
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
webview_flutter_wkwebview:
:path: ".symlinks/plugins/webview_flutter_wkwebview/darwin"

CHECKOUT OPTIONS:
SwiftyXMLParser:
Expand All @@ -301,47 +295,46 @@ SPEC CHECKSUMS:
connectivity_plus: 4c41c08fc6d7c91f63bc7aec70ffe3730b04f563
device_calendar: 9cb33f88a02e19652ec7b8b122ca778f751b1f7b
device_info_plus: bf2e3232933866d73fe290f2942f2156cdd10342
Firebase: 98e6bf5278170668a7983e12971a66b2cd57fc8c
firebase_analytics: fbc57838bdb94eef1e0ff504f127d974ff2981ad
firebase_core: 2bedc3136ec7c7b8561c6123ed0239387b53f2af
firebase_crashlytics: 37d104d457b51760b48504a93a12b3bf70995d77
firebase_remote_config: d522653d828836503715498f1662901a6efcd809
Firebase: cf1b19f21410b029b6786a54e9764a0cacad3c99
firebase_analytics: 69a0f3e2ca2722c0758544eafcdcfa906b0f5227
firebase_core: f8c5b220a8f9c436fdbd075ae321cef3d96ef181
firebase_crashlytics: 4b31ac507cf01d25151cc34cbb0fec66d21c7138
firebase_remote_config: 1b2da0c0a4f781a970ccf84597b8092e3ec69142
FirebaseABTesting: aef1719704fade00b200827e7973f352efc4caee
FirebaseAnalytics: c36efd5710c60c17558650fa58c2066eca7e9265
FirebaseCore: a282032ae9295c795714ded2ec9c522fc237f8da
FirebaseAnalytics: 3feef9ae8733c567866342a1000691baaa7cad49
FirebaseCore: e0510f1523bc0eb21653cac00792e1e2bd6f1771
FirebaseCoreExtension: f1bc67a4702931a7caa097d8e4ac0a1b0d16720e
FirebaseCoreInternal: 35731192cab10797b88411be84940d2beb33a238
FirebaseCrashlytics: cfc69af5b53565dc6a5e563788809b5778ac4eac
FirebaseCrashlytics: 41bbdd2b514a8523cede0c217aee6ef7ecf38401
FirebaseInstallations: 6ef4a1c7eb2a61ee1f74727d7f6ce2e72acf1414
FirebaseRemoteConfig: fca0b2d017fc1de52b28a4e5bcf2007c1a840457
FirebaseRemoteConfig: 7655681d02417bc9b287338edb9d721ff79e1a4a
FirebaseRemoteConfigInterop: e76f46ffa4d6a65e273d4dfebb6a79e588cec136
FirebaseSessions: 655ff17f3cc1a635cbdc2d69b953878001f9e25b
FirebaseSessions: 3f56f177d9e53a85021d16b31f9a111849d1dd8b
FirebaseSharedSwift: 505dae2d05969dbf6d43749a642bb1bf230f0252
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_config: f48f0d47a284f1791aacce2687eabb3309ba7a41
flutter_inappwebview_ios: 6f63631e2c62a7c350263b13fa5427aedefe81d4
flutter_custom_tabs_ios: a651b18786388923b62de8c0537607de87c2eccf
flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
fluttertoast: e9a18c7be5413da53898f660530c56f35edfba9c
Google-Maps-iOS-Utils: 66d6de12be1ce6d3742a54661e7a79cb317a9321
google_maps_flutter_ios: e31555a04d1986ab130f2b9f24b6cdc861acc6d3
GoogleAppMeasurement: 76d4f8b36b03bd8381fa9a7fe2cc7f99c0a2e93a
GoogleAppMeasurement: 987769c4ca6b968f2479fbcc9fe3ce34af454b8e
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
GoogleMaps: 8939898920281c649150e0af74aa291c60f2e77d
GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d
in_app_review: 318597b3a06c22bb46dc454d56828c85f444f99d
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851
share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
sqflite_darwin: a553b1fd6fe66f53bbb0fe5b4f5bab93f08d7a13
sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
SwiftyXMLParser: 027d9e6fb54a38d95dccec025bcea9693f699c47
Toast: 1f5ea13423a1e6674c4abdac5be53587ae481c4e
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
webview_flutter_wkwebview: 0982481e3d9c78fd5c6f62a002fcd24fc791f1e4

PODFILE CHECKSUM: 18f1615a0bcd417392c9107b3e8dc59c76a68dac

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
3 changes: 1 addition & 2 deletions ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import UIKit
import Flutter
import GoogleMaps
import flutter_config

@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GMSServices.provideAPIKey(FlutterConfigPlugin.env(for: "MAPS_API_KEY") ?? "\(Bundle.main.object(forInfoDictionaryKey: "MAPS_API_KEY"))")
GMSServices.provideAPIKey("\(Bundle.main.object(forInfoDictionaryKey: "MAPS_API_KEY"))")
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
Expand Down
5 changes: 0 additions & 5 deletions l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

"close_button_text": "Close",

"update_version_title": "New version available",
"update_version_message": "A new version of the app is available. Do you want to update to the latest version?",
"update_version_message_force": "A new version of the app is available. Current version of app is no longer supported. Please update to the latest version.",
"update_version_button_text": "Update",

"title_schedule": "Schedule",
"title_student": "Student",
"title_dashboard": "Dashboard",
Expand Down
5 changes: 0 additions & 5 deletions l10n/intl_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

"close_button_text": "Fermer",

"update_version_title": "Nouvelle version disponible",
"update_version_message": "Une nouvelle version de l'application est disponible. Voulez-vous la télécharger maintenant?",
"update_version_message_force": "Une nouvelle version de l'application est disponible. La version présente n'est plus supportée. Télécharger-la maintenant.",
"update_version_button_text": "Mettre à jour",

"title_schedule": "Horaire",
"title_student": "Étudiant",
"title_dashboard": "Accueil",
Expand Down
5 changes: 1 addition & 4 deletions lib/constants/preferences_flags.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Package imports:
import 'package:enum_to_string/enum_to_string.dart';

enum PreferencesFlag {
// Schedule flags
scheduleCalendarFormat,
Expand Down Expand Up @@ -48,7 +45,7 @@ class DynamicPreferencesFlag {

@override
String toString() {
return EnumToString.convertToString(groupAssociationFlag) +
return groupAssociationFlag.name +
separator +
uniqueKey;
}
Expand Down
Loading

0 comments on commit 4932ae1

Please sign in to comment.