name: moxxyv2
description: An experimental XMPP client

publish_to: 'none'

version: 0.4.4+13

environment:
  sdk: ">=2.17.0 <3.0.0"
  flutter: "3.7.3"

dependencies:
  archive: 3.3.2
  audiofileplayer: 2.1.1
  auto_size_text: 3.0.0
  awesome_notifications: 0.7.4+1
  badges: 2.0.3
  better_open_file: 3.6.3
  bloc: 8.1.0
  collection: ^1.16.0
  connectivity_plus: 2.3.6
  cropperx: 1.1.1
  cryptography: 2.0.5
  #cupertino_icons: 1.0.2
  dart_emoji: 0.2.0+2
  decorated_icon: 1.2.1
  emoji_picker_flutter: 1.3.1
  external_path: 1.0.1
  file_picker: 5.0.1
  flutter:
    sdk: flutter
  flutter_bloc: 8.1.1
  flutter_blurhash: 0.7.0
  flutter_contacts: 1.1.5+1
  flutter_image_compress: 1.1.0
  flutter_isolate: 2.0.2
  flutter_keyboard_visibility: 5.4.0
  flutter_localizations:
    sdk: flutter
  flutter_parsed_text: 2.2.1
  flutter_secure_storage: 8.0.0
  flutter_speed_dial: 6.0.0
  flutter_vibrate: 1.3.0
  flutter_zxing: 0.8.4
  fluttertoast: 8.1.1
  freezed_annotation: 2.1.0
  get_it: 7.2.0
  grouped_list: 5.1.2
  hex: 0.2.0
  image: 3.2.0
  json_annotation: 4.6.0
  keyboard_height_plugin: 0.0.4
  logging: 1.0.2
  meta: ^1.7.0
  mime: 1.0.2
  move_to_background:
    git:
      url: https://github.com/ViliusP/move_to_background.git
      ref: e5cc2eefd1667e8ef22f21f41b0ef012b060be6c
  moxdns:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.1.4+1
  moxlib:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: ^0.2.0
  moxplatform:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.1.16
  moxplatform_platform_interface:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.1.16
  moxxmpp:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.4.0
  moxxmpp_socket_tcp:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.3.1
  moxxyv2_builders:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.2.0
  native_imaging: 0.1.0
  omemo_dart:
    hosted: https://git.polynom.me/api/packages/PapaTutuWawa/pub
    version: 0.5.0
  page_transition: 2.0.9
  path: 1.8.2
  path_provider: 2.0.11
  permission_handler: 10.0.0
  phosphor_flutter: 1.4.0
  qr_flutter: 4.0.0
  random_string: 2.3.1
  record: 4.4.3
  share_handler: 0.0.16
  slang: 3.4.0
  slang_flutter: 3.4.0
  sqflite_common: 2.4.2+2
  sqflite_sqlcipher: 2.1.1
  #scrollable_positioned_list: 0.2.3
  stack_blur: 0.2.2
  swipeable_tile:
    git:
      url: https://github.com/PapaTutuWawa/swipeable_tile.git
      ref: bfab5e28f1f1ea624232002f0d05481cb2bd9997
  synchronized: 3.0.0+2
  udp: 5.0.3
  url_launcher: 6.1.5
  #unifiedpush: 3.0.1
  uuid: 3.0.5
  video_thumbnail: 0.5.3
  visibility_detector: 0.4.0+2
    
dev_dependencies:
  build_runner: ^2.1.11
  flutter_launcher_icons: ^0.9.3
  flutter_lints: ^2.0.1
  #flutter_test:
  #  sdk: flutter
  freezed: ^2.1.0+1
  integration_test:
    sdk: flutter
  json_serializable: ^6.3.1
  slang_build_runner: 3.4.0
  test: ^1.21.1
  very_good_analysis: ^4.0.0

dependency_overrides:
  # A fork of keyboard_height_plugin that lowers the required Dart SDK version
  keyboard_height_plugin:
    hosted: https://git.polynom.me/api/packages/Moxxy/pub
    version: 0.0.5
    
  # NOTE: Leave here for development purposes 
  # moxxmpp:
  #   path: ../moxxmpp/packages/moxxmpp
  # moxxmpp_socket_tcp:
  #   path: ../moxxmpp/packages/moxxmpp_socket_tcp
  # omemo_dart:
  #   path: ../../Personal/omemo_dart

  moxxmpp:
    git:
      url: https://codeberg.org/moxxy/moxxmpp.git
      rev: b92e825bc15b98d1ee576ae3a711e34e293e0fae
      path: packages/moxxmpp

  omemo_dart:
    git:
      url: https://github.com/PapaTutuWawa/omemo_dart.git
      rev: 49c7e114e6cf80dcde55fbbd218bba3182045862
 
extra_licenses:
  - name: undraw.co
    license: "custom license"
    url: "https://undraw.co"
  - name: xmpp-providers
    # TODO: Dangerous
    license: "unknown license"
    url: "https://invent.kde.org/melvo/xmpp-providers"
 
flutter:
  uses-material-design: true
  fonts:
    - family: RobotoMono
      fonts:
        - asset: assets/fonts/RobotoMono-Regular.ttf
  assets:
    - assets/images/logo.png
    - assets/images/begin_chat.png
    - assets/images/happy_news.png
    - assets/images/empty.png

flutter_icons:
  android: true
  ios: "assets/images/icon_ios.png"
  remove_alpha_ios: true
  # TODO: This maybe not good
  image_path: "assets/images/logo.png"
  adaptive_icon_background: "#8315d2"
  adaptive_icon_foreground: "assets/images/icon_android_adaptive.png"
