From ec381311ff9fb896a39b4af1a8c810dfac2e522f Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Tue, 20 Aug 2024 17:42:57 +0200 Subject: [PATCH] Update flutter_fgbg to 0.6.0 --- packages/core/lib/utils/lifecycle/fgbg.dart | 2 +- packages/core/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/lib/utils/lifecycle/fgbg.dart b/packages/core/lib/utils/lifecycle/fgbg.dart index 5a98665..3dc256b 100644 --- a/packages/core/lib/utils/lifecycle/fgbg.dart +++ b/packages/core/lib/utils/lifecycle/fgbg.dart @@ -4,7 +4,7 @@ import 'package:segment_analytics/utils/lifecycle/lifecycle.dart'; import 'package:flutter_fgbg/flutter_fgbg.dart'; class FGBGLifecycle extends LifeCycle { - final _stream = FGBGEvents.stream; + final _stream = FGBGEvents.instance.stream; @override StreamSubscription listen(void Function(AppStatus event)? onData, diff --git a/packages/core/pubspec.yaml b/packages/core/pubspec.yaml index a959e3e..264a92b 100644 --- a/packages/core/pubspec.yaml +++ b/packages/core/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: http: ">=0.13.6 <2.0.0" logger: ^2.0.2+1 path_provider: ^2.0.12 - flutter_fgbg: ^0.3.0 + flutter_fgbg: ^0.6.0 shared_preferences: ^2.2.2 web: ^0.5.1