import 'dart:io'; import 'package:fikoyt_ui/core/http_overrides.dart'; import 'package:fikoyt_ui/fikoyt_ui.dart'; import 'package:flutter/services.dart'; import 'routes.dart'; void main() async { HttpOverrides.global = HttpSSlIptalUzerineYaz(); // ignore: unused_local_variable // await FikoYTCoreService.init( settings: FikoYTServiceSettings( appSettings: FikoYTAppSettings( routes: routes, title: "FikoYT HMI Screen", ), systemUiMode: SystemUiMode.immersiveSticky, systemUiOverlay: SystemUiOverlay.values, // fikoytWebSocketUrl: "https://fikoyt.com:8000", // connectWebScoket: false, // socketMiddleWare: (Socket socket) { // socket.onConnect( // (data) async => socket.emit( // "FikoYT.uyar.devices.connected", // { // "uuid": await FikoYTCoreService.getDeviceID(), // if (Platform.isAndroid) "type": "Android", // if (Platform.isWindows) "type": "PC", // "others": await FikoYTCoreService.getDeviceInfo(), // "user": null, // }, // ), // ); // }, ), ); // WidgetsFlutterBinding.ensureInitialized(); await FikoYTCoreService.uygulamaCalistir(); }