[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): Bump sign_in_with_apple from 5.0.0 to 6.1.0 in /flutter_news_example/packages/authentication_client/firebase_authentication_client #1176

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
update pubspec.lock and fix warn in boostrap
  • Loading branch information
matiasleyba committed May 15, 2024
commit e9a8b00baf8be3ebed6692df414af1bf9d6e7f51
40 changes: 21 additions & 19 deletions flutter_news_example/lib/main/bootstrap/bootstrap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,30 @@ typedef AppBuilder = Future<Widget> Function(
);

Future<void> bootstrap(AppBuilder builder) async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
final analyticsRepository = AnalyticsRepository(FirebaseAnalytics.instance);
final blocObserver = AppBlocObserver(
analyticsRepository: analyticsRepository,
);
Bloc.observer = blocObserver;
HydratedBloc.storage = await HydratedStorage.build(
storageDirectory: await getApplicationSupportDirectory(),
);
await runZonedGuarded<Future<void>>(
() async {
WidgetsFlutterBinding.ensureInitialized();

if (kDebugMode) {
await HydratedBloc.storage.clear();
}
await Firebase.initializeApp();
final analyticsRepository =
AnalyticsRepository(FirebaseAnalytics.instance);
final blocObserver = AppBlocObserver(
analyticsRepository: analyticsRepository,
);
Bloc.observer = blocObserver;
HydratedBloc.storage = await HydratedStorage.build(
storageDirectory: await getApplicationSupportDirectory(),
);

await FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(true);
FlutterError.>
if (kDebugMode) {
await HydratedBloc.storage.clear();
}

final sharedPreferences = await SharedPreferences.getInstance();
await FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(true);
FlutterError.>

final sharedPreferences = await SharedPreferences.getInstance();

await runZonedGuarded<Future<void>>(
() async {
unawaited(MobileAds.instance.initialize());
runApp(
await builder(
Expand All @@ -54,6 +56,6 @@ Future<void> bootstrap(AppBuilder builder) async {
),
);
},
FirebaseCrashlytics.instance.recordError,
(_, __) {},
);
}
12 changes: 6 additions & 6 deletions flutter_news_example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1411,26 +1411,26 @@ packages:
dependency: transitive
description:
name: sign_in_with_apple
sha256: "0975c23b9f8b30a80e27d5659a75993a093d4cb5f4eb7d23a9ccc586fea634e0"
sha256: b0abd9c0d0407140829b12cd99a250f10b20352573ff08c7e0c5174c64b4973e
url: "https://pub.dev"
source: hosted
version: "5.0.0"
version: "6.1.0"
sign_in_with_apple_platform_interface:
dependency: transitive
description:
name: sign_in_with_apple_platform_interface
sha256: a5883edee09ed6be19de19e7d9f618a617fe41a6fa03f76d082dfb787e9ea18d
sha256: c2ef2ce6273fce0c61acd7e9ff5be7181e33d7aa2b66508b39418b786cca2119
url: "https://pub.dev"
source: hosted
version: "1.0.0"
version: "1.1.0"
sign_in_with_apple_web:
dependency: transitive
description:
name: sign_in_with_apple_web
sha256: "44b66528f576e77847c14999d5e881e17e7223b7b0625a185417829e5306f47a"
sha256: c009e9beeb6c376e86aaa154fcc8b4e075d4bad90c56286b9668a51cdb6129ea
url: "https://pub.dev"
source: hosted
version: "1.0.1"
version: "2.1.0"
sky_engine:
dependency: transitive
description: flutter
Expand Down
Loading