diff --git a/.metadata b/.metadata index cbf1dc0..784ce12 100644 --- a/.metadata +++ b/.metadata @@ -15,24 +15,9 @@ migration: - platform: root create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - - platform: android - create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - - platform: ios - create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - - platform: linux - create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - - platform: macos - create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - platform: web create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - - platform: windows - create_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 - base_revision: a14f74ff3a1cbd521163c5f03d68113d50af93d3 # User provided section diff --git a/lib/main.dart b/lib/main.dart index 4b70bf9..c3a3fd6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,4 +1,5 @@ import 'package:firebase_core/firebase_core.dart'; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; import 'package:sentry_flutter/sentry_flutter.dart'; @@ -18,12 +19,6 @@ import 'package:solian/theme.dart'; import 'package:solian/translations.dart'; void main() async { - WidgetsFlutterBinding.ensureInitialized(); - - await Firebase.initializeApp( - options: DefaultFirebaseOptions.currentPlatform, - ); - await SentryFlutter.init( (options) { options.dsn = @@ -31,7 +26,15 @@ void main() async { options.tracesSampleRate = 1.0; options.profilesSampleRate = 1.0; }, - appRunner: () => runApp(const SolianApp()), + appRunner: () async { + WidgetsFlutterBinding.ensureInitialized(); + + await Firebase.initializeApp( + options: DefaultFirebaseOptions.currentPlatform, + ); + + runApp(const SolianApp()); + }, ); } diff --git a/pubspec.lock b/pubspec.lock index d8dfe77..7253de1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -362,10 +362,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1" + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "4.0.0" flutter_local_notifications: dependency: "direct main" description: @@ -668,10 +668,10 @@ packages: dependency: transitive description: name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "4.0.0" livekit_client: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index ad9c7ca..b6f9946 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -79,7 +79,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 flutter_launcher_icons: ^0.13.1 # For information on the generic Dart part of this file, see the @@ -134,7 +134,7 @@ flutter_launcher_icons: theme_color: "#4b5094" windows: generate: true - image_path: "assets/icon.png" + image_path: "assets/icon-padded.png" icon_size: 256 macos: generate: true diff --git a/web/index.html b/web/index.html index a0246ab..74baf1c 100644 --- a/web/index.html +++ b/web/index.html @@ -23,37 +23,16 @@ - + -