2023-09-03 11:06:30 +00:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:lightmeter/application.dart';
|
2023-09-28 21:29:33 +00:00
|
|
|
import 'package:lightmeter/application_wrapper.dart';
|
2023-09-03 11:06:30 +00:00
|
|
|
import 'package:lightmeter/environment.dart';
|
|
|
|
import 'package:lightmeter/firebase.dart';
|
2023-10-17 10:00:32 +00:00
|
|
|
import 'package:m3_lightmeter_iap/m3_lightmeter_iap.dart';
|
2023-09-03 11:06:30 +00:00
|
|
|
|
|
|
|
Future<void> main() async {
|
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
await initializeFirebase(handleErrors: false);
|
2023-10-17 10:00:32 +00:00
|
|
|
runApp(
|
|
|
|
const IAPProductsProvider(
|
|
|
|
child: ApplicationWrapper(
|
|
|
|
Environment.prod(),
|
|
|
|
child: Application(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
2023-09-03 11:06:30 +00:00
|
|
|
}
|