name: fstore
publish_to: "none"
description: Mobile commerce app by Flutter

# Release version: Check the file VERSION.txt
# A version number is three numbers separated by dots, like 1.2.43 - followed by an optional build number separated by a +.
# In Android, build-name is used as versionName while build-number used as versionCode.Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. Read more about iOS versioning at https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+3000

environment:
  sdk: ">=3.10.0 <4.0.0"

dependencies:
  flutter:
    sdk: flutter

  inspireui: 2.4.2

  flux_ui:
    path: packages/flux_ui
  flux_interface:
    path: packages/flux_interface/
  flux_localization:
    path: packages/flux_localization
  flux_firebase:
    path: packages/flux_firebase/

  # InspireUI package
  flux_dynamic_link: 1.3.0

  # Base
  intl: any
  crypto: 3.0.6
  path_provider: ^2.1.5
  url_launcher: 6.3.2
  flutter_secure_storage: 10.0.0
  hive_ce: 2.19.3
  hive_ce_flutter: 2.3.4
  http: ^1.2.2
  dio: ^5.7.0
  http_auth: 1.0.4
  share_plus: 12.0.1
  tuple: 2.0.2
  collection: any
  quiver: 3.2.2
  async: any
  html: 0.15.6
  vector_math: 2.2.0
  path: any
  flutter_svg: ^2.0.13
  flutter_local_notifications: 18.0.1 # Do not upgrade
  new_version_plus: 0.1.2
  app_links: 7.0.0

  # STATE MANAGEMENT
  provider: 6.1.2

  # DEPENDENCY INJECTION
  get_it: 9.2.1
  injectable: ^2.5.0

  # SPLASH SCREEN, ONBOARD
  lottie: ^3.1.3
  rive: 0.13.20 # Do not upgrade

  # WEB TOOLS
  html_unescape: 2.0.0
  webview_flutter: 4.13.0
  webview_flutter_web: 0.2.3+4
  flutter_inappwebview: 6.1.5

  # HTML render
  flutter_widget_from_html_core: 0.17.0
  fwfh_svg: 0.16.1
  fwfh_cached_network_image: 0.16.1
  fwfh_url_launcher: 0.16.1
  fwfh_chewie: 0.16.1
  fwfh_webview: 0.15.6

  # VIDEO
  video_player: ^2.9.2
  youtube_player_iframe: # Fix cannot pause video
    git:
      url: https://github.com/inspireui/youtube_player_flutter.git
      path: packages/youtube_player_iframe
      ref: 446fd06015796c83fc3e789beaa4180f8bc30e0e
  get_thumbnail_video:
    git:
      url: https://github.com/inspireui/video_thumbnail
      ref: master

  # MAP
  google_maps_flutter: 2.15.0
  google_maps_flutter_android: 2.19.2
  google_maps_flutter_ios: 2.18.0
  location: 8.0.1
  geocoding: 4.0.0

  # AUTHENTICATION
  local_auth: 3.0.1
  the_apple_sign_in: 1.1.1
  flutter_facebook_auth: 7.1.6
  google_sign_in: 7.2.0
  permission_handler: 11.4.0
  flutter_web_auth_2: 5.0.1
  sms_autofill: 2.4.1

  # FILES, IMAGES
  file_picker: 10.3.10
  cached_network_image: 3.4.1
  image: ^4.3.0
  transparent_image: 2.0.1
  image_picker: ^1.1.2
  flutter_cache_manager: ^3.4.1
  flutter_image_gallery_saver: 1.1.3

  # TOOLS
  google_fonts: 8.0.2
  random_string: 2.3.1
  json_annotation: ^4.9.0
  freezed_annotation: 3.1.0
  timeago: 3.7.1
  universal_platform: ^1.1.0
  uuid: ^4.5.1
  easy_debounce: 2.0.3
  devicelocale: ^0.8.1
  visibility_detector: 0.4.0+2
  rate_my_app: ^2.2.0
  flutter_linkify: 6.0.0
  gms_check: 1.0.4
  google_mobile_ads: 7.0.0
  speech_to_text: 7.3.0
  flutter_keyboard_visibility: 6.0.0
  app_tracking_transparency: ^2.0.6
  flutter_branch_sdk: 9.1.0
  facebook_app_events: 0.24.0
  connectivity_plus: 7.1.0
  connectivity_plus_platform_interface: 2.1.0

  # UI
  flutter_spinkit: ^5.2.1
  smooth_page_indicator: 2.0.1
  animated_text_kit: 4.3.0
  flutter_staggered_grid_view: 0.7.0
  pin_code_fields: 9.1.0
  country_pickers: 3.0.1
  dropdown_search: 5.0.6
  intro_slider: 4.2.5
  extended_image: 10.0.1
  dotted_decoration: 2.0.0
  awesome_card: 1.1.7
  qr_code_scanner: 1.0.1
  sticky_headers: 0.3.0+2
  jumping_dot: 0.0.7
  fl_chart: 1.1.1
  tiktoklikescroller: 0.2.8
  readmore: ^3.0.0
  flutter_animate: 4.5.2
  scrollable_positioned_list: 0.3.8
  country_code_picker: 3.4.1
  carousel_slider_plus: 7.1.1
  rect_getter: 1.1.0
  scroll_to_index: 3.0.1
  flutter_zoom_drawer: 3.2.0
  infinite_carousel: 1.1.1
  timezone: 0.10.0
  sliver_tools: ^0.2.12
  flutter_staggered_animations: 1.1.1
  flutter_lazy_indexed_stack: 0.1.0
  bot_toast: ^4.1.3
  archive: ^3.6.1
  responsive_builder: 0.7.1

  ### Native Payment
  phonepe_payment_sdk: ^2.0.3
  flutterwave_standard: 1.1.0
  razorpay_flutter: 1.4.1
  paytm_allinonesdk: # Fix conflict return callback url with stripe
    git:
      url: https://github.com/inspireui/paytm_allinonesdk.git
      ref: a4096f8ecf556b9cb4425b40ccef90d06bef9927
  pay_with_paystack:
    git:
      url: https://github.com/inspireui/pay_with_paystack
      ref: 34163d42305f92e4071ab2fcf6fc8c16429397f5
  # This package is discontinued
  flutter_paystack:
    git:
      url: https://github.com/inspireui/flutter_paystack.git
      ref: d5355aa84e0884730e259d6c46f5e5dcf46e658a

  flutter_async_autocomplete: # Customize to adapt with the project
    git:
      url: https://github.com/inspireui/flutter_async_autocomplete.git
      ref: e4099b4ae69b9a02f174ca0e4db6b1d2c356a924

  intl_phone_number_input: # custom feature for phone number
    git:
      url: https://github.com/inspireui/intl_phone_number_input
      ref: 7408d78d555b0516feb051f58d7053caff082cd0
  # This package is discontinued
  flutter_swiper_null_safety:
    git:
      url: https://github.com/inspireui/flutter_swiper_null_safety
      ref: 18e8d2d642ff9e0013fc4477c6d64c52732b463a

  # This package is discontinued
  flare_flutter:
    git:
      url: https://github.com/inspireui/Flare-Flutter.git
      ref: 0211568820af2ba96fedb7c51462ec5a6bf566b9
      path: flare_flutter
  # This package is discontinued
  pull_to_refresh:
    git:
      url: https://github.com/inspireui/flutter_pull_to_refresh
      ref: 24df296e282cd8b4ea8d3a5e171f4156a0295d1b
  shah_widgets:
    git:
      url: https://github.com/inspireui/shah_widgets
      ref: 016cd3323eaaf0acbf63ad3de8f45729cd12e438
  # This package is discontinued
  flutter_native_image:
    git:
      url: https://github.com/inspireui/flutter_native_image.git
      ref: 1d68ebd2df3050d71ee4b28f6daedecdace5af55

  onesignal_flutter:
    git:
      url: https://github.com/inspireui/OneSignal-Flutter-SDK.git # Fix issue to compatible with Flutter 3.29
      ref: 1b728a59a5dbe42474f1179edbdbebb5a259c9d4

  # Currently, there is an issue that automatically changes the bottom
  # navigation bar or status bar according to the background.
  # Issue: https://github.com/sososdk/flash/issues/74
  flash:
    git:
      url: https://github.com/inspireui/flash
      ref: 85b7213d94f9f590e8d900593c2275f1456f0e37

  # Fix issue to compatible with Flutter 3.32
  flutter_calendar_carousel:
    git:
      url: https://github.com/inspireui/flutter_calendar_carousel.git
      ref: badfb7f1660c121fb5f370cd3c0fff1fdc3e2579

  ###---- Some extra feature is disable by default -----###
  ### 💳 Facebook Ads
  ### Search "Enable Facebook Ads" & uncomment to use  - https://tppr.me/9Pkf9
  # facebook_audience_network: 1.0.1

  ### ⬇️ Enable In App Update on Android feature
  ### Uncomment file lib/common/tools/in_app_update_for_android.dart
  in_app_update: 4.2.5
  meta_seo: 3.0.9
  
  #### For Shopify GraphQL
  graphql: 5.2.3
  gql: any

