-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpubspec.yaml
113 lines (98 loc) · 2.84 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
name: mbm_elearning
description: mbm_elearning, A notes sharing platform.
version: 7.1.3+20
environment:
sdk: ">=3.2.1 <4.0.0"
dependencies:
flutter:
sdk: flutter
# flutter pub upgrade --major-versions
cupertino_icons: ^1.0.6
uuid: ^4.2.2
http: ^1.1.2
firebase_core: ^2.24.2
firebase_analytics: ^10.7.4
url_launcher: ^6.2.2
flutter_bloc: ^8.1.3
equatable: ^2.0.5
firebase_auth: ^4.15.3
google_sign_in: ^6.2.1 # need to setup with double condition
share_plus: ^7.2.1
carousel_slider: ^4.2.1
firebase_messaging: ^14.7.9
flutter_linkify: ^6.0.0
introduction_screen: ^3.1.12
sqflite: ^2.3.0 # android ios
connectivity_plus: ^5.0.2
cloud_firestore: ^4.13.6
shared_preferences: ^2.2.2
firebase_dynamic_links: ^5.4.8
flutter_svg: 2.0.9
permission_handler: ^11.1.0 # android and ios // need to setup with double condition
provider: ^6.1.1
scrollable_positioned_list: ^0.3.8
linkfy_text: ^1.1.5
googleapis: ^12.0.0
file_picker: ^5.2.0+1
googleapis_auth: ^1.4.1
html: ^0.15.4
flutter_html: ^3.0.0-alpha.5
flutter_html_iframe: ^3.0.0-alpha.5
flutter_html_svg: ^3.0.0-alpha.5
flutter_html_table: ^3.0.0-alpha.5
flutter_html_video: ^3.0.0-alpha.5
dropdown_search: ^5.0.2
html_editor_enhanced: ^2.5.1 # warning flutter build web --web-renderer html
awesome_notifications: 0.7.4+1 #android ios
date_time_picker: ^2.1.0
firebase_in_app_messaging: ^0.7.4+8 #android ios
tutorial_coach_mark: ^1.2.11
lottie: any
update_available: ^3.0.0 # android and ios
path_provider: ^2.1.1
webview_flutter: ^4.4.2
flex_color_scheme: ^7.3.1
dev_dependencies:
flutter_lints: ^3.0.1
flutter_flavorizr: ^2.2.1
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/icons/
- assets/rive/
- assets/lottie/
fonts:
- family: Righteous
fonts:
- asset: assets/fonts/Righteous-Regular.ttf
# flutter pub run flutter_flavorizr -p android:buildGradle,android:androidManifest
flavorizr:
app:
android:
flavorDimensions: "mbm-elearning-type"
ios:
flavors:
mprod:
app:
name: "MBM Elearning"
android:
applicationId: "com.mbm.elereaning.mbmecj"
firebase:
config: ".firebase/mprod/google-services.json"
ios:
bundleId: "com.mbm.elereaning.mbmecj"
mdev:
app:
name: "MBM Elearning Dev"
android:
applicationId: "com.mbm.elereaning.mbmecj.dev"
firebase:
config: ".firebase/mdev/google-services.json"
ios:
bundleId: "com.mbm.elereaning.mbmecj.dev"
# flutter build apk --flavor mprod -t lib/main_mprod.dart
# flutter build apk --flavor mdev -t lib/main_mdev.dart
# flutter build appbundle --flavor mprod -t lib/main_mprod.dart
# flutter run --flavor mdev -t lib/main_mdev.dart
# flutter run --web-renderer html --flavor mdev -t lib/main_mdev.dart