oxen-mobile-wallet/pubspec.yaml

159 lines
5.5 KiB
YAML

name: oxen_wallet
description: A Wallet for Oxen.
publish_to: none
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# 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
#
# Starting with 1.10.0, we use the minor version to track the associated oxen version the wallet is
# meant for (e.g. 1.10.x are releases built from oxen 10.x stable releases).
#
# NB: Apple's tools suck and don't always properly update the apple build info if we use
# $(FLUTTER_BUILD_NAME) and $(FLUTTER_BUILD_NUMBER) in the project file, so we set it manually.
# (Gee thanks Apple for your broken crap.) This means when updating this version you also need to
# change 6 lines in ios/Runner.xcodeproj/project.pbxproj (Three each of: CURRENT_PROJECT_VERSION,
# which should be the build number; and MARKETING_VERSION which should be the wallet version.
version: 1.10.2+15
# keytool -genkey -v -keystore c:\Users\konst\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=1.22.6"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_cupertino_localizations: ^1.0.1
intl: ^0.17.0
url_launcher: ^6.0.20
qr_flutter: ^4.0.0
uuid: ^3.0.3
shared_preferences: ^2.0.13
flutter_secure_storage: ^7.0.1
provider: ^6.0.2
rxdart: ^0.27.3
yaml: ^3.1.0
barcode_scan2: ^4.2.0
http: ^0.13.1
path_provider: ^2.0.9
mobx: ^2.0.6
flutter_mobx: ^2.0.4
flutter_slidable: ^2.0.0
share_plus: ^6.3.0
dio: ^4.0.0
oxen_coin:
path: ./oxen_coin
hive: ^2.1.0
hive_flutter: ^1.1.0
local_auth: ^2.1.0
package_info_plus: ^3.0.2
devicelocale: ^0.5.0
auto_size_text: ^3.0.0
synchronized: ^3.0.0
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
encrypt: ^5.0.0
basic_utils: ^5.2.2
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^2.1.8
build_resolvers: ^2.0.6
mobx_codegen: ^2.0.5+2
hive_generator: ^2.0.0
flutter_launcher_icons: ^0.11.0
lints: ^2.0.0
#flutter pub run flutter_launcher_icons:main
flutter_icons:
image_path: "assets/images/app_logo.png"
ios: true
android: true
adaptive_icon_background: "#DBF7F5"
adaptive_icon_foreground: "assets/images/app_logo_foreground.png"
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
generate: true
assets:
- assets/images/
- assets/node_list.yml
- assets/testnet_node_list.yml
- assets/changelog.yml
- assets/text/
- assets/faq/
fonts:
- family: Lato
fonts:
- asset: assets/fonts/Lato-Regular.ttf
- asset: assets/fonts/Lato-Bold.ttf
- asset: assets/fonts/Lato-Semibold.ttf
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
#flutter_intl:
# enabled: true # Required. Must be set to true to activate the package. Default: false
# class_name: S # Optional. Sets the name for the generated localization class. Default: S
# main_locale: en # Optional. Sets the main locale used for generating localization files. Provided value should consist of language code and optional script and country codes separated with underscore (e.g. 'en', 'en_GB', 'zh_Hans', 'zh_Hans_CN'). Default: en
# arb_dir: lib/l10n # Optional. Sets the directory of your ARB resource files. Provided value should be a valid path on your system. Default: lib/l10n
# output_dir: lib/generated # Optional. Sets the directory of generated localization files. Provided value should be a valid path on your system. Default: lib/generated