Skip to content

Commit ab0b2f9

Browse files
authored
chore: update example dependencies across repo (#18219)
* chore: update example dependencies across repo including fixing the latest lints * fix CI bits * fix swift bits in the auth package for desktop
1 parent 7ce191c commit ab0b2f9

19 files changed

Lines changed: 31 additions & 32 deletions

File tree

packages/cloud_firestore/cloud_firestore/pipeline_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dev_dependencies:
5151
# activated in the `analysis_options.yaml` file located at the root of your
5252
# package. See that file for information about deactivating specific lint
5353
# rules and activating additional ones.
54-
flutter_lints: ^4.0.0
54+
flutter_lints: ^6.0.0
5555

5656
# For information on the generic Dart part of this file, see the
5757
# following page: https://dart.dev/tools/pub/pubspec

packages/firebase_ai/firebase_ai/example/lib/utils/audio_output.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class AudioOutput {
6969
return null;
7070
}
7171
// Play audio stream
72-
handle = await SoLoud.instance.play(myStream);
72+
handle = SoLoud.instance.play(myStream);
7373
return stream = myStream;
7474
}
7575

packages/firebase_ai/firebase_ai/example/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies:
2121
# The following adds the Cupertino Icons font to your application.
2222
# Use with the CupertinoIcons class for iOS style icons.
2323

24-
camera: ^0.11.2+1
24+
camera: ^0.12.0+1
2525
camera_macos: ^0.0.9
2626
cupertino_icons: ^1.0.6
2727
firebase_ai: ^3.11.0
@@ -30,16 +30,16 @@ dependencies:
3030
flutter:
3131
sdk: flutter
3232
flutter_animate: ^4.5.2
33-
flutter_markdown: ^0.6.20
34-
flutter_soloud: ^3.1.6
33+
flutter_markdown: ^0.7.7+1
34+
flutter_soloud: ^4.0.2
3535
image: ^4.5.4
3636
image_picker: ^1.1.2
3737
path_provider: ^2.1.5
3838
record: ^6.2.0
3939
waveform_flutter: ^1.2.0
4040

4141
dev_dependencies:
42-
flutter_lints: ^4.0.0
42+
flutter_lints: ^6.0.0
4343
flutter_test:
4444
sdk: flutter
4545

packages/firebase_ai/firebase_ai/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies:
3232
web_socket_channel: ^3.0.1
3333

3434
dev_dependencies:
35-
flutter_lints: ^4.0.0
35+
flutter_lints: ^6.0.0
3636
flutter_test:
3737
sdk: flutter
3838
matcher: ^0.12.16

packages/firebase_app_installations/firebase_app_installations/example/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class _InstallationsCardState extends State<InstallationsCard> {
7272
String id = 'None';
7373
String authToken = 'None';
7474

75-
init() async {
75+
Future<void> init() async {
7676
await getId();
7777
await getAuthToken();
7878
}
@@ -101,7 +101,7 @@ class _InstallationsCardState extends State<InstallationsCard> {
101101
}
102102
}
103103

104-
Future<void> getAuthToken([forceRefresh = false]) async {
104+
Future<void> getAuthToken([bool forceRefresh = false]) async {
105105
try {
106106
final token = await FirebaseInstallations.instance.getToken(forceRefresh);
107107
setState(() {

packages/firebase_app_installations/firebase_app_installations/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
sdk: flutter
1818

1919
dev_dependencies:
20-
flutter_lints: ^4.0.0
20+
flutter_lints: ^6.0.0
2121

2222
flutter:
2323
uses-material-design: true

packages/firebase_app_installations/firebase_app_installations_platform_interface/lib/firebase_app_installations_platform_interface.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
library firebase_app_installations_platform_interface;
6-
75
export 'src/platform_interface/firebase_app_installations_platform_interface.dart';

packages/firebase_app_installations/firebase_app_installations_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ dev_dependencies:
2121
firebase_core_platform_interface: ^6.0.3
2222
flutter_test:
2323
sdk: flutter
24-
flutter_lints: ^4.0.0
24+
flutter_lints: ^6.0.0

packages/firebase_app_installations/firebase_app_installations_web/lib/src/interop/installations_interop.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// found in the LICENSE file.
44

55
@JS('firebase_installations')
6-
library firebase_interop.installations;
6+
library;
77

88
import 'dart:js_interop';
99

packages/firebase_app_installations/firebase_app_installations_web/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dev_dependencies:
2323
firebase_core_platform_interface: ^6.0.3
2424
flutter_test:
2525
sdk: flutter
26-
flutter_lints: ^4.0.0
26+
flutter_lints: ^6.0.0
2727

2828
flutter:
2929
plugin:

0 commit comments

Comments
 (0)