-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpubspec.yaml
More file actions
200 lines (184 loc) · 6.77 KB
/
Copy pathpubspec.yaml
File metadata and controls
200 lines (184 loc) · 6.77 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
name: uniun
description: "UNIUN — decentralized offline-first social and knowledge network on Nostr."
publish_to: "none"
version: 2.1.0+11
environment:
sdk: ">=3.12.0 <4.0.0"
global_options:
freezed:freezed:
runs_before:
- isar_generator:isar_generator
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: any
cupertino_icons: ^1.0.2
go_router: ^14.0.0
flutter_bloc: ^8.1.3
bloc: ^8.1.2
bloc_concurrency: ^0.2.4
injectable: ^2.3.2
get_it: ^8.0.0
freezed_annotation: ^3.0.0
isar_community: 3.3.2
isar_community_flutter_libs: 3.3.2
dartz: ^0.10.1
path_provider: ^2.0.15
path: ^1.9.0
web_socket_channel: ^3.0.3
convert: ^3.1.2
crypto: ^3.0.7
# HKDF + ChaCha20-Poly1305 for the same-identity mesh channel encryption
# (already in the tree transitively; declared here since we import it directly).
cryptography_plus: ^2.7.1
nostr: ^1.4.0
nostr_core_dart: ^1.0.1
json_annotation: ^4.9.0
flutter_secure_storage: any
shared_preferences: ^2.2.2
avatar_plus: ^0.0.5
cached_network_image: ^3.3.1
image_picker: ^1.2.1
flutter_native_splash: ^2.3.10
qr_flutter: ^4.1.0
share_plus: ^10.1.4
# Inbound share: lets other apps (WhatsApp, Photos, Files, browsers) push
# text/links/images/videos/files INTO UNIUN via the OS share sheet. Android
# reads ACTION_SEND off the singleTop MainActivity; iOS needs a Share
# Extension target + App Group (group.in.uniun.app) — see ios/ShareExtension/.
receive_sharing_intent: ^1.8.1
# Direct save to Photos / Files (Android / iOS / macOS). On Windows we
# fall back to copying the file to the user's Downloads directory via
# path_provider.
image_gallery_saver_plus: ^5.0.0
mobile_scanner: ^7.2.0
# flutter_gemma 1.x splits the monolith into a small core + opt-in engine
# packages. We ship both .task models (MediaPipe) and .litertlm models
# (LiteRT-LM), plus the embedder used by Shiv RAG. Vector store stays
# tostore (we keep our own RAG path; no qdrant sub-package).
flutter_gemma: ^1.2.0
flutter_gemma_litertlm: ^1.0.2
flutter_gemma_mediapipe: ^1.0.3
flutter_gemma_embeddings: ^1.0.1
# Background execution. Used by GanaBootstrap to schedule one-shot Gana
# ticks when the app is backgrounded. Foreground engine uses the
# long-lived isolate; WorkManager only runs when the app is paused.
workmanager: ^0.9.0
system_info_plus: ^0.0.6
# Reads the real app version/build (baked from this pubspec's `version:`)
# at runtime for the Settings → About row.
package_info_plus: ^8.0.0
openmls: ^1.3.0
http: ^1.4.0
uuid: ^4.5.1
graphview: ^1.5.1
flutter_keyboard_visibility: ^6.0.0
nip44:
git:
url: https://github.com/chebizarro/dart-nip44.git
ref: master
disk_space_plus: ^0.2.6
nip77: ^1.0.1
flutter_svg: ^2.2.4
tostore: ^3.1.0
visibility_detector: ^0.4.0+2
openrouter_api: ^1.0.2
flutter_markdown_plus: ^1.0.3
markdown: ^7.3.0
url_launcher: ^6.3.0
flutter_blurhash: ^0.9.1
# Blurhash ENCODER (flutter_blurhash only decodes). Needs the `image`
# package to decode/resize before encoding — both used by
# core/utils/media_blurhash.dart in a compute() isolate.
blurhash_dart: ^1.2.1
image: ^4.8.0
mime: ^2.0.0
file_picker: ^8.1.4
# SAF "Save as" picker on Android, "Save to Files" on iOS.
# Android+iOS only — desktop save path goes through file_picker.saveFile().
flutter_file_dialog: ^3.0.2
# No Windows backend; ImageCompressor short-circuits on Windows.
flutter_image_compress: ^2.3.0
open_filex: ^4.5.0
# No Windows backend; VideoCompressor short-circuits on Windows.
video_compress: ^3.1.4
bonsoir: ^5.1.0
# Triggers a LAN-transport rebind when the network interface changes (Wi-Fi
# switch) so mesh sync recovers without an app restart — see MeshEngineHost.
connectivity_plus: ^6.1.0
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
# Industry-standard BLoC testing helper. `blocTest()` gives the
# declarative `act/expect/verify` style instead of hand-rolled
# `await bloc.stream.firstWhere(...)` loops.
bloc_test: ^9.1.7
# Mocktail: null-safety-native mock library, no codegen, no
# mockito @GenerateMocks boilerplate. Companion to bloc_test.
mocktail: ^1.0.4
# Direct deps for test/_helpers/fake_path_provider.dart (platform-interface
# fakes). Both already resolve transitively via path_provider; declaring
# them keeps depend_on_referenced_packages honest.
path_provider_platform_interface: ^2.1.0
plugin_platform_interface: ^2.1.0
flutter_lints: ^2.0.0
build_runner: ^2.13.0
freezed: ^3.0.0
isar_community_generator: 3.3.2
injectable_generator: ^2.4.1
json_serializable: ^6.9.0
flutter_launcher_icons: ^0.14.3
flutter_native_splash:
color: "#ffffff"
image: assets/images/uniun-logo.png
android_12:
image: assets/images/uniun-logo-android12.png
color: "#ffffff"
ios: true
ios_content_mode: center
android_gravity: center
web: false
flutter_launcher_icons:
android: true
ios: true
image_path: "assets/images/uniun-logo.png"
min_sdk_android: 21
adaptive_icon_background: "#ffffff"
adaptive_icon_foreground: "assets/images/uniun-logo.png"
# nostr_core_dart ^1.0.1 declares http ^0.13.3, but flutter_gemma ^0.13.1 needs
# http ^1.4.0 via grpc. nostr_core_dart only calls http.get(Uri.parse(...)) so
# it is fully compatible with http 1.x at runtime — safe to override.
# flutter_gemma 1.1.x requires hooks ^2.0.0; openmls 1.3.0 pins hooks ^1.0.0.
# openmls's pin is conservative — it uses no APIs broken by hooks 2.x, so forcing
# 2.x lets both packages coexist. Verified: pub get + analyze + debug APK build
# all clean. Drop this override once openmls relaxes its constraint upstream.
dependency_overrides:
http: ^1.4.0
hooks: ^2.0.0
# path_provider_foundation 2.6+ switched to package:objective_c (FFI), which is
# unstable on iOS/macOS in this app — it crashes with EXC_BAD_ACCESS (a retain on
# a freed objc object) when used off the main isolate OR across concurrent
# main-isolate callers (Isar, ToStore, Marmot MLS, storage, mesh). Pin to the last
# Pigeon-based release (no objective_c) until that's resolved upstream.
path_provider_foundation: 2.5.1
# 0.1.0 (nostr_core_dart's pin) emits unpadded sigs — ~1/128 fail their own
# verification. Fixed in 0.2.0; drop once nostr_core_dart bumps upstream.
bip340: ^0.2.0
flutter:
generate: true
uses-material-design: true
assets:
- assets/images/
- assets/images/tabs/
- assets/models/embedding/
fonts:
# Newsreader — humanist display serif (design-system --font-display).
# Used sparingly for brand/onboarding headlines only. Variable font
# (weight + optical-size axes); weights are selected via fontVariations.
- family: Newsreader
fonts:
- asset: assets/fonts/Newsreader.ttf