Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodoering committed Dec 31, 2022
1 parent 1d206b2 commit 2fbea01
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 107 deletions.
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
buildscript {
ext {
// defines the package used by https://pub.dev/packages/flutter_ffmpeg
flutterFFmpegPackage = "full-gpl-lts"
flutterFFmpegPackage = 'full-gpl-lts'
}

ext.kotlin_version = '1.8.0'

repositories {
google()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

Expand Down
2 changes: 2 additions & 0 deletions lib/components/application/provider/application_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class Application with LoggerMixin {
log.fine('authenticated after initialization');

if (redirect != null) {
// TODO: should push as we don't want to build the stack when deep
// linking into the app
_ref.read(routerProvider).go(redirect);
} else {
_ref.read(routerProvider).goNamed(
Expand Down
7 changes: 4 additions & 3 deletions lib/core/services/connectivity_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ final connectivityProvider =

class ConnectivityNotifier extends StateNotifier<ConnectivityResult> {
ConnectivityNotifier() : super(ConnectivityResult.mobile) {
Connectivity().onConnectivityChanged.listen((connectivity) {
state = connectivity;
});
Connectivity().onConnectivityChanged.listen(
(connectivity) => state = connectivity,
onError: logErrorHandler,
);
}

Future<void> initialize() async {
Expand Down
110 changes: 13 additions & 97 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ packages:
name: any_link_preview
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.9"
version: "3.0.0"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -161,42 +161,14 @@ packages:
name: connectivity_plus
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.7"
connectivity_plus_linux:
dependency: transitive
description:
name: connectivity_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
connectivity_plus_macos:
dependency: transitive
description:
name: connectivity_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.4"
version: "3.0.2"
connectivity_plus_platform_interface:
dependency: transitive
description:
name: connectivity_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
connectivity_plus_web:
dependency: transitive
description:
name: connectivity_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.4"
connectivity_plus_windows:
dependency: transitive
description:
name: connectivity_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.2"
version: "1.2.3"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -345,7 +317,7 @@ packages:
name: file_picker
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.1"
version: "5.2.4"
fixnum:
dependency: transitive
description:
Expand Down Expand Up @@ -380,7 +352,7 @@ packages:
name: flutter_displaymode
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.0"
version: "0.5.0"
flutter_feather_icons:
dependency: "direct main"
description:
Expand Down Expand Up @@ -705,42 +677,14 @@ packages:
name: package_info_plus
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
package_info_plus_linux:
dependency: transitive
description:
name: package_info_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
package_info_plus_macos:
dependency: transitive
description:
name: package_info_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "3.0.2"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
package_info_plus_web:
dependency: transitive
description:
name: package_info_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
package_info_plus_windows:
dependency: transitive
description:
name: package_info_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
version: "2.0.1"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -954,56 +898,28 @@ packages:
name: sentry
url: "https://pub.dartlang.org"
source: hosted
version: "6.13.0"
version: "6.18.1"
sentry_flutter:
dependency: "direct main"
description:
name: sentry_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "6.13.0"
version: "6.18.1"
share_plus:
dependency: "direct main"
description:
name: share_plus
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.0"
share_plus_linux:
dependency: transitive
description:
name: share_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
share_plus_macos:
dependency: transitive
description:
name: share_plus_macos
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
version: "6.3.0"
share_plus_platform_interface:
dependency: transitive
description:
name: share_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.1"
share_plus_web:
dependency: transitive
description:
name: share_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
share_plus_windows:
dependency: transitive
description:
name: share_plus_windows
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0"
version: "3.2.0"
shared_preferences:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1439,7 +1355,7 @@ packages:
name: wakelock_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0"
version: "0.2.1"
watcher:
dependency: transitive
description:
Expand Down Expand Up @@ -1502,7 +1418,7 @@ packages:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "2.7.0"
version: "3.1.3"
xdg_directories:
dependency: transitive
description:
Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ environment:

dependencies:
android_path_provider: ^0.3.0
any_link_preview: ^2.0.9
any_link_preview: ^3.0.0
built_collection: ^5.1.1
collection: ^1.15.0
connectivity_plus: ^2.0.2
connectivity_plus: ^3.0.2
cupertino_icons: ^1.0.4
dart_twitter_api: ^0.5.8
# dart_twitter_api:
Expand All @@ -33,7 +33,7 @@ dependencies:
flutter:
sdk: flutter
flutter_colorpicker: ^1.0.3
flutter_displaymode: ^0.4.0
flutter_displaymode: ^0.5.0
flutter_feather_icons: ^2.0.0+1
flutter_ffmpeg: ^0.4.0
flutter_image: ^4.1.0
Expand All @@ -43,7 +43,7 @@ dependencies:
flutter_markdown: ^0.6.10
flutter_riverpod: ^2.1.1
freezed_annotation: ^2.1.0
go_router: ^4.0.0 # TODO: update once redirecting with deeplink is fixed
go_router: 4.0.0 # TODO: replace go_router
google_fonts: ^3.0.0
http: ^0.13.3
humanizer: ^2.0.0
Expand All @@ -54,7 +54,7 @@ dependencies:
material_color_utilities: ^0.1.5
mime_type: ^1.0.0
modal_bottom_sheet: ^2.0.0
package_info_plus: ^2.0.0
package_info_plus: ^3.0.2
path_provider: ^2.0.3
permission_handler: ^10.0.0
photo_view:
Expand All @@ -66,7 +66,7 @@ dependencies:
riverpod_annotation: ^1.0.6
scroll_to_index: ^3.0.0
sentry_flutter: ^6.9.1
share_plus: ^5.0.0
share_plus: ^6.3.0
shared_preferences: ^2.0.7
shimmer: ^2.0.0
sliver_tools: ^0.2.6
Expand Down

0 comments on commit 2fbea01

Please sign in to comment.