name: twonly
description: "twonly, a privacy-friendly way to connect with friends through secure, spontaneous image sharing."

publish_to: 'none'

version: 0.5.0+169

environment:
  sdk: ^3.11.0

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  
  # Trusted published dart.dev or tools.dart.dev
  collection: ^1.18.0
  fixnum: ^1.1.1
  meta: ^1.17.0 # used by overwritten dependencies...
  http: ^1.6.0
  intl: ^0.20.2
  path: ^1.9.0
  logging: ^1.3.0
  web_socket_channel: ^3.0.1
  convert: ^3.1.2
  crypto: ^3.0.7
  clock: ^1.1.2
  html: ^0.15.6

  
  # Trusted publisher flutter.dev 
  camera: ^0.12.0+1
  flutter_svg: ^2.0.17
  image_picker: ^1.2.2
  local_auth: ^3.0.0
  path_provider: ^2.1.5
  url_launcher: ^6.3.2
  vector_graphics: ^1.1.19
  in_app_purchase: ^3.3.0
  go_router: ^17.1.0


  # Trusted publisher fluttercommunity.dev
  connectivity_plus: ^7.0.0
  device_info_plus: ^13.1.0
  font_awesome_flutter: ^11.0.0
  share_plus: ^13.1.0
  package_info_plus: ^10.1.0
  workmanager: ^0.9.0+3


  # Trustworthy publishers
  firebase_core: ^4.3.0 # firebase.google.com
  firebase_messaging: ^16.1.0  # firebase.google.com
  firebase_app_installations: ^0.4.1 # firebase.google.com
  json_annotation: ^4.9.0 # google.dev
  protobuf: ^6.0.0 # google.dev
  scrollable_positioned_list: ^0.3.8 # google.dev
  drift: ^2.32.0
  drift_flutter: ^0.3.0
  get_it: ^9.2.1


  # Flutter Favorite 
  provider: ^6.1.2
  flutter_local_notifications: ^19.1.0
  sentry_flutter: ^9.14.0


  # Overwritten by self-controlled repository
  emoji_picker_flutter: ^4.3.0

  # With high download. (But should be checked nonetheless.)
  app_links: ^7.0.0 # 1.6 mio
  flutter_secure_storage: ^10.3.1 # 1.85 mio
  permission_handler: ^12.0.0+1 # 2 mio

  # Not yet checked 
  background_downloader: ^9.4.0
  cryptography_flutter_plus: ^3.0.0
  cryptography_plus: ^3.0.0
  flutter_android_volume_keydown: ^1.0.1
  flutter_image_compress: ^2.4.0
  flutter_volume_controller: ^1.3.4
  gal: ^2.3.1
  photo_manager: ^3.9.0
  google_mlkit_barcode_scanning: ^0.14.1
  google_mlkit_face_detection: ^0.13.1
  rust_lib_twonly:
    path: rust_builder
  flutter_rust_bridge: 2.12.0

## --- Start Managed Dependencies --- 
  audio_waveforms: ^2.0.2
  avatar_maker: ^1.5.0
  blurhash_dart: ^1.2.1
  exif: ^3.3.0
  sprintf: ^7.0.0
  flutter_blurhash: ^0.9.1
  flutter_markdown_plus: ^1.0.7
  video_player: ^2.14.0
  video_player_android: ^2.12.0
  video_player_avfoundation: ^2.11.0
  camera_android_camerax: ^0.7.4+6
  flutter_sharing_intent: ^2.0.4
  hand_signature: ^3.1.0+2
  hashlib: ^2.3.0
  hashlib_codecs: ^3.0.1
  image: ^4.9.2
  introduction_screen: ^4.0.0
  dots_indicator: ^4.0.1
  libsignal_protocol_dart: ^0.8.0
  adaptive_number: ^1.0.0
  ed25519_edwards: ^0.3.1
  optional: ^6.1.0+1
  pointycastle: ^4.0.0
  x25519: ^0.1.1
  lottie: ^3.5.1
  mutex: ^3.1.0
  photo_view: ^0.15.0
  pro_video_editor: ^2.11.3
  qr_flutter: ^4.1.0
  qr: ^3.1.0-wip
  restart_app: ^1.7.3
  screen_protector: ^1.5.1
