Skip to content

Commit

Permalink
feature: PUBLIC URI setting & login feature merge
Browse files Browse the repository at this point in the history
  • Loading branch information
seilylook committed Mar 11, 2024
1 parent 03f9018 commit b4f0c9c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ var logger = Logger();

void main() async {
WidgetsFlutterBinding.ensureInitialized();
await dotenv.load(fileName: 'assets/config/.env');
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
runApp(const ProviderScope(child: MyApp()));

runApp(
const ProviderScope(
child: MyApp(),
),
);
}

class MyApp extends StatefulWidget {
Expand All @@ -42,8 +48,8 @@ class _MyAppState extends State<MyApp> {
title: 'TuneFun',
debugShowCheckedModeBanner: false,
theme: AppTheme.theme,
// home: const HomeScreen(),
home: const FcmTestScreen(),
home: const HomeScreen(),
// home: const FcmTestScreen(),
);
}
}
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ packages:
source: hosted
version: "1.3.2"
uuid:
dependency: transitive
dependency: "direct main"
description:
name: uuid
sha256: cd210a09f7c18cbe5a02511718e0334de6559871052c90a90c0cca46a4aa81c8
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dependencies:
firebase_core: ^2.24.2
firebase_messaging: ^14.7.10
flutter_local_notifications: ^16.3.2
uuid: ^4.3.3

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit b4f0c9c

Please sign in to comment.