Files
ente/mobile/pubspec.yaml

390 lines
12 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: photos
description: ente photos application
# 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 +.q
# 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
version: 1.1.0+1053
publish_to: none
environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
adaptive_theme: ^3.1.0
android_intent_plus: ^5.2.0
animated_list_plus: ^0.5.2
app_links: ^6.4.0
archive: ^3.6.1
background_fetch: ^1.3.7
battery_info: # replace with battery_plus
git:
url: https://github.com/ente-io/battery_info
ref: 95c7a9f
bip39: ^1.0.6
cached_network_image: ^3.0.0
chewie:
git:
url: https://github.com/ente-io/chewie.git
ref: mybranched
collection: # dart
computer: # logged task name in verbose in fork
git: "https://github.com/ente-io/computer.git"
connectivity_plus: ^6.0.2
crypto: ^3.0.2
cupertino_icons: ^1.0.0
dart_ui_isolate: ^1.1.1
defer_pointer: ^0.0.2
device_info_plus: ^9.0.3
dio: ^5.8.0+1
dots_indicator: ^2.0.0
dotted_border: ^2.1.0
dropdown_button2: ^2.0.0
el_tooltip: ^2.2.1
email_validator: ^2.0.1
encrypt: ^5.0.3
ente_cast:
path: plugins/ente_cast
ente_cast_normal:
path: plugins/ente_cast_normal
ente_crypto:
path: plugins/ente_crypto
ente_feature_flag:
path: plugins/ente_feature_flag
equatable: ^2.0.5
event_bus: ^2.0.0
exif: ^3.0.0
expandable: ^5.0.1
expansion_tile_card: ^3.0.0
extended_image: ^8.1.1
fade_indexed_stack: ^0.2.2
fast_base58: ^0.2.1
ffmpeg_kit_flutter:
git:
url: https://github.com/ente-io/ffmpeg-kit
path: flutter/flutter
ref: android-packaged
figma_squircle: ^0.6.3
file_saver: ^0.2.14
fixnum: ^1.1.1
flutter:
sdk: flutter
flutter_animate: ^4.1.0
flutter_cache_manager: ^3.3.0
flutter_displaymode: ^0.6.0
flutter_easyloading: ^3.0.0
flutter_email_sender: ^7.0.0
flutter_image_compress: ^2.4.0
flutter_inappwebview: ^6.1.4
flutter_local_notifications: ^19.2.1
flutter_localizations:
sdk: flutter
flutter_map: ^6.2.0
flutter_map_marker_cluster: ^1.3.6
flutter_password_strength: ^0.1.6
# Do not upgrade this package unless this issue is resolved:
# https://github.com/juliansteenbakker/flutter_secure_storage/issues/870
# On v9.2.4, keys related to lockscreen persist even after reintsall. For context see:
# https://github.com/juliansteenbakker/flutter_secure_storage/issues/870#issuecomment-2777447937
# Let's wait till the issue is resolved by the package maintainer.
# If not resolved and we need to upgrade, write a migration script.
flutter_secure_storage: 9.0.0
flutter_sodium:
flutter_staggered_grid_view: ^0.6.2
flutter_svg: ^2.0.10+1
flutter_timezone: ^4.1.0
fluttertoast: ^8.0.6
fraction: ^5.0.2
freezed_annotation: ^2.4.1
home_widget: ^0.7.0+1
html_unescape: ^2.0.0
http: ^1.1.0
image: ^4.0.17
image_editor: ^1.6.0
image_picker: ^1.1.1
intl: ^0.19.0
latlong2: ^0.9.0
launcher_icon_switcher: ^0.0.2
like_button: ^2.0.5
local_auth: ^2.1.5
local_auth_android:
local_auth_ios:
logging: ^1.3.0
lottie: ^1.2.2
maps_launcher: ^3.0.0+1
media_extension:
git:
url: "https://github.com/ente-io/media_extension.git"
media_kit:
media_kit_libs_ios_video:
media_kit_libs_video:
media_kit_video:
ml_linalg: ^13.11.31
modal_bottom_sheet: ^3.0.0
motion_photos:
git: "https://github.com/ente-io/motion_photo.git"
motionphoto:
git: "https://github.com/ente-io/motionphoto.git"
move_to_background: # no updates in git, replace package
git:
url: https://github.com/ente-io/move_to_background.git
ref: 3b862fe
nanoid: ^1.0.0
native_dio_adapter: ^1.4.0
native_video_player: ^3.0.0-dev.4
onnx_dart:
path: plugins/onnx_dart
onnxruntime:
git:
url: https://github.com/ente-io/onnxruntime.git
ref: ios_only
open_mail_app: # replace plugin, git is archived
git:
url: https://github.com/ente-io/open-mail-app-flutter.git
ref: 83740bf
package_info_plus: ^8.2.1
panorama:
git:
url: https://github.com/ente-io/panorama_blur.git
ref: blur
password_strength: ^0.2.0
path: #dart
path_provider: ^2.1.1
path_provider_foundation: ^2.4.1
permission_handler: ^11.0.1
photo_manager: ^3.5.3
photo_view: ^0.14.0
pinput: ^5.0.0
pointycastle: ^3.7.3
privacy_screen: # pub.dev is behind
git:
url: https://github.com/eddyuan/privacy_screen.git
ref: 855418e
receive_sharing_intent: # pub.dev is behind
git:
url: https://github.com/KasemJaffer/receive_sharing_intent.git
ref: 2cea396
screenshot: ^3.0.0
scrollable_positioned_list: ^0.3.5
sentry: ^8.14.1
sentry_flutter: ^8.14.1
share_plus: ^10.0.2
shared_preferences: ^2.0.5
sqflite: ^2.3.0
sqflite_migration: ^0.3.0
sqlite3_flutter_libs: ^0.5.20
sqlite_async: ^0.6.1
step_progress_indicator: ^1.0.2
styled_text: ^8.1.0
syncfusion_flutter_core: ^25.2.5
syncfusion_flutter_sliders: ^25.2.5
synchronized: ^3.3.0+3
system_info_plus: ^0.0.6
timezone: ^0.10.0
tuple: ^2.0.0
ua_client_hints: ^1.4.0
url_launcher: ^6.3.0
uuid: ^4.5.0
video_editor: # edge cases handled in fork
git:
url: https://github.com/ente-io/video_editor_fork.git
video_player:
git:
url: https://github.com/ente-io/packages.git
ref: android_video_roation_fix
path: packages/video_player/video_player/
video_thumbnail:
visibility_detector: ^0.3.3
wakelock_plus: ^1.1.1
wechat_assets_picker: ^8.6.3
widgets_to_image: ^0.0.2
xml: ^6.3.0
dependency_overrides:
# Remove this after removing dependency from flutter_sodium.
# Newer flutter packages depends on ffi > 2.0.0 while flutter_sodium depends on ffi < 2.0.0
ffi: 2.1.0
flutter_sodium: # update source if there is any update
git:
url: https://github.com/ente-io/flutter_sodium
intl: 0.18.1
js: ^0.6.7
media_kit: # update media_kit* if there is any update
git:
url: https://github.com/media-kit/media-kit
path: media_kit
media_kit_libs_ios_video:
git:
url: https://github.com/media-kit/media-kit
path: libs/ios/media_kit_libs_ios_video
media_kit_libs_video:
git:
url: https://github.com/media-kit/media-kit
path: libs/universal/media_kit_libs_video
media_kit_video:
git:
url: https://github.com/media-kit/media-kit
path: media_kit_video
protobuf: ^3.1.0
video_player: # remove this dep as soon as we move to one player for all
git:
url: https://github.com/ente-io/packages.git
ref: android_video_roation_fix
path: packages/video_player/video_player/
video_thumbnail: # update source if there is any update
git:
url: https://github.com/ente-io/video_thumbnail_fork.git
watcher: ^1.1.0
win32: "5.10.1"
flutter_intl:
enabled: true
dev_dependencies:
build_runner: ^2.4.7
flutter_driver:
sdk: flutter
flutter_launcher_icons: ^0.13.1
flutter_lints: ^3.0.1
flutter_native_splash: ^2.4.4
flutter_test:
sdk: flutter
freezed: ^2.5.2
integration_test:
sdk: flutter
intl_utils: ^2.8.7
json_annotation: ^4.8.0
json_serializable: ^6.6.1
test: ^1.22.0
# ------------------------------
# ICONs
# ------------------------------
# Run `dart run flutter_launcher_icons` after un-commenting one of the sections
# (ADAPTIVE ICONS or NON ADAPTIVE ICONS) within the `flutter_icons` section. You
# may have to update the `icon_X.xml` generated within `res/minimap-*` folder.
# Sample commit for adding an icon:
# https://github.com/ente-io/ente/commit/40ae8d91c359447fc2cf6672bfa754c5cc7a6af1
# flutter_icons:
# ADAPTIVE ICONS
# 1. E + HEART
# adaptive_icon_foreground: "assets/launcher_icon/icon-foreground.png"
# adaptive_icon_background: "#08C225"
# 2. OG
# adaptive_icon_foreground: "assets/launcher_icon/icon-og-foreground.png"
# adaptive_icon_background: "#ffffff"
# 3. MONOCHROME
# adaptive_icon_foreground: "assets/launcher_icon/icon-monochrome-foreground.png"
# adaptive_icon_background: "#08C225"
# android: "icon_monochrome"
# image_path: "assets/launcher_icon/icon-monochrome-foreground.png"
# NON ADAPTIVE ICONS
# 1. GREEN ICON
# android: "icon_green"
# ios: "IconGreen"
# image_path: "assets/launcher_icon/icon-green.png"
# 2. DARK ICON
# android: "icon_dark"
# ios: "IconDark"
# image_path: "assets/launcher_icon/icon-dark.png"
# 3. LIGHT ICON
# android: "icon_light"
# ios: "IconLight"
# image_path: "assets/launcher_icon/icon-light.png"
# 4. OG ICON
# android: "icon_og"
# ios: "IconOG"
# image_path: "assets/launcher_icon/icon-og.png"
flutter_native_splash:
color: "#ffffff"
color_dark: "#000000"
image: assets/splash-screen-icon.png
android_gravity: center
ios_content_mode: center
android_12:
# The image parameter sets the splash screen icon image. If this parameter is not specified,
# the app's launcher icon will be used instead.
# Please note that the splash screen will be clipped to a circle on the center of the screen.
# App icon without an icon background: This should be 1152×1152 pixels, and fit within a circle
# 768 pixels in diameter.
image: assets/splash-screen-icon.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:
assets:
- assets/
- assets/video-editor/
- assets/icons/
- assets/launcher_icon/
fonts:
- family: Inter
fonts:
- asset: fonts/Inter-Regular.ttf
- asset: fonts/Inter-Medium.ttf
- asset: fonts/Inter-Light.ttf
- asset: fonts/Inter-SemiBold.ttf
- asset: fonts/Inter-Bold.ttf
- family: Montserrat
fonts:
- asset: fonts/Montserrat-Bold.ttf
# 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
# Flutter localization
generate: true
# 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