mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 01:35:23 +00:00
33 lines
1.1 KiB
Dart
33 lines
1.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'my_app.dart';
|
|
|
|
void main() {
|
|
// runZonedGuarded(() async {
|
|
// const environment =
|
|
// String.fromEnvironment('FLAVOR', defaultValue: 'production');
|
|
// await dotenv.load(fileName: '.env.$environment');
|
|
//
|
|
// HttpOverrides.global = MyHttpOverrides();
|
|
// WidgetsFlutterBinding.ensureInitialized();
|
|
// // if (Platform.isAndroid) {
|
|
// // await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true);
|
|
// // }
|
|
// LicenseRegistry.addLicense(() async* {
|
|
// final license =
|
|
// await rootBundle.loadString('assets/fonts/roboto/LICENSE.txt');
|
|
// yield LicenseEntryWithLineBreaks(['google_fonts'], license);
|
|
// });
|
|
// initialSetup();
|
|
// await LocalizationService.saveLocale(const Locale("en", "AE"));
|
|
//
|
|
// final savedLocale = await LocalizationService.savedLocale();
|
|
//
|
|
// runApp(const MyApp(Locale('en', '')));
|
|
// }, (error, stackTrace) {
|
|
// FirebaseCrashlytics.instance.recordError(error, stackTrace, fatal: true);
|
|
// });
|
|
|
|
runApp(const MyApp(Locale('en', '')));
|
|
}
|