forked from syphon-org/syphon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
227 lines (199 loc) · 6.96 KB
/
pubspec.yaml
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
name: syphon
description: a privacy focused matrix client
# flutter commands
# $ flutter create --org org.tether.tether
# $ flutter run --no-fast-start
# $ flutter pub get
# $ flutter pub global run devtools
# $ flutter pub run build_runner build
# $ flutter pub run build_runner watch
# $ flutter pub run build_runner build --delete-conflicting-outputs
# troubleshooting
# $ pub cache repair
# $ flutter pub cache repair
# mobile development commands
# $ xcrun simctl delete unavailable
# $ xcrun simctl list devices
# $ xcrun simctl boot <device-id>
# $ xcrun simctl boot 9EC4AC8E-5BD0-4D38-A8FC-52504C130844
# $ emulator -list-avds
# $ emulator -avd Pixel_3a_API_29
# $ adb shell && run-as org.tether.tether # cache inspection
# desktop support options
# $ flutter config --enable-macos-desktop
# $ flutter config --no-enable-macos-desktop
# asset generation
# iOS icons - https://github.com/smallmuou/ios-icon-generator
# - run generation script for ios and macos (desktop and mobile)
# android icons - use Android Studio with generic png
# env setup
# - defaults delete com.apple.dt.Xcode # Reset XCode settings
# - synctl start on 192.168.1.2 or respective local server
# - curl -XGET "http://192.168.1.2:8008/_matrix/client/r0/login" to test
# notes
# https://github.com/flutter/plugins/pull/1570
# 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 +.
version: 0.1.3+104
environment:
sdk: ">=2.9.0-13.0 <3.0.0" # <- modified to solve build_runner
dependencies:
flutter:
sdk: flutter
olm:
git:
url: https://gitlab.com/famedly/libraries/dart-olm
ref: f66975bd1b5cb1865eba5efe6e3a392aa5e396a5
# Domain / Store
expandable: 3.0.1
equatable: 1.2.4
crypt: 3.0.1
canonical_json: 1.0.0
convert: 2.1.1
device_info: ^0.4.2
redux: 4.0.0
redux_thunk: 0.3.0
redux_persist: 0.8.3
redux_persist_flutter: 0.8.2
flutter_redux: 0.6.0
hive: 1.4.4
hive_flutter: 0.3.1
flutter_secure_storage: 3.3.3
mime: 0.9.7
path_provider: 1.6.14
package_info: 0.4.3
# steel_crypt: 1.7.1
# cryptography: 1.2.1
# Services
http: ^0.12.0+2
html: ^0.13.3+3
intl: ^0.16.1
http_parser: 3.1.4
easy_localization: 2.3.3
flutter_dotenv: 2.1.0
android_alarm_manager: 0.4.5+11
# flutter_apns: 1.1.0 # TODO: extract only the iOS code and remove
# Converters
# json_serializable: 3.3.0
# Desktop UI Only - UNCOMMENT FOR BUILDS
# window_utils: 1.0.2
# UI Only
cupertino_icons: ^0.1.2
url_launcher: 5.5.0
flutter_svg: 0.18.1
file_picker: 1.13.3
image_picker: ^0.6.7+7
flutter_swiper : 1.1.6
webview_flutter: ^0.3.21
touchable_opacity: 1.0.2
fab_circular_menu: ^1.0.0
flutter_recaptcha_v2: 0.1.0
smooth_page_indicator: 0.1.1
flutter_local_notifications: 1.4.0
flutter_material_color_picker: ^1.0.5
palette_generator: 0.2.3
dev_dependencies:
flutter_launcher_icons: "^0.7.5"
build_runner: ^1.10.1
hive_generator: 0.7.1
# TODO: build fixes - remove later
build_resolvers: 1.3.10 # <- modified to solve build_runner
# TODO: build fixes - remove later
dependency_overrides:
path: 1.7.0
analyzer: 0.39.14
dart_style: 1.3.4
flutter_icons:
android: true
ios: true
image_path: "assets/icons/current/app_icon_ios.png"
adaptive_icon_background: "#34C7B5"
adaptive_icon_foreground: "assets/icons/current/app_icon_foreground.png"
# 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
fonts:
- family: Poppins
fonts:
- asset: assets/fonts/Poppins-Italic.ttf
- asset: assets/fonts/Poppins-Regular.ttf
- asset: assets/fonts/Poppins-Medium.ttf
- asset: assets/fonts/Poppins-Light.ttf
- asset: assets/fonts/Poppins-Thin.ttf
- family: Rubik
fonts:
- asset: assets/fonts/Rubik-Regular.ttf
- asset: assets/fonts/Rubik-Medium.ttf
- asset: assets/fonts/Rubik-Light.ttf
- family: Inter
fonts:
- asset: assets/fonts/Inter-Italic.ttf
- asset: assets/fonts/Inter-Regular.ttf
- asset: assets/fonts/Inter-Medium.ttf
- asset: assets/fonts/Inter-Light.ttf
# To add assets to your application, add an assets section, like this:
# On release, change .env.debug to .env
assets:
- ./.env.debug
- ./.env.release
- assets/translations/en.json
- assets/translations/ru.json
- assets/graphics/undraw_sync_files.svg
- assets/graphics/undraw_accept_terms.svg
- assets/graphics/undraw_mobile_user.svg
- assets/graphics/undraw_messaging_fun.svg
- assets/graphics/undraw_connection.svg
- assets/graphics/undraw_group_chat.svg
- assets/graphics/undraw_people.svg
- assets/graphics/undraw_site_content.svg
- assets/graphics/undraw_escaping.svg
- assets/graphics/undraw_message_sent.svg
- assets/graphics/undraw_new_message.svg
- assets/graphics/undraw_in_thought.svg
- assets/graphics/undraw_profile_data.svg
- assets/graphics/undraw_mention.svg
- assets/graphics/undraw_not_found.svg
- assets/icons/current/app_icon_cyan.svg
- assets/icons/current/app_icon_cyan.png
- assets/icons/current/app_icon_white.png
- assets/icons/global/being-check.svg
- assets/icons/global/being-person-add.svg
- assets/icons/global/being-group-add.svg
- assets/icons/global/being-public-add.svg
- assets/icons/global/being-search-public.svg
- assets/icons/global/being-search-public-condensed.svg
- assets/icons/global/being-message-syphon.svg
- assets/icons/global/being-send.svg
- assets/icons/global/being-send-solid.svg
- assets/icons/global/being-send-lock.svg
- assets/icons/global/being-send-lock-solid.svg
- assets/icons/global/being-send-unlock.svg
- assets/icons/global/being-chevrons-right.svg
- assets/icons/global/feather-message-circle.svg
# 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