/*
 * @Author: XianKaiQun
 * @Date: 2020-05-12 09:01:38
 * @LastEditors  : WuWei
 * @LastEditTime : 2023-07-03 10:01:08
 * @Description: 
 */

// import 'dart:io';
// import 'package:flutter/material.dart';
// import 'package:http_proxy_override/http_proxy_override.dart';
// import 'package:amap_flutter_location/amap_flutter_location.dart';
import 'package:zhc_app/entry.dart';

Future<void> main() async {
  /// 使用http_proxy库，写好了安卓、ios原生，可跨端自动代理
  /// 配合charles网络抓包，需使用并开启代理，否则报错；不需要可注释
  // WidgetsFlutterBinding.ensureInitialized();
  // HttpProxyOverride httpProxyOverride =
  //     await HttpProxyOverride.createHttpProxy();
  // HttpOverrides.global = httpProxyOverride;
  // AMapFlutterLocation.setApiKey(
  //     "27b7d28dab0c4857b9177c7a59cf33f2", "dfb64c0463cb53927914364b5c09aba0");
  entry(isProdEnv: true);
}