dependency_overrides:
  ### Fixed issue(workaround): Crash when opening webview on iOS
  ##  Related: https://github.com/flutter/flutter/issues/162437
  ##  Updated to 3.23.5 for Flutter 3.38+ platform thread requirements
  webview_flutter_wkwebview: 3.23.5

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^6.0.0
  flutter_native_splash: ^2.4.0
  build_runner: ^2.4.10
  freezed: 3.2.5
  json_serializable: ^6.8.0
  injectable_generator: 2.12.1

  ### Enable to use Flutter Test Driver
  #  flutter_driver:
  #    sdk: flutter
  #  test: 1.16.5
  #  dependency_validator: 3.2.2  # pub run dependency_validator

  ### Enable Generate Icon library
  flutter_launcher_icons: 0.14.4

#  Run this script to generate the app icon: flutter pub run flutter_launcher_icons:main

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/images/app_icon.png"

flutter:
  uses-material-design: true
  assets:
    - lib/config/
    - lib/config/states/
    - lib/config/stories/
    - lib/config/us_store/
    - lib/config/vi_store/
    - assets/icons/brands/
    - assets/icons/credit_cards/
    - assets/icons/tabs/
    - assets/icons/payment/
    - assets/icons/logins/
    - assets/icons/loyalty/
    - assets/images/
    - assets/images/country/
    - assets/map_styles/
    - assets/html/
    - assets/videos/
    - google_fonts/

  fonts:
    - family: SRSymbol
      fonts:
        - asset: google_fonts/SRSymbol.ttf
# flutter_intl:
#   enabled: false
#   use_deferred_loading: true
