Skip to content

Commit

Permalink
chore: bump all FlutterFire dependencies to latest (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley authored Jun 7, 2024
1 parent 3fbfded commit 9082661
Show file tree
Hide file tree
Showing 22 changed files with 41 additions and 37 deletions.
4 changes: 2 additions & 2 deletions packages/firebase_ui_auth/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ environment:

dependencies:
cupertino_icons: ^1.0.6
firebase_auth: ^4.17.5
firebase_core: ^2.25.4
firebase_auth: ^5.0.0
firebase_core: ^3.0.0
flutter:
sdk: flutter
flutter_localizations:
Expand Down
1 change: 1 addition & 0 deletions packages/firebase_ui_auth/lib/src/email_verification.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class EmailVerificationController extends ValueNotifier<EmailVerificationState>

if (_isMobile(platform)) {
value = EmailVerificationState.pending;
// ignore: deprecated_member_use
final linkData = await FirebaseDynamicLinks.instance.onLink.first;

try {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// ignore_for_file: deprecated_member_use

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

/// Called when the link was sucessfully sent to the [email].
/// Called when the link was successfully sent to the [email].
void onLinkSent(String email);
}

Expand All @@ -24,6 +25,7 @@ class EmailLinkAuthProvider
extends AuthProvider<EmailLinkAuthListener, fba.AuthCredential> {
/// A configuration of the dynamic link.
final fba.ActionCodeSettings actionCodeSettings;

final FirebaseDynamicLinks _dynamicLinks;

@override
Expand All @@ -39,13 +41,13 @@ class EmailLinkAuthProvider
}

/// {@macro ui.auth.providers.email_link_auth_provider}
EmailLinkAuthProvider({
required this.actionCodeSettings,
EmailLinkAuthProvider(
{required this.actionCodeSettings,

/// An instance of the [FirebaseDynamicLinks] that should be used to handle
/// the link. By default [FirebaseDynamicLinks.instance] is used.
FirebaseDynamicLinks? dynamicLinks,
}) : _dynamicLinks = dynamicLinks ?? FirebaseDynamicLinks.instance;
/// An instance of the [FirebaseDynamicLinks] that should be used to handle
/// the link. By default [FirebaseDynamicLinks.instance] is used.
FirebaseDynamicLinks? dynamicLinks})
: _dynamicLinks = dynamicLinks ?? FirebaseDynamicLinks.instance;

/// Sends a link to the [email].
void sendLink(String email) {
Expand Down
6 changes: 3 additions & 3 deletions packages/firebase_ui_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ environment:

dependencies:
email_validator: ^2.1.17
firebase_auth: ^4.17.5
firebase_core: ^2.25.4
firebase_dynamic_links: ^5.4.14
firebase_auth: ^5.0.0
firebase_core: ^3.0.0
firebase_dynamic_links: ^6.0.0
firebase_ui_localizations: ^1.11.0
firebase_ui_oauth: ^1.5.2
firebase_ui_shared: ^1.4.1
Expand Down
1 change: 1 addition & 0 deletions packages/firebase_ui_auth/test/test_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class MockLinksStream extends Mock implements Stream<PendingDynamicLinkData> {
}
}

// ignore: deprecated_member_use
class MockDynamicLinks extends Mock implements FirebaseDynamicLinks {
static final _linkStream = MockLinksStream();

Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_ui_database/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
firebase_core: ^2.25.4
firebase_database: ^10.4.6
firebase_core: ^3.0.0
firebase_database: ^11.0.0
dev_dependencies:
drive: ^1.0.0-1.0.nullsafety.5
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_database/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:

dependencies:
collection: ^1.18.0
firebase_database: ^10.4.6
firebase_database: ^11.0.0
firebase_ui_localizations: ^1.11.0
flutter:
sdk: flutter
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_ui_firestore/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ dependencies:
flutter:
sdk: flutter
firebase_ui_firestore: ^1.6.3
cloud_firestore: ^4.15.5
cloud_firestore: ^5.0.0
cupertino_icons: ^1.0.6
firebase_core: ^2.25.4
firebase_core: ^3.0.0
dev_dependencies:
drive: ^1.0.0-1.0.nullsafety.5
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_firestore/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
flutter: ">=3.3.0"

dependencies:
cloud_firestore: ^4.15.5
cloud_firestore: ^5.0.0
firebase_ui_localizations: ^1.11.0
firebase_ui_shared: ^1.4.1
flutter:
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_localizations/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ environment:
dependencies:
cupertino_icons: ^1.0.6

firebase_core: ^2.25.4
firebase_core: ^3.0.0
firebase_ui_auth: ^1.14.0
firebase_ui_localizations: ^1.11.0
flutter:
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_ui_oauth/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
firebase_auth: ^4.17.5
firebase_core: ^2.25.4
firebase_auth: ^5.0.0
firebase_core: ^3.0.0
firebase_ui_oauth: ^1.5.2
firebase_ui_oauth_apple: ^1.2.20
firebase_ui_oauth_facebook: ^1.2.20
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_oauth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:

dependencies:
desktop_webview_auth: ^0.0.14
firebase_auth: ^4.17.5
firebase_auth: ^5.0.0
firebase_ui_auth: ^1.14.0
firebase_ui_shared: ^1.4.1
flutter_svg: ^2.0.9
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_oauth_apple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
flutter: ">=3.3.0"

dependencies:
firebase_auth: ^4.17.5
firebase_auth: ^5.0.0
firebase_ui_oauth: ^1.5.2
flutter:
sdk: flutter
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_oauth_facebook/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
flutter: ">=3.3.0"

dependencies:
firebase_auth: ^4.17.5
firebase_auth: ^5.0.0
firebase_ui_oauth: ^1.5.2
flutter:
sdk: flutter
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_oauth_google/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
flutter: ">=3.3.0"

dependencies:
firebase_auth: ^4.17.5
firebase_auth: ^5.0.0
firebase_ui_oauth: ^1.5.2
flutter:
sdk: flutter
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_oauth_twitter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
dependencies:
flutter:
sdk: flutter
firebase_auth: ^4.17.5
firebase_auth: ^5.0.0
firebase_ui_oauth: ^1.5.2
twitter_login: ^4.4.2

Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_ui_storage/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ environment:
dependencies:
cupertino_icons: ^1.0.6
file_picker: ^6.1.1
firebase_core: ^2.25.4
firebase_storage: ^11.6.6
firebase_core: ^3.0.0
firebase_storage: ^12.0.0
firebase_ui_storage: ^2.0.4
firebase_ui_shared: ^1.4.1

Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ui_storage/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ false_secrets:
dependencies:
flutter:
sdk: flutter
firebase_storage: ^11.6.6
firebase_storage: ^12.0.0
firebase_ui_localizations: ^1.11.0
firebase_ui_shared: ^1.4.1
path: ^1.8.3
Expand Down
2 changes: 1 addition & 1 deletion tests/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {
applicationId "io.flutter.plugins.firebase.tests"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21
minSdkVersion 23
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
4 changes: 2 additions & 2 deletions tests/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
platform :ios, '12.0'
platform :ios, '13.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down Expand Up @@ -29,7 +29,7 @@ flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.24.0'
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.27.0'

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
Expand Down
2 changes: 1 addition & 1 deletion tests/macos/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ target 'Runner' do
use_frameworks!
use_modular_headers!

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.24.0'
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.27.0'

flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
Expand Down
8 changes: 4 additions & 4 deletions tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.6
firebase_auth: ^4.17.5
firebase_core: ^2.25.4
firebase_auth: ^5.0.0
firebase_core: ^3.0.0
firebase_ui_auth: ^1.14.0
firebase_ui_localizations: ^1.11.0
firebase_ui_oauth_apple: ^1.2.20
Expand All @@ -21,12 +21,12 @@ dependencies:
flutter_facebook_auth: ^6.0.3
twitter_login: ^4.4.2
firebase_ui_oauth_twitter: ^1.2.20
cloud_firestore: ^4.15.5
cloud_firestore: ^5.0.0
firebase_ui_firestore: ^1.6.3
http: ^1.1.2
google_sign_in: ^6.2.1
firebase_ui_shared: ^1.4.1
firebase_database: ^10.4.6
firebase_database: ^11.0.0
firebase_ui_database: ^1.4.3

dev_dependencies:
Expand Down

0 comments on commit 9082661

Please sign in to comment.