-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
162 lines (139 loc) · 6.93 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
name: priobike
description: The PrioBike Flutter App.
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# 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 used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.7
environment:
sdk: ">=3.2.0 <4.0.0"
# 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
cupertino_icons: ^1.0.8 # Icons package
geolocator: ^12.0.0 # GPS tracking
shared_preferences: ^2.2.3 # Access to shared preferences or user defaults (iOS)
latlong2: ^0.9.0 # Distance calculations and more
flutter_native_splash: ^2.4.0 # Generated splash screen, see below
wakelock_plus: ^1.2.5 # Keep display active in certain conditions
http: ^1.2.1 # HTTP client framework
device_info_plus: ^10.1.0 # Fetch info about the device
package_info_plus: ^8.0.0 # Fetch info about the package
battery_plus: ^6.0.1 # Fetch info about the battery state
share_plus: ^9.0.0 # Used for debugging to share example requests/responses via e-mail/airdrop
firebase_core: ^2.32.0 # Used to initialize the connection to Firebase
firebase_messaging: ^14.9.4 # Used to receive push notifications of news service
flutter_local_notifications: ^17.1.2 # Used to show the push notifications
mqtt_client: ^10.2.1
system_info_plus: ^0.0.5 # Used to check the RAM of user device
confetti: ^0.7.0
collection: ^1.16.0 # Used for example for the function DeepCollectionEquality()
intl: ^0.19.0 # Used for date formats
mapbox_maps_flutter: ^2.0.0
path_provider: ^2.1.3 # To get the path to the app directory and store files
connectivity_plus: ^6.0.3 # To check if the user is connected to Wifi or mobile data
get_it: ^7.7.0 # Used for dependency injection
qr_flutter: ^4.1.0 # Used to display QR codes
qr_code_scanner: ^1.0.1 # Used to scan QR codes
url_launcher: ^6.2.6 # Used to open URLs
in_app_review: ^2.0.8 # Used to rate the app
proj4dart: ^2.1.0 # Used to convert coordinates from WGS84 to Mercator and back
file_picker: ^8.0.3 # Used to open GPX files
gpx: ^2.2.1
typed_data: ^1.3.2 # Used for encoding messages to send via MQTT for simulator
flutter_tts: ^4.0.2 # Used for text-to-speech
flutter_blue_plus: 1.20.8 # Used for connecting to BLE devices. Note: keep this Version due to problems with newer versions.
flutter_markdown: ^0.7.1 # Used to display the privacy policy
audio_session: ^0.1.21 # Used to play audio in the background
uuid: ^4.5.0 # Used for user and session IDs
dev_dependencies:
flutter_launcher_icons: ^0.13.1 # Generate app icons
flutter_test:
sdk: flutter
# 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: ^4.0.0
drift_dev: ^2.18.0 # Used for the sqlite database
build_runner: ^2.4.9 # Used to generate code with the drift package
# Configuration of the splash screens.
flutter_native_splash:
color: "#FA1E41" # Color in light mode
color_dark: "#FA1E41" # Color in dark mode
image: assets/splash.png # Icon to display in the center
image_dark: assets/splash.png # be default this should be equal to 'image' ... but for some reason it's not.
android_12: #The Android 12 splash screen requires an app icon without an icon background, which should be 1152×1152 pixels in size and fit into a circle 768 pixels in diameter.
image: assets/splash.png # Icon to display in the center
image_dark: assets/splash.png # be default this should be equal to 'image' ... but for some reason it's not.
# Configuration of the app icons.
flutter_icons:
android: true # Make app icon set for android
ios: true # Make app icon set for iOS
remove_alpha_ios: true # Alpha is not allowed in iOS app icons
image_path: "assets/icon.png" # Icon to transform into app icon sets
# The following section is specific to Flutter.
flutter:
fonts:
- family: HamburgSans
fonts:
- asset: assets/fonts/HamburgSans-Regular.ttf
- asset: assets/fonts/HamburgSans-Bold.ttf
weight: 700
- asset: assets/fonts/HamburgSans-Italic.ttf
style: italic
- asset: assets/fonts/HamburgSans-BoldItalic.ttf
weight: 700
style: italic
# 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
# To add assets to your application, add an assets section, like this:
assets:
# App icon and splash screen
- assets/icon.png
- assets/splash.png
# Geojsons
- assets/geo/
# Files needed to get git info within the app, e.g. current branch.
# Please make sure that the repository is cloned by the branch name, and
# not by the commit hash (as is the default for Jenkins CI pipelines).
- .git/HEAD # Branch Name for dev/beta feature unlocking
# This file has to be updated by the CI pipeline to contain the current git tag.
# By doing so we determine if this is a release version.
- git_tag.txt
# Privacy Policy & Aknowledgements
- assets/text/
# Assets for track simulation
- assets/tracks/hamburg/
- assets/tracks/dresden/
# Map symbols & Navigation icons
- assets/images/
- assets/images/trafficlights/
# Screenshots
- assets/images/screenshots/
# Pois
- assets/images/pois/
# wiki images
- assets/images/wiki/
# Radkultur icons
- assets/icons/