From 0229ecc80d31df63c94adfae12578d5191aa97b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 10:05:05 -0300 Subject: [PATCH] chore(deps): Bump firebase_analytics from 10.10.7 to 11.0.0 in /flutter_news_example/packages/analytics_repository (#1218) --- flutter_news_example/api/pubspec.lock | 2 +- .../lib/main/bootstrap/bootstrap.dart | 5 ++ .../lib/src/models/analytics_event.dart | 2 +- .../analytics_repository/pubspec.yaml | 2 +- .../test/analytics_repository_test.dart | 2 +- .../pubspec.yaml | 4 +- .../lib/src/deep_link_client.dart | 2 + .../packages/deep_link_client/pubspec.yaml | 4 +- .../test/deep_link_client_test.dart | 2 + .../pubspec.yaml | 2 +- flutter_news_example/pubspec.lock | 88 +++++++++---------- flutter_news_example/pubspec.yaml | 10 +-- 12 files changed, 67 insertions(+), 58 deletions(-) diff --git a/flutter_news_example/api/pubspec.lock b/flutter_news_example/api/pubspec.lock index 18273cfb7..d7a1f8958 100644 --- a/flutter_news_example/api/pubspec.lock +++ b/flutter_news_example/api/pubspec.lock @@ -593,4 +593,4 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.0.0 <4.0.0" + dart: ">=3.2.0 <4.0.0" diff --git a/flutter_news_example/lib/main/bootstrap/bootstrap.dart b/flutter_news_example/lib/main/bootstrap/bootstrap.dart index b99bb11ba..e03edea39 100644 --- a/flutter_news_example/lib/main/bootstrap/bootstrap.dart +++ b/flutter_news_example/lib/main/bootstrap/bootstrap.dart @@ -15,6 +15,10 @@ import 'package:path_provider/path_provider.dart'; import 'package:shared_preferences/shared_preferences.dart'; typedef AppBuilder = Future Function( + // Ignore, as we currently only use dynamic links for e-mail login. + // e-mail login will be replaced but not deprecated. + // source:https://firebase.google.com/support/dynamic-links-faq#im_currently_using_or_need_to_use_dynamic_links_for_email_link_authentication_in_firebase_authentication_will_this_feature_continue_to_work_after_the_sunset + // ignore: deprecated_member_use FirebaseDynamicLinks firebaseDynamicLinks, FirebaseMessaging firebaseMessaging, SharedPreferences sharedPreferences, @@ -49,6 +53,7 @@ Future bootstrap(AppBuilder builder) async { unawaited(MobileAds.instance.initialize()); runApp( await builder( + // ignore: deprecated_member_use FirebaseDynamicLinks.instance, FirebaseMessaging.instance, sharedPreferences, diff --git a/flutter_news_example/packages/analytics_repository/lib/src/models/analytics_event.dart b/flutter_news_example/packages/analytics_repository/lib/src/models/analytics_event.dart index df423fe3e..93d0bafd8 100644 --- a/flutter_news_example/packages/analytics_repository/lib/src/models/analytics_event.dart +++ b/flutter_news_example/packages/analytics_repository/lib/src/models/analytics_event.dart @@ -13,7 +13,7 @@ class AnalyticsEvent extends Equatable { final String name; /// Optional map of event properties. - final Map? properties; + final Map? properties; @override List get props => [name, properties]; diff --git a/flutter_news_example/packages/analytics_repository/pubspec.yaml b/flutter_news_example/packages/analytics_repository/pubspec.yaml index cdfc800f8..f72cadd1b 100644 --- a/flutter_news_example/packages/analytics_repository/pubspec.yaml +++ b/flutter_news_example/packages/analytics_repository/pubspec.yaml @@ -7,7 +7,7 @@ environment: dependencies: equatable: ^2.0.0 - firebase_analytics: ^10.0.3 + firebase_analytics: ^11.0.0 flutter: sdk: flutter diff --git a/flutter_news_example/packages/analytics_repository/test/analytics_repository_test.dart b/flutter_news_example/packages/analytics_repository/test/analytics_repository_test.dart index 63a6a503d..77dbb9507 100644 --- a/flutter_news_example/packages/analytics_repository/test/analytics_repository_test.dart +++ b/flutter_news_example/packages/analytics_repository/test/analytics_repository_test.dart @@ -74,7 +74,7 @@ void main() { const analyticEvent1 = AnalyticsEvent( 'event1', - properties: { + properties: { 'property1': 'value1', 'property2': 'value2', }, diff --git a/flutter_news_example/packages/authentication_client/firebase_authentication_client/pubspec.yaml b/flutter_news_example/packages/authentication_client/firebase_authentication_client/pubspec.yaml index d2eb6f559..540b94ed8 100644 --- a/flutter_news_example/packages/authentication_client/firebase_authentication_client/pubspec.yaml +++ b/flutter_news_example/packages/authentication_client/firebase_authentication_client/pubspec.yaml @@ -9,9 +9,9 @@ environment: dependencies: authentication_client: path: ../authentication_client - firebase_auth: ^4.16.0 + firebase_auth: ^5.0.0 firebase_auth_platform_interface: ^7.0.9 - firebase_core: ^2.24.2 + firebase_core: ^3.0.0 firebase_core_platform_interface: ^5.0.0 flutter: sdk: flutter diff --git a/flutter_news_example/packages/deep_link_client/lib/src/deep_link_client.dart b/flutter_news_example/packages/deep_link_client/lib/src/deep_link_client.dart index 2192561a0..32aac103a 100644 --- a/flutter_news_example/packages/deep_link_client/lib/src/deep_link_client.dart +++ b/flutter_news_example/packages/deep_link_client/lib/src/deep_link_client.dart @@ -1,3 +1,5 @@ +// ignore_for_file: deprecated_member_use + import 'dart:async'; import 'package:equatable/equatable.dart'; diff --git a/flutter_news_example/packages/deep_link_client/pubspec.yaml b/flutter_news_example/packages/deep_link_client/pubspec.yaml index 25aedb84d..f5a6df29c 100644 --- a/flutter_news_example/packages/deep_link_client/pubspec.yaml +++ b/flutter_news_example/packages/deep_link_client/pubspec.yaml @@ -7,8 +7,8 @@ environment: dependencies: equatable: ^2.0.3 - firebase_core: ^2.24.2 - firebase_dynamic_links: ^5.0.3 + firebase_core: ^3.0.0 + firebase_dynamic_links: ^6.0.0 plugin_platform_interface: ^2.1.3 rxdart: ^0.27.3 diff --git a/flutter_news_example/packages/deep_link_client/test/deep_link_client_test.dart b/flutter_news_example/packages/deep_link_client/test/deep_link_client_test.dart index 52eb84851..345f7910b 100644 --- a/flutter_news_example/packages/deep_link_client/test/deep_link_client_test.dart +++ b/flutter_news_example/packages/deep_link_client/test/deep_link_client_test.dart @@ -1,3 +1,5 @@ +// ignore_for_file: deprecated_member_use + import 'dart:async'; import 'package:deep_link_client/deep_link_client.dart'; diff --git a/flutter_news_example/packages/notifications_client/firebase_notifications_client/pubspec.yaml b/flutter_news_example/packages/notifications_client/firebase_notifications_client/pubspec.yaml index 2a3c0290b..ad486b134 100644 --- a/flutter_news_example/packages/notifications_client/firebase_notifications_client/pubspec.yaml +++ b/flutter_news_example/packages/notifications_client/firebase_notifications_client/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - firebase_messaging: ^14.0.3 + firebase_messaging: ^15.0.0 flutter: sdk: flutter notifications_client: diff --git a/flutter_news_example/pubspec.lock b/flutter_news_example/pubspec.lock index 228cac331..b5e32e10c 100644 --- a/flutter_news_example/pubspec.lock +++ b/flutter_news_example/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: transitive description: name: _flutterfire_internals - sha256: f5628cd9c92ed11083f425fd1f8f1bc60ecdda458c81d73b143aeda036c35fe7 + sha256: "13e611501ef36044655852215b4f30aed81123654a4f55193d0051a0e8705658" url: "https://pub.dev" source: hosted - version: "1.3.16" + version: "1.3.36" ads_consent_client: dependency: "direct main" description: @@ -350,10 +350,10 @@ packages: dependency: transitive description: name: facebook_auth_desktop - sha256: "2e652a1dec2841f6043abea0e773b9de0caadada78ef8804d57ede6d09c7a8c2" + sha256: "0e4f147a57de8fdb8eaaee4836e6b9859482921143af0c350ffbf2a9bbd531a0" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "2.0.0" fake_async: dependency: "direct dev" description: @@ -382,50 +382,50 @@ packages: dependency: "direct main" description: name: firebase_analytics - sha256: "0240076090d77045d757aecb090616066d23b343840d4c21074094d6fe40a184" + sha256: "62d9e83c5eb41520751ea5b5900a6ff1c2b054475ed7c8456cdf2e0e509b0a9c" url: "https://pub.dev" source: hosted - version: "10.8.0" + version: "11.0.0" firebase_analytics_platform_interface: dependency: transitive description: name: firebase_analytics_platform_interface - sha256: "6d9baa077d16b47ef5f19d982c4fc475597991aa53b0c601216faa3e1cdab45f" + sha256: "91c48fc85c83b0e4e657964c96b1e02fccb7adc06bca16ba0da91085fcc2f906" url: "https://pub.dev" source: hosted - version: "3.9.0" + version: "4.0.0" firebase_analytics_web: dependency: transitive description: name: firebase_analytics_web - sha256: "89a740249bce9d52a99db4e501be6087ca6749c73c47cff2b174802be10abd81" + sha256: "6133eaf62301713e98a166e92e222d0257609ec41b8e2b10f1864d2af602bdd8" url: "https://pub.dev" source: hosted - version: "0.5.5+12" + version: "0.5.7+8" firebase_auth: dependency: transitive description: name: firebase_auth - sha256: "279b2773ff61afd9763202cb5582e2b995ee57419d826b9af6517302a59b672f" + sha256: fe9ac025fc01290087232e57391d0050341ae69a0f21c3640f66bfa5968fbddf url: "https://pub.dev" source: hosted - version: "4.16.0" + version: "5.0.0" firebase_auth_platform_interface: dependency: "direct main" description: name: firebase_auth_platform_interface - sha256: "3c9cfaccb7549492edf5b0c67c6dd1c6727c7830891aa6727f2fb225f0226626" + sha256: "02b4a496febafdd5c23de93ba2b4123765137190bd57567a6c000e36369df44c" url: "https://pub.dev" source: hosted - version: "7.0.9" + version: "7.3.1" firebase_auth_web: dependency: transitive description: name: firebase_auth_web - sha256: c7b1379ccef7abf4b6816eede67a868c44142198e42350f51c01d8fc03f95a7d + sha256: "0547e3d5ffb68922cff988319ddb4c7091f88be3d2557fa49ed8e30f3855810c" url: "https://pub.dev" source: hosted - version: "5.8.13" + version: "5.12.1" firebase_authentication_client: dependency: "direct main" description: @@ -437,10 +437,10 @@ packages: dependency: "direct main" description: name: firebase_core - sha256: "96607c0e829a581c2a483c658f04e8b159964c3bae2730f73297070bc85d40bb" + sha256: "0d436d29b16fd9844a098ece2a3ce75efc290e5fe0844d282c5e8987173b0d02" url: "https://pub.dev" source: hosted - version: "2.24.2" + version: "3.0.0" firebase_core_platform_interface: dependency: transitive description: @@ -453,66 +453,66 @@ packages: dependency: transitive description: name: firebase_core_web - sha256: d585bdf3c656c3f7821ba1bd44da5f13365d22fcecaf5eb75c4295246aaa83c0 + sha256: "22fcb352744908224fc7be3caae254836099786acfe5df6e9fe901e9c2575a41" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.17.1" firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics - sha256: "5125b7f3fcef2bfdd7e071afe7edcefd9597968003e44e073456c773d91694ee" + sha256: bc95715ae12f885a77a7f8d13eeee2e8cb3ea26c2b466c590f8cf4f5645a23b7 url: "https://pub.dev" source: hosted - version: "3.4.9" + version: "4.0.0" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface - sha256: "359197344def001589c84f8d1d57c05f6e2e773f559205610ce58c25e2045a57" + sha256: fdee44039a994250577179d792060ac9a0a211ee186e2ec59ef2007a138ba30f url: "https://pub.dev" source: hosted - version: "3.6.16" + version: "3.6.36" firebase_dynamic_links: dependency: "direct main" description: name: firebase_dynamic_links - sha256: b0522806658428803aeb5e7be0b22a29acb8f8697a8909c36965feaeb1f655bd + sha256: cf4503e13c64186e26d005703995441498ab5b2b11702e0bca483549881aa488 url: "https://pub.dev" source: hosted - version: "5.4.8" + version: "6.0.0" firebase_dynamic_links_platform_interface: dependency: transitive description: name: firebase_dynamic_links_platform_interface - sha256: "8b90384d8f85c7211f2b5e2d9d5ae98bd08091f116ef2bd1a74b33574efacc61" + sha256: "3e072928d03a1ffbd83b9bf9cef7f4232e334e8d934b8e698107577056671799" url: "https://pub.dev" source: hosted - version: "0.2.6+16" + version: "0.2.6+36" firebase_messaging: dependency: "direct main" description: name: firebase_messaging - sha256: "980259425fa5e2afc03e533f33723335731d21a56fd255611083bceebf4373a8" + sha256: "62fb18daf69ee5f65c0ea5ef4c611481ec50584f54a9d7bcb2de511ad821b45d" url: "https://pub.dev" source: hosted - version: "14.7.10" + version: "15.0.0" firebase_messaging_platform_interface: dependency: transitive description: name: firebase_messaging_platform_interface - sha256: "54e283a0e41d81d854636ad0dad73066adc53407a60a7c3189c9656e2f1b6107" + sha256: aec6972698a5f70557b44946923d6be2c0cda127b60b462a1b1f7f08a8a325a5 url: "https://pub.dev" source: hosted - version: "4.5.18" + version: "4.5.38" firebase_messaging_web: dependency: transitive description: name: firebase_messaging_web - sha256: "90dc7ed885e90a24bb0e56d661d4d2b5f84429697fd2cbb9e5890a0ca370e6f4" + sha256: "17979bda5f4474b76c069d547294955e775e3c4484ae80f621a06aa27f5ac5d8" url: "https://pub.dev" source: hosted - version: "3.5.18" + version: "3.8.8" firebase_notifications_client: dependency: "direct main" description: @@ -561,26 +561,26 @@ packages: dependency: transitive description: name: flutter_facebook_auth - sha256: "23df546eeb704eecdf9e89561f7a9d78e549eaae4c103fb317a40983995a00c1" + sha256: "54963951b21673194d534724de9df9aa18be6a1e90a5d0d90f4b89d8e1f0d93a" url: "https://pub.dev" source: hosted - version: "6.0.3" + version: "7.0.0" flutter_facebook_auth_platform_interface: dependency: transitive description: name: flutter_facebook_auth_platform_interface - sha256: "86630c4dbba1c20fba26ea9e59ad0d48f5ff59e7373cacd36f916160186f9ce9" + sha256: dc9d621dd45c4f0b341173a16e94f4b77155fa9c0f4326743f1251f2f445ba38 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "6.0.0" flutter_facebook_auth_web: dependency: transitive description: name: flutter_facebook_auth_web - sha256: "22dca8091409309ad85b9f430fbd8f57b686276979da5195e7e97587352567ce" + sha256: "947d93fc5a7cc5db1ce0274505254bb3b619cdd98176954f125f742964696804" url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "6.0.0" flutter_html: dependency: transitive description: @@ -1299,18 +1299,18 @@ packages: dependency: transitive description: name: share_plus - sha256: fb5319f3aab4c5dda5ebb92dca978179ba21f8c783ee4380910ef4c1c6824f51 + sha256: ef3489a969683c4f3d0239010cc8b7a2a46543a8d139e111c06c558875083544 url: "https://pub.dev" source: hosted - version: "8.0.3" + version: "9.0.0" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496" + sha256: "0f9e4418835d1b2c3ae78fdb918251959106cefdbc4dd43526e182f80e82f6d4" url: "https://pub.dev" source: hosted - version: "3.4.0" + version: "4.0.0" shared_preferences: dependency: "direct main" description: diff --git a/flutter_news_example/pubspec.yaml b/flutter_news_example/pubspec.yaml index 7379943f5..68c32d8e5 100644 --- a/flutter_news_example/pubspec.yaml +++ b/flutter_news_example/pubspec.yaml @@ -26,14 +26,14 @@ dependencies: email_launcher: path: packages/email_launcher equatable: ^2.0.3 - firebase_analytics: ^10.0.3 + firebase_analytics: ^11.0.0 firebase_auth_platform_interface: ^7.0.9 firebase_authentication_client: path: packages/authentication_client/firebase_authentication_client - firebase_core: ^2.24.2 - firebase_crashlytics: ^3.0.3 - firebase_dynamic_links: ^5.0.3 - firebase_messaging: ^14.0.3 + firebase_core: ^3.0.0 + firebase_crashlytics: ^4.0.0 + firebase_dynamic_links: ^6.0.0 + firebase_messaging: ^15.0.0 firebase_notifications_client: path: packages/notifications_client/firebase_notifications_client flow_builder: ^0.0.7