name: focusgram
description: "FocusGram is a free, open-source digital wellness tool for Android. Blocks distracting content, sets time limits, and helps you use social media intentionally."
publish_to: 'none'

version: 2.1.0

environment:
  sdk: ^3.10.7

dependencies:
  flutter:
    sdk: flutter

  # WebView engine
  flutter_inappwebview: ^6.1.5

  # Local key-value persistence — latest stable
  shared_preferences: ^2.5.5

  # Date/time formatting for daily resets — latest stable
  intl: ^0.20.2

  # Reactive state management — latest stable
  provider: ^6.1.5

  # Local notifications for session reminders — latest stable
  flutter_local_notifications: ^20.1.0

  # URL launcher for About page links — latest stable
  url_launcher: ^6.3.2
  package_info_plus: ^9.0.0
  # Handling Instagram deep links — latest stable
  app_links: ^6.4.1
  # Open system settings — latest stable
  app_settings: ^7.0.0
  google_fonts: ^8.1.0
  http: ^1.6.0
  permission_handler: ^11.4.0
  # Image/file picker for story uploads on Android
  image_picker: ^1.2.0
  flutter_windowmanager_plus: ^1.0.1

  # Charts for on-device screen time dashboard (MIT)
  fl_chart: ^0.71.0

  # ── Local storage ──────────────────────────────────────────
  # google_mobile_ads removed — switched to Adsterra only
  # firebase removed — level data stored in Hive locally
  hive: ^2.2.3
  hive_flutter: ^1.1.0
  flutter_secure_storage: ^9.2.4
  local_auth: ^2.3.0
  # connectivity_plus, workmanager, flutter_background_service removed —
  # unused after offline snapshots pivoted to WebView cache.

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^6.0.0
  flutter_launcher_icons: ^0.14.4

flutter:
  uses-material-design: true

  assets:
    - assets/images/focusgram.png
    - assets/images/focusgram.ico
    - assets/scripts/ghost_mode.js
    - assets/scripts/ad_blocker_dom.js
    - assets/scripts/content_hider.js
    - assets/scripts/theme_detector.js
    - assets/scripts/fetch_interceptor.js
    - assets/scripts/autoplay_blocker.js

flutter_launcher_icons:
  android: true
  ios: false
  image_path: "assets/images/focusgram.png"
  adaptive_icon_background: "#000000"
  adaptive_icon_foreground: "assets/images/focusgram.png"
  min_sdk_android: 24

    
