m3_lightmeter/lib/main_release.dart

20 lines
566 B
Dart
Raw Permalink Normal View History

2023-09-03 11:06:30 +00:00
import 'package:flutter/material.dart';
import 'package:lightmeter/application.dart';
import 'package:lightmeter/application_wrapper.dart';
2023-09-03 11:06:30 +00:00
import 'package:lightmeter/environment.dart';
import 'package:lightmeter/firebase.dart';
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);
runApp(
const IAPProductsProvider(
child: ApplicationWrapper(
Environment.prod(),
child: Application(),
),
),
);
2023-09-03 11:06:30 +00:00
}