name: hiddify
description: Cross Platform Multi Protocol Proxy Frontend.
publish_to: "none"
version: 1.4.1+10401

environment:
  sdk: ">=3.3.0 <4.0.0"
  flutter: ">=3.19.0 <3.22.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  cupertino_icons: ^1.0.6
  intl: ^0.18.1
  humanizer: ^2.2.0
  # intl: ^0.19.0
  # humanizer:
  #   git:
  #     url: https://github.com/alex-relov/humanizer
  #     ref: up-version
  slang: ^3.30.1
  slang_flutter: ^3.30.0
  fpdart: ^1.1.0
  freezed_annotation: ^2.4.1
  json_annotation: ^4.8.1
  hooks_riverpod: ^2.4.10
  flutter_hooks: ^0.20.5
  riverpod_annotation: ^2.3.4
  rxdart: ^0.27.7
  drift: ^2.16.0
  sqlite3_flutter_libs: ^0.5.20
  shared_preferences: ^2.2.2
  dio: ^5.4.1
  ffi: ^2.1.2
  path_provider: ^2.1.1
  mobile_scanner: ^4.0.0
  protocol_handler: ^0.2.0
  flutter_native_splash: ^2.3.10
  share_plus: ^7.2.2
  window_manager: ^0.3.8
  tray_manager: ^0.2.1
  package_info_plus: ^5.0.1
  url_launcher: ^6.2.5
  vclibs: ^0.1.2
  launch_at_startup: ^0.2.2
  sentry_flutter: ^7.16.1
  sentry_dart_plugin: ^1.7.1

  path: ^1.8.3
  loggy: ^2.0.3
  flutter_loggy: ^2.0.2
  meta: ^1.10.0
  dartx: ^1.2.0
  uuid: ^4.3.3
  tint: ^2.0.1
  accessibility_tools: ^1.0.1
  neat_periodic_task: ^2.0.1
  watcher: ^1.1.0
  go_router: ^13.2.0
  flutter_animate: ^4.5.0
  flutter_svg: ^2.0.10+1
  gap: ^3.0.1
  percent_indicator: ^4.2.3
  sliver_tools: ^0.2.12
  flutter_adaptive_scaffold: ^0.1.8

  upgrader: ^9.0.0
  toastification: ^1.2.1
  version: ^3.0.2
  posix: ^6.0.1
  win32: ^5.2.0
  qr_flutter: ^4.1.0
  flutter_displaymode: ^0.6.0
  flutter_loggy_dio: ^3.0.1
  dio_smart_retry: ^6.0.0
  cupertino_http: ^1.3.0
  wolt_modal_sheet: ^0.4.1
  dart_mappable: ^4.2.1
  fluentui_system_icons: ^1.1.229
  http: ^1.2.0
  timezone_to_country: ^2.1.0
  json_path: ^0.7.1
  # permission_handler: ^11.3.0 # is not compatible with windows
  flutter_easy_permission: ^1.1.2
  in_app_review: ^2.0.9
  # circle_flags: ^4.0.2
  circle_flags:
    git: https://github.com/hiddify-com/flutter_circle_flags.git
  protobuf: ^3.1.0
  grpc: ^3.2.4
  dynamic_color: ^1.7.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  lint: ^2.3.0
  build_runner: ^2.4.8
  json_serializable: ^6.7.1
  freezed: ^2.4.7
  riverpod_generator: ^2.3.11
  drift_dev: ^2.16.0
  ffigen: ^8.0.2
  slang_build_runner: ^3.30.0
  flutter_gen_runner: ^5.4.0
  go_router_builder: ^2.4.1
  dependency_validator: ^3.2.3
  dart_mappable_builder: ^4.2.1

dependency_overrides:
  # drift & package_info_plus are not compatible
  web: ^0.5.1

flutter:
  uses-material-design: true
  assets:
    # - assets/core/geoip.db
    # - assets/core/geosite.db
    - assets/images/logo.svg
    - assets/images/tray_icon.ico
    - assets/images/tray_icon.png
    - assets/images/tray_icon_dark.ico
    - assets/images/tray_icon_dark.png
    - assets/images/tray_icon_connected.ico
    - assets/images/tray_icon_disconnected.ico
    - assets/images/connect_norouz.PNG
    - assets/images/disconnect_norouz.PNG

  fonts:
    - family: Shabnam
      fonts:
        - asset: assets/fonts/Shabnam.ttf
    - family: Emoji
      fonts:
        - asset: assets/fonts/Emoji.ttf

flutter_gen:
  output: lib/gen/
  integrations:
    flutter_svg: true

flutter_native_splash:
  color: "#ffffff"
  image: assets/images/source/ic_launcher_splash.png
  android_gravity: center
  android_12:
    color: "#ffffff"
    image: assets/images/source/ic_launcher_foreground.png

ffigen:
  name: "SingboxNativeLibrary"
  description: "Bindings to Singbox"
  output: "lib/gen/singbox_generated_bindings.dart"
  headers:
    entry-points:
      - "libcore/bin/libcore.h"

sentry:
  upload_debug_symbols: true
  upload_source_maps: true
  upload_sources: true
  log_level: info
  ignore_missing: true
