Skip to content
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 .github/workflows/analytics_flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.19.0
flutter-version: 3.29.2

- name: Get dependencies
run: cd packages/core && flutter pub get
Expand Down
6 changes: 3 additions & 3 deletions packages/core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ dependencies:
http: ">=0.13.6 <2.0.0"
logger: ^2.4.0
path_provider: ^2.1.4
flutter_fgbg: ^0.6.0
flutter_fgbg: ^0.7.1
shared_preferences: ^2.2.2
web: ">=0.3.0 <=1.0.0"
web: ^1.1.1

dev_dependencies:
build_runner: ^2.4.7
Expand All @@ -32,7 +32,7 @@ dev_dependencies:
fake_async: ^1.0.0
flutter_lints: ^4.0.0
json_serializable: ^6.8.0
pigeon: ^7.2.1
pigeon: ^22.7.2
mockito: ^5.3.2

flutter:
Expand Down
21 changes: 6 additions & 15 deletions packages/core/test/mocks/mocks.mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1772,24 +1772,24 @@ class MockWidgetsBinding extends _i1.Mock implements _i25.WidgetsBinding {
);

@override
_i4.Future<void> handlePopRoute() => (super.noSuchMethod(
_i4.Future<bool> handlePopRoute() => (super.noSuchMethod(
Invocation.method(
#handlePopRoute,
[],
),
returnValue: _i4.Future<void>.value(),
returnValueForMissingStub: _i4.Future<void>.value(),
) as _i4.Future<void>);
returnValueForMissingStub: _i4.Future<bool>.value(true),
) as _i4.Future<bool>);

@override
_i4.Future<void> handlePushRoute(String? route) => (super.noSuchMethod(
_i4.Future<bool> handlePushRoute(String? route) => (super.noSuchMethod(
Invocation.method(
#handlePushRoute,
[route],
),
returnValue: _i4.Future<void>.value(),
returnValueForMissingStub: _i4.Future<void>.value(),
) as _i4.Future<void>);
returnValueForMissingStub: _i4.Future<bool>.value(true),
) as _i4.Future<bool>);

@override
void handleAppLifecycleStateChanged(_i9.AppLifecycleState? state) =>
Expand Down Expand Up @@ -2177,15 +2177,6 @@ class MockWidgetsBinding extends _i1.Mock implements _i25.WidgetsBinding {
returnValueForMissingStub: null,
);

@override
void resetLifecycleState() => super.noSuchMethod(
Invocation.method(
#resetLifecycleState,
[],
),
returnValueForMissingStub: null,
);

@override
_i4.Future<T> scheduleTask<T>(
_i26.TaskCallback<T>? task,
Expand Down