Skip to content

Commit 9082661

Browse files
chore: bump all FlutterFire dependencies to latest (#357)
1 parent 3fbfded commit 9082661

File tree

22 files changed

+41
-37
lines changed

22 files changed

+41
-37
lines changed

packages/firebase_ui_auth/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ environment:
2222

2323
dependencies:
2424
cupertino_icons: ^1.0.6
25-
firebase_auth: ^4.17.5
26-
firebase_core: ^2.25.4
25+
firebase_auth: ^5.0.0
26+
firebase_core: ^3.0.0
2727
flutter:
2828
sdk: flutter
2929
flutter_localizations:

packages/firebase_ui_auth/lib/src/email_verification.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class EmailVerificationController extends ValueNotifier<EmailVerificationState>
111111

112112
if (_isMobile(platform)) {
113113
value = EmailVerificationState.pending;
114+
// ignore: deprecated_member_use
114115
final linkData = await FirebaseDynamicLinks.instance.onLink.first;
115116

116117
try {

packages/firebase_ui_auth/lib/src/providers/email_link_auth_provider.dart

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
4+
// ignore_for_file: deprecated_member_use
45

56
import 'package:firebase_auth/firebase_auth.dart' as fba;
67
import 'package:firebase_dynamic_links/firebase_dynamic_links.dart';
@@ -12,7 +13,7 @@ abstract class EmailLinkAuthListener extends AuthListener {
1213
/// Called when the link being is sent to the user's [email].
1314
void onBeforeLinkSent(String email);
1415

15-
/// Called when the link was sucessfully sent to the [email].
16+
/// Called when the link was successfully sent to the [email].
1617
void onLinkSent(String email);
1718
}
1819

@@ -24,6 +25,7 @@ class EmailLinkAuthProvider
2425
extends AuthProvider<EmailLinkAuthListener, fba.AuthCredential> {
2526
/// A configuration of the dynamic link.
2627
final fba.ActionCodeSettings actionCodeSettings;
28+
2729
final FirebaseDynamicLinks _dynamicLinks;
2830

2931
@override
@@ -39,13 +41,13 @@ class EmailLinkAuthProvider
3941
}
4042

4143
/// {@macro ui.auth.providers.email_link_auth_provider}
42-
EmailLinkAuthProvider({
43-
required this.actionCodeSettings,
44+
EmailLinkAuthProvider(
45+
{required this.actionCodeSettings,
4446

45-
/// An instance of the [FirebaseDynamicLinks] that should be used to handle
46-
/// the link. By default [FirebaseDynamicLinks.instance] is used.
47-
FirebaseDynamicLinks? dynamicLinks,
48-
}) : _dynamicLinks = dynamicLinks ?? FirebaseDynamicLinks.instance;
47+
/// An instance of the [FirebaseDynamicLinks] that should be used to handle
48+
/// the link. By default [FirebaseDynamicLinks.instance] is used.
49+
FirebaseDynamicLinks? dynamicLinks})
50+
: _dynamicLinks = dynamicLinks ?? FirebaseDynamicLinks.instance;
4951

5052
/// Sends a link to the [email].
5153
void sendLink(String email) {

packages/firebase_ui_auth/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ environment:
1010

1111
dependencies:
1212
email_validator: ^2.1.17
13-
firebase_auth: ^4.17.5
14-
firebase_core: ^2.25.4
15-
firebase_dynamic_links: ^5.4.14
13+
firebase_auth: ^5.0.0
14+
firebase_core: ^3.0.0
15+
firebase_dynamic_links: ^6.0.0
1616
firebase_ui_localizations: ^1.11.0
1717
firebase_ui_oauth: ^1.5.2
1818
firebase_ui_shared: ^1.4.1

packages/firebase_ui_auth/test/test_utils.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class MockLinksStream extends Mock implements Stream<PendingDynamicLinkData> {
6868
}
6969
}
7070

71+
// ignore: deprecated_member_use
7172
class MockDynamicLinks extends Mock implements FirebaseDynamicLinks {
7273
static final _linkStream = MockLinksStream();
7374

packages/firebase_ui_database/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ dependencies:
3333
# The following adds the Cupertino Icons font to your application.
3434
# Use with the CupertinoIcons class for iOS style icons.
3535
cupertino_icons: ^1.0.6
36-
firebase_core: ^2.25.4
37-
firebase_database: ^10.4.6
36+
firebase_core: ^3.0.0
37+
firebase_database: ^11.0.0
3838
dev_dependencies:
3939
drive: ^1.0.0-1.0.nullsafety.5
4040
flutter_test:

packages/firebase_ui_database/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99

1010
dependencies:
1111
collection: ^1.18.0
12-
firebase_database: ^10.4.6
12+
firebase_database: ^11.0.0
1313
firebase_ui_localizations: ^1.11.0
1414
flutter:
1515
sdk: flutter

packages/firebase_ui_firestore/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ dependencies:
3030
flutter:
3131
sdk: flutter
3232
firebase_ui_firestore: ^1.6.3
33-
cloud_firestore: ^4.15.5
33+
cloud_firestore: ^5.0.0
3434
cupertino_icons: ^1.0.6
35-
firebase_core: ^2.25.4
35+
firebase_core: ^3.0.0
3636
dev_dependencies:
3737
drive: ^1.0.0-1.0.nullsafety.5
3838
flutter_test:

packages/firebase_ui_firestore/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
flutter: ">=3.3.0"
99

1010
dependencies:
11-
cloud_firestore: ^4.15.5
11+
cloud_firestore: ^5.0.0
1212
firebase_ui_localizations: ^1.11.0
1313
firebase_ui_shared: ^1.4.1
1414
flutter:

packages/firebase_ui_localizations/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ environment:
3131
dependencies:
3232
cupertino_icons: ^1.0.6
3333

34-
firebase_core: ^2.25.4
34+
firebase_core: ^3.0.0
3535
firebase_ui_auth: ^1.14.0
3636
firebase_ui_localizations: ^1.11.0
3737
flutter:

0 commit comments

Comments
 (0)