Repository navigation
Expand file tree
/
Copy pathpubspec.yaml
More file actions
248 lines (231 loc) · 11.8 KB
/
Copy pathpubspec.yaml
File metadata and controls
248 lines (231 loc) · 11.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
name: xpenc
description: "XPENC — offline-first personal finance. Income, expense, transfers, budgets, persons and bank-message auto-capture, all on-device."
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# 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 is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
#
# `AppInfo.version` / `AppInfo.buildNumber` mirror this line so the About screen
# can show it without pulling in a platform plugin. `test/branding_test.dart`
# parses this file and fails if the two ever disagree.
version: 1.6.7+37
environment:
sdk: ^3.10.8
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
flutter_riverpod: 2.6.1
drift: 2.31.0
drift_flutter: 0.2.8
go_router: ^17.3.0
intl: ^0.20.3
fl_chart: ^1.2.0
flutter_local_notifications: ^22.0.1
timezone: ^0.11.1
flutter_slidable: ^4.0.3
sqlite3_flutter_libs: 0.5.42
path_provider: ^2.1.6
# Pinned below 13 so it shares win32 ^5 with file_picker (13 needs win32 ^6).
share_plus: ^12.0.2
# Import a backup file from anywhere on the device (transfer between phones).
file_picker: ^8.1.6
# Camera capture for receipts (Add/Edit > receipt button > Take photo), and
# a person's profile photo from the gallery (Edit person > Add photo — the
# system photo picker, no permission). Receipt gallery/file attach still
# goes through file_picker above. Camera is the one runtime permission this
# dependency brings along (CAMERA, see AndroidManifest.xml).
image_picker: ^1.1.2
# Opens the developer's GitHub / LinkedIn from the About screen.
url_launcher: ^6.3.2
# Builds account/budget statement PDFs, entirely on-device — no network font
# fetch, so statements stick to plain ASCII text (see statement_pdf.dart).
pdf: ^3.11.3
# Biometric unlock for the passcode lock screen (Settings > Security).
local_auth: ^3.0.2
# Encrypted backups (GitHub #41): AES-256-GCM, key from the backup
# password via PBKDF2-HMAC-SHA256. Pure Dart (MIT) - no native blob for
# F-Droid to object to, and the same code runs on XPENC web.
pointycastle: ^4.0.0
# Hashes the passcode before it ever touches disk — never stored in plain
# text (see core/security/passcode.dart).
crypto: ^3.0.7
# Bridges data to the Android home-screen widget (see android/…/widget) and
# routes a tap on it back into the app.
home_widget: ^0.9.3
# Writes backups to the public Download/BACKUP XPENC folder via MediaStore —
# no storage permission needed, and survives the app being uninstalled
# (see backup_service.dart).
media_store_plus: ^0.1.3
# Lets a user Share a bank SMS from any app straight into XPENC — a
# Play-compliant path into message capture, needing no READ_SMS permission
# at all (see message_capture/share_intake.dart and GitHub #26).
# Pinned below 1.9.0: that release bumped its own compileSdk to 37, an
# Android preview-only platform build tooling can't reliably resolve.
# 1.8.1's public API is byte-for-byte identical (compileSdk 34).
receive_sharing_intent: 1.8.1
# Parses a bank-exported statement for CSV import (see
# data_export/csv_import_screen.dart and GitHub #17).
csv: ^8.0.0
# On-device text recognition for shared payment screenshots (PhonePe/GPay/
# Paytm "payment successful" screens) — see
# message_capture/ocr_service.dart and GitHub #25/#57. Tesseract (BSD-3),
# not Google ML Kit: F-Droid rejects ML Kit's proprietary trained-model
# blobs even in the "bundled" no-Play-Services form. Fully offline, no
# extra Android permission — assets/tessdata/eng.traineddata ships in the
# APK instead of being fetched at runtime.
#
# A local fork (packages/flutter_tesseract_ocr_floss), not the pub.dev
# package: upstream vendors a prebuilt tesseract4android-release.aar
# directly in its own android/libs/ — itself an unreviewable binary blob,
# same class of problem ML Kit was (GitHub #57). The fork drops that file
# and resolves the identical library from JitPack instead, which
# F-Droid's Inclusion Policy explicitly allows. See that package's
# android/build.gradle for the full rationale.
flutter_tesseract_ocr:
path: packages/flutter_tesseract_ocr_floss
# RFC 6238 TOTP codes for the authenticator-app unlock method (GitHub
# #104) — the same algorithm Google Authenticator/Authy/etc. implement.
# Pinned below 3.1.4: that release starts depending on timezone ^0.9.0/
# ^0.10.0, which conflicts with our own timezone ^0.11.1 (flutter_local_
# notifications). 3.1.3 has no timezone dependency at all and is otherwise
# the same generateTOTPCodeString API we use.
otp: 3.1.3
# Renders the QR code an authenticator app scans to add the TOTP secret.
qr_flutter: ^4.1.0
flutter_contacts: 2.1.0
font_awesome_flutter: ^11.0.0
dev_dependencies:
flutter_test:
sdk: flutter
# Lets tests fake out `path_provider` (see screenshot_intake_test.dart) —
# already a transitive dependency of path_provider itself, declared
# directly here only because tests import it by name.
path_provider_platform_interface: ^2.1.3
plugin_platform_interface: ^2.1.8
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^6.0.0
drift_dev: 2.31.0
build_runner: ^2.15.1
# Pinned to the version pubspec.lock already resolves. drift_dev 2.31 can't
# read the table argument of `references(Table, #id)` under analyzer 10.2:
# it warns "This parameter should be a simple class name" and generates the
# columns with NO foreign key — the build still succeeds. Found while
# building FITNS on the same stack; `flutter pub upgrade` would otherwise
# pull 10.2 in here too.
analyzer: 10.0.1
# 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 packages.
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
# Tesseract's English trained-data model (Apache-2.0, tesseract-ocr/
# tessdata_fast) — bundled at build time so OCR stays fully offline; see
# message_capture/ocr_service.dart. tessdata_config.json is required by
# flutter_tesseract_ocr itself (android_ios.dart's _loadTessData) — it's
# the manifest the plugin reads to know which files to copy out of the
# asset bundle into a real filesystem path before every OCR call; without
# it declared as an asset, that copy step throws on every attempt.
assets:
- assets/tessdata/eng.traineddata
- assets/tessdata_config.json
- assets/fonts/Inter-OFL.txt
# Static Regular/SemiBold/Bold instances of the Inter subset below, for
# shared PDFs (see features/share/pdf_kit.dart) — the pdf package can't
# pick a weight out of a variable font, and these carry ₹, €, £ and the
# other currency glyphs the built-in PDF fonts lack. ~35 KB each.
- assets/fonts/pdf/
# Interface translations, English -> each language (GitHub #191);
# built by tool/l10n/assemble.dart. English itself needs no table.
- assets/l10n/
# The Glass theme's Liquid Glass lens (see lib/core/theme/glass.dart).
shaders:
- shaders/liquid_glass.frag
# The Bold theme's own typography (see ThemeShape.bold) — bundled once,
# offline, rather than fetched at runtime with a package like google_fonts.
# Both are variable fonts: one file each covers every weight the app uses,
# from the Sora headline at 800 down to Manrope's 400 body text.
fonts:
- family: Sora
fonts:
- asset: assets/fonts/Sora-Variable.ttf
- family: Manrope
fonts:
- asset: assets/fonts/Manrope-Variable.ttf
# Glass's typeface — the closest open match to iOS's SF Pro. A Latin +
# currency-symbol subset of Inter 4.1 (variable, 184 KB; SIL OFL, see
# assets/fonts/Inter-OFL.txt).
- family: Inter
fonts:
- asset: assets/fonts/Inter-Variable.ttf
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/to/asset-from-package
# 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/to/font-from-package
# characters/matcher/material_color_utilities/meta/test_api/vector_math/
# image_picker_android aren't pinned anywhere above — they're pulled in by
# the Flutter SDK's own bundled `flutter`/`flutter_test` packages, whose
# declared constraint on each one changes release to release. A `pub get`
# run on a newer local SDK (e.g. the Flutter beta channel) happily resolves
# them upward; CI's `beta-release.yml`/`release.yml` pin an older stable
# Flutter (see their `flutter-version`) whose bundled packages cap these
# lower, so `flutter pub get --enforce-lockfile` there fails with "Unable to
# satisfy pubspec.yaml using pubspec.lock" the moment anyone's newer local
# SDK has last touched this lockfile (GitHub CI run 35206949018 was the
# first time this actually happened). Pinning them here to versions the
# CI-pinned SDK is happy with makes the lockfile SDK-version-independent —
# a newer local SDK no longer bumps them, so this can't recur. Bump these
# only alongside a bump of every workflow's `flutter-version`.
dependency_overrides:
characters: 1.4.0
image_picker_android: 0.8.13+17
matcher: 0.12.17
material_color_utilities: 0.11.1
meta: 1.17.0
test_api: 0.7.7
vector_math: 2.2.0