update notificacion web

This commit is contained in:
lizandrogd
2023-06-19 01:24:14 -05:00
parent 4c9770247d
commit 05fa9438a1
5 changed files with 99 additions and 23 deletions
+7 -4
View File
@@ -26,7 +26,9 @@ import 'firebase_options.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
).then((value) => Get.put(AuthenticationRepository()));
await initNotifications();
await initializeDateFormatting('es_MX', null);
@@ -35,12 +37,13 @@ void main() async {
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
).then((value) => Get.put(AuthenticationRepository()));
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});