Skip to content

Commit

Permalink
Remove all of firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
JAicewizard committed May 9, 2024
1 parent e536be3 commit 15bbccd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 105 deletions.
74 changes: 0 additions & 74 deletions lib/firebase_options.dart

This file was deleted.

4 changes: 0 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ import 'package:overlay_support/overlay_support.dart';
import 'package:reaxit/api/api_repository.dart';
import 'package:reaxit/blocs.dart';
import 'package:reaxit/config.dart';
import 'package:reaxit/firebase_options.dart';
import 'package:reaxit/routes.dart';
import 'package:reaxit/ui/theme.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
import 'package:firebase_core/firebase_core.dart';

Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
Expand All @@ -35,7 +33,6 @@ Future<void> main() async {
});

await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
await SentryFlutter.init(
(options) {
options.dsn = sentryDSN;
Expand Down Expand Up @@ -71,7 +68,6 @@ Future<void> testingMain(AuthCubit? authCubit, String? initialroute) async {
});

await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
runApp(
authCubit == null
? BlocProvider(
Expand Down
24 changes: 0 additions & 24 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -321,30 +321,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.9.3+1"
firebase_core:
dependency: "direct main"
description:
name: firebase_core
sha256: "7e049e32a9d347616edb39542cf92cd53fdb4a99fb6af0a0bff327c14cd76445"
url: "https://pub.dev"
source: hosted
version: "2.25.4"
firebase_core_platform_interface:
dependency: transitive
description:
name: firebase_core_platform_interface
sha256: c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63
url: "https://pub.dev"
source: hosted
version: "5.0.0"
firebase_core_web:
dependency: transitive
description:
name: firebase_core_web
sha256: "57e61d6010e253b36d38191cefd6199d7849152cdcd234b61ca290cdb278a0ba"
url: "https://pub.dev"
source: hosted
version: "2.11.4"
fixnum:
dependency: transitive
description:
Expand Down
3 changes: 0 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ dependencies:
# Carousel.
carousel_slider: ^4.2.1

# Firebase for push notifications.
firebase_core: ^2.16.0

# Push notifications in app.
overlay_support: ^2.1.0

Expand Down

0 comments on commit 15bbccd

Please sign in to comment.