2023-07-25 15:31:01 +00:00
|
|
|
import 'dart:developer';
|
|
|
|
|
2023-03-30 19:24:18 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2023-05-11 13:30:18 +00:00
|
|
|
import 'package:lightmeter/application.dart';
|
2023-01-25 10:08:11 +00:00
|
|
|
import 'package:lightmeter/environment.dart';
|
2023-05-11 13:30:18 +00:00
|
|
|
import 'package:lightmeter/firebase.dart';
|
2023-01-25 10:08:11 +00:00
|
|
|
|
2023-03-30 19:24:18 +00:00
|
|
|
Future<void> main() async {
|
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
2023-07-25 15:31:01 +00:00
|
|
|
try {
|
|
|
|
await initializeFirebase();
|
|
|
|
} catch (e) {
|
|
|
|
log(e.toString());
|
|
|
|
}
|
2023-03-30 19:24:18 +00:00
|
|
|
runApp(const Application(Environment.prod()));
|
|
|
|
}
|