[go: nahoru, domu]

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(deps): upgrade example to flutter 3.19.6 #1168

Merged
merged 15 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
remove unnecessary changes
  • Loading branch information
matiasleyba committed May 6, 2024
commit 9976a1abbab9cbf2fde88875c48ac0e4f1bde957
1 change: 0 additions & 1 deletion flutter_news_example/.vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
"rxdart",
"scrollable",
"sdkroot",
"sqflite",
"serializable",
"shollister",
"signup",
Expand Down
2 changes: 0 additions & 2 deletions flutter_news_example/packages/news_blocks_ui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ dependencies:
sdk: flutter
flutter_html: 3.0.0-beta.2
google_mobile_ads: ^5.0.0
html: ^0.15.4
news_blocks:
path: ../../api/packages/news_blocks
path_provider_platform_interface: ^2.0.5
platform: ^3.1.0
plugin_platform_interface: ^2.1.3
sqflite_common_ffi: ^2.3.2+1
url_launcher: ^6.1.7
url_launcher_platform_interface: ^2.1.1
video_player: ^2.7.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import 'dart:async';

import 'package:fake_async/fake_async.dart';
import 'package:flutter/material.dart' hide ProgressIndicator;
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:google_mobile_ads/src/ad_instance_manager.dart';
import 'package:mocktail/mocktail.dart';
import 'package:news_blocks/news_blocks.dart';
import 'package:news_blocks_ui/src/widgets/widgets.dart';
Expand All @@ -32,19 +30,6 @@ void main() {
late BannerAdBuilder adBuilder;

setUp(() {
instanceManager =
AdInstanceManager('plugins.flutter.io/google_mobile_ads');
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
.setMockMethodCallHandler(instanceManager.channel,
(MethodCall methodCall) async {
switch (methodCall.method) {
case 'loadBannerAd':
return Future<void>.value();
default:
return;
}
});

platform = MockPlatform();
when(() => platform.isAndroid).thenReturn(true);
when(() => platform.isIOS).thenReturn(false);
Expand Down
Loading