## --- End Managed Dependencies --- 


dependency_overrides:
  emoji_picker_flutter:
    # Fixes the issue with recent emojis (solved by https://github.com/Fintasys/emoji_picker_flutter/pull/238)
    # Using override until this gets merged.
    git:
      url: https://github.com/otsmr/emoji_picker_flutter.git
      ref: 23a0595f7dde50728afce917c1c58f284ccbb495
  flutter_android_volume_keydown:
    git:
      url: https://github.com/yenchieh/flutter_android_volume_keydown.git
      ref: fix/lStar-not-found-error

## --- Start Managed Dependency Overrides --- 
  audio_waveforms:
    path: ./dependencies/audio_waveforms
  avatar_maker:
    path: ./dependencies/avatar_maker
  blurhash_dart:
    path: ./dependencies/blurhash_dart
  exif:
    path: ./dependencies/exif
  sprintf:
    path: ./dependencies/sprintf
  flutter_blurhash:
    path: ./dependencies/flutter_blurhash
  flutter_markdown_plus:
    path: ./dependencies/flutter_markdown_plus
  video_player:
    path: ./dependencies/video_player
  video_player_android:
    path: ./dependencies/video_player_android
  video_player_avfoundation:
    path: ./dependencies/video_player_avfoundation
  camera_android_camerax:
    path: ./dependencies/camera_android_camerax
  flutter_sharing_intent:
    path: ./dependencies/flutter_sharing_intent
  hand_signature:
    path: ./dependencies/hand_signature
  hashlib:
    path: ./dependencies/hashlib
  hashlib_codecs:
    path: ./dependencies/hashlib_codecs
  image:
    path: ./dependencies/image
  introduction_screen:
    path: ./dependencies/introduction_screen
  dots_indicator:
    path: ./dependencies/dots_indicator
  libsignal_protocol_dart:
    path: ./dependencies/libsignal_protocol_dart
  adaptive_number:
    path: ./dependencies/adaptive_number
  ed25519_edwards:
    path: ./dependencies/ed25519_edwards
  optional:
    path: ./dependencies/optional
  pointycastle:
    path: ./dependencies/pointycastle
  x25519:
    path: ./dependencies/x25519
  lottie:
    path: ./dependencies/lottie
  mutex:
    path: ./dependencies/mutex
  photo_view:
    path: ./dependencies/photo_view
  pro_video_editor:
    path: ./dependencies/pro_video_editor
  qr_flutter:
    path: ./dependencies/qr_flutter
  qr:
    path: ./dependencies/qr
  restart_app:
    path: ./dependencies/restart_app
  screen_protector:
    path: ./dependencies/screen_protector
## --- End Managed Dependency Overrides --- 
  

dev_dependencies:
  build_runner: ^2.4.15
  drift_dev: ^2.25.2
  flutter_launcher_icons: ^0.14.1
  flutter_lints: ^6.0.0
  vector_graphics_compiler: ^1.2.0
  flutter_test:
    sdk: flutter
  json_serializable: ^6.8.0
  very_good_analysis: ^10.0.0
  in_app_purchase_platform_interface: ^1.4.0
  integration_test:
    sdk: flutter
  workmanager_platform_interface: any

flutter_launcher_icons:
  android: true
  ios: false
  image_path: "assets/images/logo.png"
  adaptive_icon_foreground: "assets/images/logo.png"
  adaptive_icon_monochrome: "assets/images/logo.png"
  min_sdk_android: 21 # android min sdk min:16, default 21
  remove_alpha_ios: true
  adaptive_icon_background: "#FF57CC99"

flutter:
  uses-material-design: true

  # config:
  #   enable-swift-package-manager: false

  # Enable generation of localized Strings from arb files.
  generate: true

  assets:
    # Add assets from the images directory to the application.
    - assets/images/
    - assets/icons/
    - assets/icons/verification_badge_numeric/
    - assets/animated_icons/
    - assets/animations/
    - assets/filters/
    - assets/passwords/
    - CHANGELOG.md

  fonts:
    - family: NotoColorEmoji
      fonts:
        - asset: assets/fonts/NotoColorEmoji.ttf


