name: localsend_app
description: An open source cross-platform alternative to AirDrop
homepage: https://localsend.org/
publish_to: "none"

version: 1.11.0+34

environment:
  flutter: '>=3.13.1'
  sdk: ">=3.1.0 <4.0.0"

dependencies:
  basic_utils: 5.6.1
  collection: ^1.17.2 # allow newer versions, so it can compile with newer Flutter versions
  connectivity_plus: 4.0.2
  desktop_drop: 0.4.3
  device_apps: 2.2.0
  device_info_plus: 9.0.3
  dio: 5.3.2
  dynamic_color: 1.6.6
  file_picker: 5.3.4
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  flutter_markdown: 0.6.17+1
  freezed_annotation: 2.4.1
  gal: 1.9.0
  image_picker: 1.0.2
  intl: ^0.18.0 # allow newer versions, so it can compile with newer Flutter versions
  json_annotation: 4.8.1
  launch_at_startup: 0.2.2
  logging: 1.2.0
  mime: 1.0.4
  network_info_plus: 4.0.2
  open_filex: 4.3.2
  package_info_plus: 4.1.0
  path: 1.8.3
  path_provider: 2.1.0
  permission_handler: 10.4.3
  pretty_qr_code: 2.0.3
  riverpie_flutter: 0.18.0
  routerino: 0.8.0
  screen_retriever: 0.1.9
  share_handler: 0.0.17
  shared_preferences: 2.2.0
  shared_storage: 0.8.0
  shelf: 1.4.1
  shelf_router: 1.1.4
  slang: 3.23.0
  slang_flutter: 3.23.0
  system_settings: 2.1.0
  system_tray: 2.0.3
  tray_manager:
    # https://github.com/leanflutter/tray_manager/issues/30
    # The Linux tray manager is disabled for now
    git:
      url: https://github.com/Tienisto/tray_manager.git
      ref: b37f5e088e0f02c45a684ae41e9d2da2d5c596db
  url_launcher: 6.1.12
  uuid: 3.0.7
  wakelock_plus: 1.1.1
  wechat_assets_picker: 8.7.0
  window_manager: 0.3.6

dev_dependencies:
  build_runner: 2.4.6
  flutter_gen_runner: 5.3.1
  flutter_lints: 2.0.2
  freezed: 2.4.1
  json_serializable: 6.7.1
  msix: 3.16.1
  slang_build_runner: 3.23.0
  slang_gpt: 0.8.1
  test: ^1.24.3

dependency_overrides:
  network_info_plus:
    # https://github.com/fluttercommunity/plus_plugins/pull/2101
    git:
      url: https://github.com/fluttercommunity/plus_plugins.git
      path: packages/network_info_plus/network_info_plus
      ref: ab6e6b52ff456fa4b6f8c5a8e2cf7df5a1dd1f4e
  permission_handler_windows:
    # Remove windows support as it causes trouble with Windows 7
    # https://github.com/Baseflow/flutter-permission-handler/issues/1034
    git:
      url: https://github.com/localsend/permission_handler_windows_noop.git
      ref: fc09b707ab4535a9214c87b16f09feda7e765d90

flutter:
  uses-material-design: true

  assets:
    - assets/img/
    - assets/web/
    - assets/CHANGELOG.md

msix_config:
  display_name: LocalSend
  publisher_display_name: Tien Do Nam
  # Using third-party CA for now (see: https://github.com/localsend/localsend/issues/220)
  # publisher: CN=0A8E9755-183F-4F0B-823F-1B8C991D7B97
  identity_name: 11157TienDoNam.LocalSend
  logo_path: assets\img\logo-512.png
  languages: en, ar, bn, cs, de, es-ES, fa, fr-FR, hu, in, it, iw, ja, ko, ne, nl, pl, pt-BR, ru, sv, tr, uk, zh-CN, zh-HK, zh-TW

  # https://github.com/localsend/localsend/issues/398
  os_min_version: 10.0.19041.0

  startup_task:
    task_id: localsend
    enabled: false
    parameters: autostart
