Compare commits
52 Commits
bf48971dc4
...
ca3f62c709
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca3f62c709 | ||
|
|
b13f0b87a3 | ||
|
|
8ec8f35a31 | ||
|
|
230b7abf8b | ||
|
|
2abb080c09 | ||
|
|
a34c1e5a3d | ||
|
|
68605dea78 | ||
|
|
59b708a160 | ||
|
|
2849dfaade | ||
|
|
b08f9164e6 | ||
|
|
5fb9fbaf2b | ||
|
|
520c38782f | ||
|
|
5b21fb12e3 | ||
|
|
a49aa198f4 | ||
|
|
ef895ff892 | ||
|
|
06c8d2c589 | ||
|
|
20be1ab64c | ||
|
|
795f0e8853 | ||
|
|
d3f2cc6eb0 | ||
|
|
e34780c9a7 | ||
|
|
495b0dc98f | ||
|
|
7b03381f7c | ||
|
|
800a402046 | ||
|
|
50101d1196 | ||
|
|
ae25ea73a8 | ||
|
|
407425a2b9 | ||
|
|
088f4a2833 | ||
|
|
c63124b16b | ||
|
|
329708fe6c | ||
|
|
e5b2be5245 | ||
|
|
0fb1634a91 | ||
|
|
8634edc916 | ||
|
|
1211569078 | ||
|
|
26b970982c | ||
|
|
e77393dd13 | ||
|
|
020fa8823d | ||
|
|
959fc33fe4 | ||
|
|
a57fc811d8 | ||
|
|
a96084ba17 | ||
|
|
b96c988e80 | ||
|
|
14d2761832 | ||
|
|
bd3fd28d3c | ||
|
|
e8ef20d046 | ||
|
|
9fc8d5d1de | ||
|
|
73db84896a | ||
|
|
9734532491 | ||
|
|
7d38f54123 | ||
|
|
d02a627b86 | ||
|
|
6ce40dd2d6 | ||
|
|
00ffdcf10b | ||
|
|
e4d38692fe | ||
|
|
1f93a4e42d |
@@ -1,82 +0,0 @@
|
|||||||
# Details
|
|
||||||
|
|
||||||
Date : 2025-10-14 11:10:48
|
|
||||||
|
|
||||||
Directory c:\\Users\\dayro\\Documents\\coding\\travel_mate
|
|
||||||
|
|
||||||
Total : 67 files, 5159 codes, 328 comments, 739 blanks, all 6226 lines
|
|
||||||
|
|
||||||
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
|
|
||||||
|
|
||||||
## Files
|
|
||||||
| filename | language | code | comment | blank | total |
|
|
||||||
| :--- | :--- | ---: | ---: | ---: | ---: |
|
|
||||||
| [README.md](/README.md) | Markdown | 45 | 0 | 16 | 61 |
|
|
||||||
| [analysis\_options.yaml](/analysis_options.yaml) | YAML | 3 | 22 | 4 | 29 |
|
|
||||||
| [android/app/google-services.json](/android/app/google-services.json) | JSON | 54 | 0 | 0 | 54 |
|
|
||||||
| [android/app/src/debug/AndroidManifest.xml](/android/app/src/debug/AndroidManifest.xml) | XML | 3 | 4 | 1 | 8 |
|
|
||||||
| [android/app/src/main/AndroidManifest.xml](/android/app/src/main/AndroidManifest.xml) | XML | 40 | 11 | 1 | 52 |
|
|
||||||
| [android/app/src/main/res/drawable-v21/launch\_background.xml](/android/app/src/main/res/drawable-v21/launch_background.xml) | XML | 4 | 7 | 2 | 13 |
|
|
||||||
| [android/app/src/main/res/drawable/launch\_background.xml](/android/app/src/main/res/drawable/launch_background.xml) | XML | 4 | 7 | 2 | 13 |
|
|
||||||
| [android/app/src/main/res/values-night/styles.xml](/android/app/src/main/res/values-night/styles.xml) | XML | 9 | 9 | 1 | 19 |
|
|
||||||
| [android/app/src/main/res/values/styles.xml](/android/app/src/main/res/values/styles.xml) | XML | 9 | 9 | 1 | 19 |
|
|
||||||
| [android/app/src/profile/AndroidManifest.xml](/android/app/src/profile/AndroidManifest.xml) | XML | 3 | 4 | 1 | 8 |
|
|
||||||
| [android/build/reports/problems/problems-report.html](/android/build/reports/problems/problems-report.html) | HTML | 548 | 2 | 114 | 664 |
|
|
||||||
| [android/gradle.properties](/android/gradle.properties) | Properties | 3 | 0 | 1 | 4 |
|
|
||||||
| [android/gradle/wrapper/gradle-wrapper.properties](/android/gradle/wrapper/gradle-wrapper.properties) | Properties | 5 | 0 | 1 | 6 |
|
|
||||||
| [firebase.json](/firebase.json) | JSON | 1 | 0 | 0 | 1 |
|
|
||||||
| [ios/Podfile](/ios/Podfile) | Ruby | 32 | 2 | 10 | 44 |
|
|
||||||
| [ios/RunnerTests/RunnerTests.swift](/ios/RunnerTests/RunnerTests.swift) | Swift | 7 | 2 | 4 | 13 |
|
|
||||||
| [ios/Runner/AppDelegate.swift](/ios/Runner/AppDelegate.swift) | Swift | 14 | 0 | 2 | 16 |
|
|
||||||
| [ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json](/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json) | JSON | 122 | 0 | 1 | 123 |
|
|
||||||
| [ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json](/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json) | JSON | 23 | 0 | 1 | 24 |
|
|
||||||
| [ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md](/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md) | Markdown | 3 | 0 | 2 | 5 |
|
|
||||||
| [ios/Runner/Base.lproj/LaunchScreen.storyboard](/ios/Runner/Base.lproj/LaunchScreen.storyboard) | XML | 36 | 1 | 1 | 38 |
|
|
||||||
| [ios/Runner/Base.lproj/Main.storyboard](/ios/Runner/Base.lproj/Main.storyboard) | XML | 25 | 1 | 1 | 27 |
|
|
||||||
| [ios/Runner/Runner-Bridging-Header.h](/ios/Runner/Runner-Bridging-Header.h) | C++ | 1 | 0 | 1 | 2 |
|
|
||||||
| [lib/blocs/auth/auth\_bloc.dart](/lib/blocs/auth/auth_bloc.dart) | Dart | 129 | 1 | 20 | 150 |
|
|
||||||
| [lib/blocs/auth/auth\_event.dart](/lib/blocs/auth/auth_event.dart) | Dart | 40 | 0 | 15 | 55 |
|
|
||||||
| [lib/blocs/auth/auth\_state.dart](/lib/blocs/auth/auth_state.dart) | Dart | 28 | 0 | 14 | 42 |
|
|
||||||
| [lib/blocs/theme/theme\_bloc.dart](/lib/blocs/theme/theme_bloc.dart) | Dart | 40 | 1 | 5 | 46 |
|
|
||||||
| [lib/blocs/theme/theme\_event.dart](/lib/blocs/theme/theme_event.dart) | Dart | 14 | 0 | 6 | 20 |
|
|
||||||
| [lib/blocs/theme/theme\_state.dart](/lib/blocs/theme/theme_state.dart) | Dart | 16 | 0 | 5 | 21 |
|
|
||||||
| [lib/blocs/trip/trip\_bloc.dart](/lib/blocs/trip/trip_bloc.dart) | Dart | 103 | 1 | 14 | 118 |
|
|
||||||
| [lib/blocs/trip/trip\_event.dart](/lib/blocs/trip/trip_event.dart) | Dart | 51 | 0 | 20 | 71 |
|
|
||||||
| [lib/blocs/trip/trip\_state.dart](/lib/blocs/trip/trip_state.dart) | Dart | 27 | 0 | 13 | 40 |
|
|
||||||
| [lib/blocs/user/user\_bloc.dart](/lib/blocs/user/user_bloc.dart) | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| [lib/blocs/user/user\_event.dart](/lib/blocs/user/user_event.dart) | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| [lib/blocs/user/user\_state.dart](/lib/blocs/user/user_state.dart) | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| [lib/components/count/count\_content.dart](/lib/components/count/count_content.dart) | Dart | 25 | 0 | 3 | 28 |
|
|
||||||
| [lib/components/group/group\_content.dart](/lib/components/group/group_content.dart) | Dart | 115 | 2 | 12 | 129 |
|
|
||||||
| [lib/components/home/create\_trip\_content.dart](/lib/components/home/create_trip_content.dart) | Dart | 481 | 21 | 63 | 565 |
|
|
||||||
| [lib/components/home/home\_content.dart](/lib/components/home/home_content.dart) | Dart | 366 | 12 | 30 | 408 |
|
|
||||||
| [lib/components/home/show\_trip\_details\_content.dart](/lib/components/home/show_trip_details_content.dart) | Dart | 106 | 2 | 4 | 112 |
|
|
||||||
| [lib/components/map/map\_content.dart](/lib/components/map/map_content.dart) | Dart | 100 | 4 | 11 | 115 |
|
|
||||||
| [lib/components/profile/profile\_content.dart](/lib/components/profile/profile_content.dart) | Dart | 328 | 6 | 29 | 363 |
|
|
||||||
| [lib/components/settings/settings\_content.dart](/lib/components/settings/settings_content.dart) | Dart | 60 | 2 | 10 | 72 |
|
|
||||||
| [lib/components/settings/settings\_theme\_content.dart](/lib/components/settings/settings_theme_content.dart) | Dart | 123 | 4 | 10 | 137 |
|
|
||||||
| [lib/data/data\_sources/firestore\_data\_source.dart](/lib/data/data_sources/firestore_data_source.dart) | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| [lib/data/data\_sources/local\_data\_source.dart](/lib/data/data_sources/local_data_source.dart) | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| [lib/data/models/group.dart](/lib/data/models/group.dart) | Dart | 23 | 0 | 3 | 26 |
|
|
||||||
| [lib/data/models/message.dart](/lib/data/models/message.dart) | Dart | 14 | 0 | 1 | 15 |
|
|
||||||
| [lib/data/models/trip.dart](/lib/data/models/trip.dart) | Dart | 176 | 16 | 24 | 216 |
|
|
||||||
| [lib/data/models/user.dart](/lib/data/models/user.dart) | Dart | 61 | 6 | 13 | 80 |
|
|
||||||
| [lib/firebase\_options.dart](/lib/firebase_options.dart) | Dart | 60 | 12 | 5 | 77 |
|
|
||||||
| [lib/main.dart](/lib/main.dart) | Dart | 89 | 0 | 5 | 94 |
|
|
||||||
| [lib/pages/home.dart](/lib/pages/home.dart) | Dart | 147 | 6 | 13 | 166 |
|
|
||||||
| [lib/pages/login.dart](/lib/pages/login.dart) | Dart | 285 | 9 | 28 | 322 |
|
|
||||||
| [lib/pages/resetpswd.dart](/lib/pages/resetpswd.dart) | Dart | 92 | 2 | 13 | 107 |
|
|
||||||
| [lib/pages/signup.dart](/lib/pages/signup.dart) | Dart | 256 | 7 | 20 | 283 |
|
|
||||||
| [lib/providers/theme\_provider.dart](/lib/providers/theme_provider.dart) | Dart | 41 | 1 | 9 | 51 |
|
|
||||||
| [lib/providers/user\_provider.dart](/lib/providers/user_provider.dart) | Dart | 94 | 9 | 18 | 121 |
|
|
||||||
| [lib/repositories/auth\_repository.dart](/lib/repositories/auth_repository.dart) | Dart | 115 | 11 | 22 | 148 |
|
|
||||||
| [lib/repositories/trip\_repository.dart](/lib/repositories/trip_repository.dart) | Dart | 92 | 9 | 12 | 113 |
|
|
||||||
| [lib/repositories/user\_repository.dart](/lib/repositories/user_repository.dart) | Dart | 77 | 7 | 11 | 95 |
|
|
||||||
| [lib/services/auth\_service.dart](/lib/services/auth_service.dart) | Dart | 84 | 6 | 18 | 108 |
|
|
||||||
| [lib/services/group\_service.dart](/lib/services/group_service.dart) | Dart | 53 | 1 | 6 | 60 |
|
|
||||||
| [lib/services/message\_service.dart](/lib/services/message_service.dart) | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| [lib/services/trip\_service.dart](/lib/services/trip_service.dart) | Dart | 209 | 21 | 39 | 269 |
|
|
||||||
| [pubspec.yaml](/pubspec.yaml) | YAML | 31 | 58 | 14 | 103 |
|
|
||||||
| [test/widget\_test.dart](/test/widget_test.dart) | Dart | 14 | 10 | 7 | 31 |
|
|
||||||
|
|
||||||
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# Diff Details
|
|
||||||
|
|
||||||
Date : 2025-10-14 11:10:48
|
|
||||||
|
|
||||||
Directory c:\\Users\\dayro\\Documents\\coding\\travel_mate
|
|
||||||
|
|
||||||
Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines
|
|
||||||
|
|
||||||
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
|
|
||||||
|
|
||||||
## Files
|
|
||||||
| filename | language | code | comment | blank | total |
|
|
||||||
| :--- | :--- | ---: | ---: | ---: | ---: |
|
|
||||||
|
|
||||||
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
"filename", "language", "", "comment", "blank", "total"
|
|
||||||
"Total", "-", , 0, 0, 0
|
|
||||||
|
@@ -1,19 +0,0 @@
|
|||||||
# Diff Summary
|
|
||||||
|
|
||||||
Date : 2025-10-14 11:10:48
|
|
||||||
|
|
||||||
Directory c:\\Users\\dayro\\Documents\\coding\\travel_mate
|
|
||||||
|
|
||||||
Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines
|
|
||||||
|
|
||||||
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
|
|
||||||
|
|
||||||
## Languages
|
|
||||||
| language | files | code | comment | blank | total |
|
|
||||||
| :--- | ---: | ---: | ---: | ---: | ---: |
|
|
||||||
|
|
||||||
## Directories
|
|
||||||
| path | files | code | comment | blank | total |
|
|
||||||
| :--- | ---: | ---: | ---: | ---: | ---: |
|
|
||||||
|
|
||||||
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
Date : 2025-10-14 11:10:48
|
|
||||||
Directory : c:\Users\dayro\Documents\coding\travel_mate
|
|
||||||
Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines
|
|
||||||
|
|
||||||
Languages
|
|
||||||
+----------+------------+------------+------------+------------+------------+
|
|
||||||
| language | files | code | comment | blank | total |
|
|
||||||
+----------+------------+------------+------------+------------+------------+
|
|
||||||
+----------+------------+------------+------------+------------+------------+
|
|
||||||
|
|
||||||
Directories
|
|
||||||
+------+------------+------------+------------+------------+------------+
|
|
||||||
| path | files | code | comment | blank | total |
|
|
||||||
+------+------------+------------+------------+------------+------------+
|
|
||||||
+------+------------+------------+------------+------------+------------+
|
|
||||||
|
|
||||||
Files
|
|
||||||
+----------+----------+------------+------------+------------+------------+
|
|
||||||
| filename | language | code | comment | blank | total |
|
|
||||||
+----------+----------+------------+------------+------------+------------+
|
|
||||||
| Total | | 0 | 0 | 0 | 0 |
|
|
||||||
+----------+----------+------------+------------+------------+------------+
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
"filename", "language", "YAML", "Markdown", "Dart", "JSON", "Swift", "C++", "XML", "Ruby", "Properties", "HTML", "comment", "blank", "total"
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\README.md", "Markdown", 0, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 61
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\analysis_options.yaml", "YAML", 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 4, 29
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\google-services.json", "JSON", 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0, 0, 54
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\src\debug\AndroidManifest.xml", "XML", 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 4, 1, 8
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\AndroidManifest.xml", "XML", 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 11, 1, 52
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\drawable-v21\launch_background.xml", "XML", 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 7, 2, 13
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\drawable\launch_background.xml", "XML", 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 7, 2, 13
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\values-night\styles.xml", "XML", 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 1, 19
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\values\styles.xml", "XML", 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 9, 1, 19
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\app\src\profile\AndroidManifest.xml", "XML", 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 4, 1, 8
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\build\reports\problems\problems-report.html", "HTML", 0, 0, 0, 0, 0, 0, 0, 0, 0, 548, 2, 114, 664
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\gradle.properties", "Properties", 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 1, 4
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\android\gradle\wrapper\gradle-wrapper.properties", "Properties", 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 1, 6
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\firebase.json", "JSON", 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Podfile", "Ruby", 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 2, 10, 44
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\RunnerTests\RunnerTests.swift", "Swift", 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 2, 4, 13
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\AppDelegate.swift", "Swift", 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 2, 16
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json", "JSON", 0, 0, 0, 122, 0, 0, 0, 0, 0, 0, 0, 1, 123
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Assets.xcassets\LaunchImage.imageset\Contents.json", "JSON", 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 1, 24
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Assets.xcassets\LaunchImage.imageset\README.md", "Markdown", 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Base.lproj\LaunchScreen.storyboard", "XML", 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 1, 1, 38
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Base.lproj\Main.storyboard", "XML", 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 1, 1, 27
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Runner-Bridging-Header.h", "C++", 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 2
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\auth\auth_bloc.dart", "Dart", 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 1, 20, 150
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\auth\auth_event.dart", "Dart", 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 15, 55
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\auth\auth_state.dart", "Dart", 0, 0, 28, 0, 0, 0, 0, 0, 0, 0, 0, 14, 42
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\theme\theme_bloc.dart", "Dart", 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 1, 5, 46
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\theme\theme_event.dart", "Dart", 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\theme\theme_state.dart", "Dart", 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 5, 21
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\trip\trip_bloc.dart", "Dart", 0, 0, 103, 0, 0, 0, 0, 0, 0, 0, 1, 14, 118
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\trip\trip_event.dart", "Dart", 0, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, 20, 71
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\trip\trip_state.dart", "Dart", 0, 0, 27, 0, 0, 0, 0, 0, 0, 0, 0, 13, 40
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\user\user_bloc.dart", "Dart", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\user\user_event.dart", "Dart", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\user\user_state.dart", "Dart", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\count\count_content.dart", "Dart", 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 3, 28
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\group\group_content.dart", "Dart", 0, 0, 115, 0, 0, 0, 0, 0, 0, 0, 2, 12, 129
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\home\create_trip_content.dart", "Dart", 0, 0, 481, 0, 0, 0, 0, 0, 0, 0, 21, 63, 565
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\home\home_content.dart", "Dart", 0, 0, 366, 0, 0, 0, 0, 0, 0, 0, 12, 30, 408
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\home\show_trip_details_content.dart", "Dart", 0, 0, 106, 0, 0, 0, 0, 0, 0, 0, 2, 4, 112
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\map\map_content.dart", "Dart", 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 4, 11, 115
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\profile\profile_content.dart", "Dart", 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 6, 29, 363
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\settings\settings_content.dart", "Dart", 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 2, 10, 72
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\components\settings\settings_theme_content.dart", "Dart", 0, 0, 123, 0, 0, 0, 0, 0, 0, 0, 4, 10, 137
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\data\data_sources\firestore_data_source.dart", "Dart", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\data\data_sources\local_data_source.dart", "Dart", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\group.dart", "Dart", 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 3, 26
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\message.dart", "Dart", 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\trip.dart", "Dart", 0, 0, 176, 0, 0, 0, 0, 0, 0, 0, 16, 24, 216
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\user.dart", "Dart", 0, 0, 61, 0, 0, 0, 0, 0, 0, 0, 6, 13, 80
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\firebase_options.dart", "Dart", 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 12, 5, 77
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\main.dart", "Dart", 0, 0, 89, 0, 0, 0, 0, 0, 0, 0, 0, 5, 94
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\pages\home.dart", "Dart", 0, 0, 147, 0, 0, 0, 0, 0, 0, 0, 6, 13, 166
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\pages\login.dart", "Dart", 0, 0, 285, 0, 0, 0, 0, 0, 0, 0, 9, 28, 322
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\pages\resetpswd.dart", "Dart", 0, 0, 92, 0, 0, 0, 0, 0, 0, 0, 2, 13, 107
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\pages\signup.dart", "Dart", 0, 0, 256, 0, 0, 0, 0, 0, 0, 0, 7, 20, 283
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\providers\theme_provider.dart", "Dart", 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 1, 9, 51
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\providers\user_provider.dart", "Dart", 0, 0, 94, 0, 0, 0, 0, 0, 0, 0, 9, 18, 121
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\repositories\auth_repository.dart", "Dart", 0, 0, 115, 0, 0, 0, 0, 0, 0, 0, 11, 22, 148
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\repositories\trip_repository.dart", "Dart", 0, 0, 92, 0, 0, 0, 0, 0, 0, 0, 9, 12, 113
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\repositories\user_repository.dart", "Dart", 0, 0, 77, 0, 0, 0, 0, 0, 0, 0, 7, 11, 95
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\services\auth_service.dart", "Dart", 0, 0, 84, 0, 0, 0, 0, 0, 0, 0, 6, 18, 108
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\services\group_service.dart", "Dart", 0, 0, 53, 0, 0, 0, 0, 0, 0, 0, 1, 6, 60
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\services\message_service.dart", "Dart", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\lib\services\trip_service.dart", "Dart", 0, 0, 209, 0, 0, 0, 0, 0, 0, 0, 21, 39, 269
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\pubspec.yaml", "YAML", 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 14, 103
|
|
||||||
"c:\Users\dayro\Documents\coding\travel_mate\test\widget_test.dart", "Dart", 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 10, 7, 31
|
|
||||||
"Total", "-", 34, 48, 4134, 200, 21, 1, 133, 32, 8, 548, 328, 739, 6226
|
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -1,81 +0,0 @@
|
|||||||
# Summary
|
|
||||||
|
|
||||||
Date : 2025-10-14 11:10:48
|
|
||||||
|
|
||||||
Directory c:\\Users\\dayro\\Documents\\coding\\travel_mate
|
|
||||||
|
|
||||||
Total : 67 files, 5159 codes, 328 comments, 739 blanks, all 6226 lines
|
|
||||||
|
|
||||||
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
|
|
||||||
|
|
||||||
## Languages
|
|
||||||
| language | files | code | comment | blank | total |
|
|
||||||
| :--- | ---: | ---: | ---: | ---: | ---: |
|
|
||||||
| Dart | 43 | 4,134 | 189 | 557 | 4,880 |
|
|
||||||
| HTML | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| JSON | 4 | 200 | 0 | 2 | 202 |
|
|
||||||
| XML | 9 | 133 | 53 | 11 | 197 |
|
|
||||||
| Markdown | 2 | 48 | 0 | 18 | 66 |
|
|
||||||
| YAML | 2 | 34 | 80 | 18 | 132 |
|
|
||||||
| Ruby | 1 | 32 | 2 | 10 | 44 |
|
|
||||||
| Swift | 2 | 21 | 2 | 6 | 29 |
|
|
||||||
| Properties | 2 | 8 | 0 | 2 | 10 |
|
|
||||||
| C++ | 1 | 1 | 0 | 1 | 2 |
|
|
||||||
|
|
||||||
## Directories
|
|
||||||
| path | files | code | comment | blank | total |
|
|
||||||
| :--- | ---: | ---: | ---: | ---: | ---: |
|
|
||||||
| . | 67 | 5,159 | 328 | 739 | 6,226 |
|
|
||||||
| . (Files) | 4 | 80 | 80 | 34 | 194 |
|
|
||||||
| android | 11 | 682 | 53 | 125 | 860 |
|
|
||||||
| android (Files) | 1 | 3 | 0 | 1 | 4 |
|
|
||||||
| android\\app | 8 | 126 | 51 | 9 | 186 |
|
|
||||||
| android\\app (Files) | 1 | 54 | 0 | 0 | 54 |
|
|
||||||
| android\\app\\src | 7 | 72 | 51 | 9 | 132 |
|
|
||||||
| android\\app\\src\\debug | 1 | 3 | 4 | 1 | 8 |
|
|
||||||
| android\\app\\src\\main | 5 | 66 | 43 | 7 | 116 |
|
|
||||||
| android\\app\\src\\main (Files) | 1 | 40 | 11 | 1 | 52 |
|
|
||||||
| android\\app\\src\\main\\res | 4 | 26 | 32 | 6 | 64 |
|
|
||||||
| android\\app\\src\\main\\res\\drawable | 1 | 4 | 7 | 2 | 13 |
|
|
||||||
| android\\app\\src\\main\\res\\drawable-v21 | 1 | 4 | 7 | 2 | 13 |
|
|
||||||
| android\\app\\src\\main\\res\\values | 1 | 9 | 9 | 1 | 19 |
|
|
||||||
| android\\app\\src\\main\\res\\values-night | 1 | 9 | 9 | 1 | 19 |
|
|
||||||
| android\\app\\src\\profile | 1 | 3 | 4 | 1 | 8 |
|
|
||||||
| android\\build | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| android\\build\\reports | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| android\\build\\reports\\problems | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| android\\gradle | 1 | 5 | 0 | 1 | 6 |
|
|
||||||
| android\\gradle\\wrapper | 1 | 5 | 0 | 1 | 6 |
|
|
||||||
| ios | 9 | 263 | 6 | 23 | 292 |
|
|
||||||
| ios (Files) | 1 | 32 | 2 | 10 | 44 |
|
|
||||||
| ios\\Runner | 7 | 224 | 2 | 9 | 235 |
|
|
||||||
| ios\\Runner (Files) | 2 | 15 | 0 | 3 | 18 |
|
|
||||||
| ios\\RunnerTests | 1 | 7 | 2 | 4 | 13 |
|
|
||||||
| ios\\Runner\\Assets.xcassets | 3 | 148 | 0 | 4 | 152 |
|
|
||||||
| ios\\Runner\\Assets.xcassets\\AppIcon.appiconset | 1 | 122 | 0 | 1 | 123 |
|
|
||||||
| ios\\Runner\\Assets.xcassets\\LaunchImage.imageset | 2 | 26 | 0 | 3 | 29 |
|
|
||||||
| ios\\Runner\\Base.lproj | 2 | 61 | 2 | 2 | 65 |
|
|
||||||
| lib | 42 | 4,120 | 179 | 550 | 4,849 |
|
|
||||||
| lib (Files) | 2 | 149 | 12 | 10 | 171 |
|
|
||||||
| lib\\blocs | 12 | 448 | 3 | 115 | 566 |
|
|
||||||
| lib\\blocs\\auth | 3 | 197 | 1 | 49 | 247 |
|
|
||||||
| lib\\blocs\\theme | 3 | 70 | 1 | 16 | 87 |
|
|
||||||
| lib\\blocs\\trip | 3 | 181 | 1 | 47 | 229 |
|
|
||||||
| lib\\blocs\\user | 3 | 0 | 0 | 3 | 3 |
|
|
||||||
| lib\\components | 9 | 1,704 | 53 | 172 | 1,929 |
|
|
||||||
| lib\\components\\count | 1 | 25 | 0 | 3 | 28 |
|
|
||||||
| lib\\components\\group | 1 | 115 | 2 | 12 | 129 |
|
|
||||||
| lib\\components\\home | 3 | 953 | 35 | 97 | 1,085 |
|
|
||||||
| lib\\components\\map | 1 | 100 | 4 | 11 | 115 |
|
|
||||||
| lib\\components\\profile | 1 | 328 | 6 | 29 | 363 |
|
|
||||||
| lib\\components\\settings | 2 | 183 | 6 | 20 | 209 |
|
|
||||||
| lib\\data | 6 | 274 | 22 | 43 | 339 |
|
|
||||||
| lib\\data\\data_sources | 2 | 0 | 0 | 2 | 2 |
|
|
||||||
| lib\\data\\models | 4 | 274 | 22 | 41 | 337 |
|
|
||||||
| lib\\pages | 4 | 780 | 24 | 74 | 878 |
|
|
||||||
| lib\\providers | 2 | 135 | 10 | 27 | 172 |
|
|
||||||
| lib\\repositories | 3 | 284 | 27 | 45 | 356 |
|
|
||||||
| lib\\services | 4 | 346 | 28 | 64 | 438 |
|
|
||||||
| test | 1 | 14 | 10 | 7 | 31 |
|
|
||||||
|
|
||||||
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
|
|
||||||
@@ -1,151 +0,0 @@
|
|||||||
Date : 2025-10-14 11:10:48
|
|
||||||
Directory : c:\Users\dayro\Documents\coding\travel_mate
|
|
||||||
Total : 67 files, 5159 codes, 328 comments, 739 blanks, all 6226 lines
|
|
||||||
|
|
||||||
Languages
|
|
||||||
+------------+------------+------------+------------+------------+------------+
|
|
||||||
| language | files | code | comment | blank | total |
|
|
||||||
+------------+------------+------------+------------+------------+------------+
|
|
||||||
| Dart | 43 | 4,134 | 189 | 557 | 4,880 |
|
|
||||||
| HTML | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| JSON | 4 | 200 | 0 | 2 | 202 |
|
|
||||||
| XML | 9 | 133 | 53 | 11 | 197 |
|
|
||||||
| Markdown | 2 | 48 | 0 | 18 | 66 |
|
|
||||||
| YAML | 2 | 34 | 80 | 18 | 132 |
|
|
||||||
| Ruby | 1 | 32 | 2 | 10 | 44 |
|
|
||||||
| Swift | 2 | 21 | 2 | 6 | 29 |
|
|
||||||
| Properties | 2 | 8 | 0 | 2 | 10 |
|
|
||||||
| C++ | 1 | 1 | 0 | 1 | 2 |
|
|
||||||
+------------+------------+------------+------------+------------+------------+
|
|
||||||
|
|
||||||
Directories
|
|
||||||
+-----------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
|
|
||||||
| path | files | code | comment | blank | total |
|
|
||||||
+-----------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
|
|
||||||
| . | 67 | 5,159 | 328 | 739 | 6,226 |
|
|
||||||
| . (Files) | 4 | 80 | 80 | 34 | 194 |
|
|
||||||
| android | 11 | 682 | 53 | 125 | 860 |
|
|
||||||
| android (Files) | 1 | 3 | 0 | 1 | 4 |
|
|
||||||
| android\app | 8 | 126 | 51 | 9 | 186 |
|
|
||||||
| android\app (Files) | 1 | 54 | 0 | 0 | 54 |
|
|
||||||
| android\app\src | 7 | 72 | 51 | 9 | 132 |
|
|
||||||
| android\app\src\debug | 1 | 3 | 4 | 1 | 8 |
|
|
||||||
| android\app\src\main | 5 | 66 | 43 | 7 | 116 |
|
|
||||||
| android\app\src\main (Files) | 1 | 40 | 11 | 1 | 52 |
|
|
||||||
| android\app\src\main\res | 4 | 26 | 32 | 6 | 64 |
|
|
||||||
| android\app\src\main\res\drawable | 1 | 4 | 7 | 2 | 13 |
|
|
||||||
| android\app\src\main\res\drawable-v21 | 1 | 4 | 7 | 2 | 13 |
|
|
||||||
| android\app\src\main\res\values | 1 | 9 | 9 | 1 | 19 |
|
|
||||||
| android\app\src\main\res\values-night | 1 | 9 | 9 | 1 | 19 |
|
|
||||||
| android\app\src\profile | 1 | 3 | 4 | 1 | 8 |
|
|
||||||
| android\build | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| android\build\reports | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| android\build\reports\problems | 1 | 548 | 2 | 114 | 664 |
|
|
||||||
| android\gradle | 1 | 5 | 0 | 1 | 6 |
|
|
||||||
| android\gradle\wrapper | 1 | 5 | 0 | 1 | 6 |
|
|
||||||
| ios | 9 | 263 | 6 | 23 | 292 |
|
|
||||||
| ios (Files) | 1 | 32 | 2 | 10 | 44 |
|
|
||||||
| ios\Runner | 7 | 224 | 2 | 9 | 235 |
|
|
||||||
| ios\Runner (Files) | 2 | 15 | 0 | 3 | 18 |
|
|
||||||
| ios\RunnerTests | 1 | 7 | 2 | 4 | 13 |
|
|
||||||
| ios\Runner\Assets.xcassets | 3 | 148 | 0 | 4 | 152 |
|
|
||||||
| ios\Runner\Assets.xcassets\AppIcon.appiconset | 1 | 122 | 0 | 1 | 123 |
|
|
||||||
| ios\Runner\Assets.xcassets\LaunchImage.imageset | 2 | 26 | 0 | 3 | 29 |
|
|
||||||
| ios\Runner\Base.lproj | 2 | 61 | 2 | 2 | 65 |
|
|
||||||
| lib | 42 | 4,120 | 179 | 550 | 4,849 |
|
|
||||||
| lib (Files) | 2 | 149 | 12 | 10 | 171 |
|
|
||||||
| lib\blocs | 12 | 448 | 3 | 115 | 566 |
|
|
||||||
| lib\blocs\auth | 3 | 197 | 1 | 49 | 247 |
|
|
||||||
| lib\blocs\theme | 3 | 70 | 1 | 16 | 87 |
|
|
||||||
| lib\blocs\trip | 3 | 181 | 1 | 47 | 229 |
|
|
||||||
| lib\blocs\user | 3 | 0 | 0 | 3 | 3 |
|
|
||||||
| lib\components | 9 | 1,704 | 53 | 172 | 1,929 |
|
|
||||||
| lib\components\count | 1 | 25 | 0 | 3 | 28 |
|
|
||||||
| lib\components\group | 1 | 115 | 2 | 12 | 129 |
|
|
||||||
| lib\components\home | 3 | 953 | 35 | 97 | 1,085 |
|
|
||||||
| lib\components\map | 1 | 100 | 4 | 11 | 115 |
|
|
||||||
| lib\components\profile | 1 | 328 | 6 | 29 | 363 |
|
|
||||||
| lib\components\settings | 2 | 183 | 6 | 20 | 209 |
|
|
||||||
| lib\data | 6 | 274 | 22 | 43 | 339 |
|
|
||||||
| lib\data\data_sources | 2 | 0 | 0 | 2 | 2 |
|
|
||||||
| lib\data\models | 4 | 274 | 22 | 41 | 337 |
|
|
||||||
| lib\pages | 4 | 780 | 24 | 74 | 878 |
|
|
||||||
| lib\providers | 2 | 135 | 10 | 27 | 172 |
|
|
||||||
| lib\repositories | 3 | 284 | 27 | 45 | 356 |
|
|
||||||
| lib\services | 4 | 346 | 28 | 64 | 438 |
|
|
||||||
| test | 1 | 14 | 10 | 7 | 31 |
|
|
||||||
+-----------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
|
|
||||||
|
|
||||||
Files
|
|
||||||
+-----------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
|
|
||||||
| filename | language | code | comment | blank | total |
|
|
||||||
+-----------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\README.md | Markdown | 45 | 0 | 16 | 61 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\analysis_options.yaml | YAML | 3 | 22 | 4 | 29 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\google-services.json | JSON | 54 | 0 | 0 | 54 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\src\debug\AndroidManifest.xml | XML | 3 | 4 | 1 | 8 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\AndroidManifest.xml | XML | 40 | 11 | 1 | 52 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\drawable-v21\launch_background.xml | XML | 4 | 7 | 2 | 13 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\drawable\launch_background.xml | XML | 4 | 7 | 2 | 13 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\values-night\styles.xml | XML | 9 | 9 | 1 | 19 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\src\main\res\values\styles.xml | XML | 9 | 9 | 1 | 19 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\app\src\profile\AndroidManifest.xml | XML | 3 | 4 | 1 | 8 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\build\reports\problems\problems-report.html | HTML | 548 | 2 | 114 | 664 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\gradle.properties | Properties | 3 | 0 | 1 | 4 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\android\gradle\wrapper\gradle-wrapper.properties | Properties | 5 | 0 | 1 | 6 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\firebase.json | JSON | 1 | 0 | 0 | 1 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Podfile | Ruby | 32 | 2 | 10 | 44 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\RunnerTests\RunnerTests.swift | Swift | 7 | 2 | 4 | 13 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\AppDelegate.swift | Swift | 14 | 0 | 2 | 16 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json | JSON | 122 | 0 | 1 | 123 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Assets.xcassets\LaunchImage.imageset\Contents.json | JSON | 23 | 0 | 1 | 24 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Assets.xcassets\LaunchImage.imageset\README.md | Markdown | 3 | 0 | 2 | 5 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Base.lproj\LaunchScreen.storyboard | XML | 36 | 1 | 1 | 38 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Base.lproj\Main.storyboard | XML | 25 | 1 | 1 | 27 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\ios\Runner\Runner-Bridging-Header.h | C++ | 1 | 0 | 1 | 2 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\auth\auth_bloc.dart | Dart | 129 | 1 | 20 | 150 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\auth\auth_event.dart | Dart | 40 | 0 | 15 | 55 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\auth\auth_state.dart | Dart | 28 | 0 | 14 | 42 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\theme\theme_bloc.dart | Dart | 40 | 1 | 5 | 46 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\theme\theme_event.dart | Dart | 14 | 0 | 6 | 20 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\theme\theme_state.dart | Dart | 16 | 0 | 5 | 21 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\trip\trip_bloc.dart | Dart | 103 | 1 | 14 | 118 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\trip\trip_event.dart | Dart | 51 | 0 | 20 | 71 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\trip\trip_state.dart | Dart | 27 | 0 | 13 | 40 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\user\user_bloc.dart | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\user\user_event.dart | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\blocs\user\user_state.dart | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\count\count_content.dart | Dart | 25 | 0 | 3 | 28 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\group\group_content.dart | Dart | 115 | 2 | 12 | 129 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\home\create_trip_content.dart | Dart | 481 | 21 | 63 | 565 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\home\home_content.dart | Dart | 366 | 12 | 30 | 408 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\home\show_trip_details_content.dart | Dart | 106 | 2 | 4 | 112 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\map\map_content.dart | Dart | 100 | 4 | 11 | 115 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\profile\profile_content.dart | Dart | 328 | 6 | 29 | 363 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\settings\settings_content.dart | Dart | 60 | 2 | 10 | 72 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\components\settings\settings_theme_content.dart | Dart | 123 | 4 | 10 | 137 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\data\data_sources\firestore_data_source.dart | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\data\data_sources\local_data_source.dart | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\group.dart | Dart | 23 | 0 | 3 | 26 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\message.dart | Dart | 14 | 0 | 1 | 15 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\trip.dart | Dart | 176 | 16 | 24 | 216 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\data\models\user.dart | Dart | 61 | 6 | 13 | 80 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\firebase_options.dart | Dart | 60 | 12 | 5 | 77 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\main.dart | Dart | 89 | 0 | 5 | 94 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\pages\home.dart | Dart | 147 | 6 | 13 | 166 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\pages\login.dart | Dart | 285 | 9 | 28 | 322 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\pages\resetpswd.dart | Dart | 92 | 2 | 13 | 107 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\pages\signup.dart | Dart | 256 | 7 | 20 | 283 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\providers\theme_provider.dart | Dart | 41 | 1 | 9 | 51 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\providers\user_provider.dart | Dart | 94 | 9 | 18 | 121 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\repositories\auth_repository.dart | Dart | 115 | 11 | 22 | 148 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\repositories\trip_repository.dart | Dart | 92 | 9 | 12 | 113 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\repositories\user_repository.dart | Dart | 77 | 7 | 11 | 95 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\services\auth_service.dart | Dart | 84 | 6 | 18 | 108 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\services\group_service.dart | Dart | 53 | 1 | 6 | 60 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\services\message_service.dart | Dart | 0 | 0 | 1 | 1 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\lib\services\trip_service.dart | Dart | 209 | 21 | 39 | 269 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\pubspec.yaml | YAML | 31 | 58 | 14 | 103 |
|
|
||||||
| c:\Users\dayro\Documents\coding\travel_mate\test\widget_test.dart | Dart | 14 | 10 | 7 | 31 |
|
|
||||||
| Total | | 5,159 | 328 | 739 | 6,226 |
|
|
||||||
+-----------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
|
|
||||||
88
.gitea/workflows/deploy-android.yaml
Normal file
88
.gitea/workflows/deploy-android.yaml
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
name: Deploy Flutter to Firebase (Mac)
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: release
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy-android:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Vérifier l'installation Flutter
|
||||||
|
run: flutter doctor -v
|
||||||
|
|
||||||
|
- name: Installer les dépendances Flutter
|
||||||
|
run: flutter pub get
|
||||||
|
|
||||||
|
- name: Créer les fichiers secrets
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.ENV_FILE }}" > .env
|
||||||
|
printf '%s' '${{ secrets.FIREBASE_CREDENTIALS }}' > ./android/firebase_credentials.json
|
||||||
|
|
||||||
|
- name: Lancer Fastlane (Force APK)
|
||||||
|
working-directory: ./android
|
||||||
|
env:
|
||||||
|
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
||||||
|
RAW_PROPERTIES: ${{ secrets.ANDROID_KEY_PROPERTIES }}
|
||||||
|
FIREBASE_ANDROID_APP_ID: ${{ secrets.FIREBASE_ANDROID_APP_ID }}
|
||||||
|
run: |
|
||||||
|
# 1. Config Ruby
|
||||||
|
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
|
||||||
|
export GEM_HOME=$PWD/vendor/bundle
|
||||||
|
export GEM_PATH=$PWD/vendor/bundle
|
||||||
|
export PATH=$GEM_HOME/bin:$PATH
|
||||||
|
|
||||||
|
# 2. Keystore & Properties
|
||||||
|
echo "$ANDROID_KEYSTORE_BASE64" | base64 -D > keystore.jks
|
||||||
|
KEYSTORE_PATH=$(pwd)/keystore.jks
|
||||||
|
|
||||||
|
echo "$RAW_PROPERTIES" > temp_props.txt
|
||||||
|
STORE_PASS=$(grep "storePassword" temp_props.txt | cut -d'=' -f2 | tr -d '\r')
|
||||||
|
KEY_PASS=$(grep "keyPassword" temp_props.txt | cut -d'=' -f2 | tr -d '\r')
|
||||||
|
KEY_ALIAS=$(grep "keyAlias" temp_props.txt | cut -d'=' -f2 | tr -d '\r')
|
||||||
|
|
||||||
|
echo "storePassword=$STORE_PASS" > key.properties
|
||||||
|
echo "keyPassword=$KEY_PASS" >> key.properties
|
||||||
|
echo "keyAlias=$KEY_ALIAS" >> key.properties
|
||||||
|
echo "storeFile=$KEYSTORE_PATH" >> key.properties
|
||||||
|
|
||||||
|
# 3. Installation Dépendances
|
||||||
|
rm -rf vendor Gemfile.lock .bundle
|
||||||
|
echo "source 'https://rubygems.org'" > Gemfile
|
||||||
|
echo "gem 'fastlane', '>= 2.210.0'" >> Gemfile
|
||||||
|
echo "gem 'fastlane-plugin-firebase_app_distribution'" >> Gemfile
|
||||||
|
# Patchs Ruby 3.4
|
||||||
|
echo "gem 'abbrev'" >> Gemfile
|
||||||
|
echo "gem 'ostruct'" >> Gemfile
|
||||||
|
echo "gem 'mutex_m'" >> Gemfile
|
||||||
|
echo "gem 'base64'" >> Gemfile
|
||||||
|
echo "gem 'csv'" >> Gemfile
|
||||||
|
echo "gem 'bigdecimal'" >> Gemfile
|
||||||
|
echo "gem 'drb'" >> Gemfile
|
||||||
|
echo "gem 'nkf'" >> Gemfile
|
||||||
|
|
||||||
|
echo "⬇️ Installation..."
|
||||||
|
gem install bundler -v 2.7.2 --force --no-document
|
||||||
|
bundle _2.7.2_ update --jobs 4
|
||||||
|
|
||||||
|
# 4. CONSTRUCTION ET ENVOI MANUEL EN APK 🗝️
|
||||||
|
# On remonte à la racine pour lancer Flutter
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
echo "🚧 Construction de l'APK (Format compatible sans Play Store)..."
|
||||||
|
# C'est cette commande qui change tout : APK au lieu de AppBundle
|
||||||
|
flutter build apk --release
|
||||||
|
|
||||||
|
# On redescend dans le dossier android pour lancer fastlane
|
||||||
|
cd android
|
||||||
|
|
||||||
|
echo "🚀 Envoi de l'APK vers Firebase..."
|
||||||
|
# On pointe vers le fichier APK généré
|
||||||
|
bundle _2.7.2_ exec fastlane run firebase_app_distribution \
|
||||||
|
app:"$FIREBASE_ANDROID_APP_ID" \
|
||||||
|
android_artifact_path:"../build/app/outputs/flutter-apk/app-release.apk" \
|
||||||
|
service_credentials_file:"firebase_credentials.json" \
|
||||||
|
release_notes:"Build APK via Act - Test"
|
||||||
55
.github/workflows/deploy-playstore.yml
vendored
55
.github/workflows/deploy-playstore.yml
vendored
@@ -1,55 +0,0 @@
|
|||||||
name: Deploy to Play Store
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- release # L'action se déclenche uniquement sur la branche 'release'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
# 1. Récupérer le code
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# 2. Installer Java (requis pour Android build)
|
|
||||||
- uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: '17'
|
|
||||||
|
|
||||||
# 3. Installer Flutter
|
|
||||||
- uses: subosito/flutter-action@v2
|
|
||||||
with:
|
|
||||||
channel: 'stable'
|
|
||||||
|
|
||||||
# 4. Gérer les dépendances
|
|
||||||
- run: flutter pub get
|
|
||||||
|
|
||||||
# 5. Créer le Keystore depuis le secret (Décodage)
|
|
||||||
- name: Decode Keystore
|
|
||||||
run: |
|
|
||||||
echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 --decode > android/app/upload-keystore.jks
|
|
||||||
|
|
||||||
# 6. Créer le fichier key.properties pour que Gradle trouve la clé
|
|
||||||
- name: Create key.properties
|
|
||||||
run: |
|
|
||||||
echo "storePassword=${{ secrets.ANDROID_KEYSTORE_PASSWORD }}" > android/key.properties
|
|
||||||
echo "keyPassword=${{ secrets.ANDROID_KEY_PASSWORD }}" >> android/key.properties
|
|
||||||
echo "keyAlias=${{ secrets.ANDROID_KEY_ALIAS }}" >> android/key.properties
|
|
||||||
echo "storeFile=upload-keystore.jks" >> android/key.properties
|
|
||||||
|
|
||||||
# 7. Construire l'AppBundle (.aab)
|
|
||||||
- name: Build AppBundle
|
|
||||||
run: flutter build appbundle --release
|
|
||||||
|
|
||||||
# 8. Uploader sur le Play Store (Track: alpha = Test fermé)
|
|
||||||
- name: Upload to Play Store
|
|
||||||
uses: r0adkll/upload-google-play@v1
|
|
||||||
with:
|
|
||||||
serviceAccountJsonPlainText: ${{ secrets.PLAY_STORE_CONFIG_JSON }}
|
|
||||||
packageName: be.devdayronvl.travel_mate
|
|
||||||
releaseFiles: build/app/outputs/bundle/release/app-release.aab
|
|
||||||
track: alpha # 'alpha' correspond souvent au Test Fermé. Sinon 'internal' ou 'beta'.
|
|
||||||
status: completed
|
|
||||||
@@ -56,3 +56,7 @@ Travel Mate est une application mobile conçue pour simplifier l'organisation de
|
|||||||
- **Google Places API** - Recherche de lieux et points d'intérêt
|
- **Google Places API** - Recherche de lieux et points d'intérêt
|
||||||
- **Google Maps API** - Cartes et navigation
|
- **Google Maps API** - Cartes et navigation
|
||||||
- **Google Directions API** - Calcul d'itinéraires
|
- **Google Directions API** - Calcul d'itinéraires
|
||||||
|
|
||||||
|
## 🚀 CI/CD & Déploiement
|
||||||
|
|
||||||
|
Les versions de test interne Android sont automatiquement distribuées via **Firebase App Distribution**.
|
||||||
|
|||||||
6
android/Gemfile
Normal file
6
android/Gemfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "fastlane"
|
||||||
|
|
||||||
|
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
|
||||||
|
eval_gemfile(plugins_path) if File.exist?(plugins_path)
|
||||||
@@ -30,10 +30,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
|
||||||
applicationId = "be.devdayronvl.travel_mate"
|
applicationId = "be.devdayronvl.travel_mate"
|
||||||
// You can update the following values to match your application needs.
|
|
||||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
|
||||||
minSdk = flutter.minSdkVersion
|
minSdk = flutter.minSdkVersion
|
||||||
targetSdk = flutter.targetSdkVersion
|
targetSdk = flutter.targetSdkVersion
|
||||||
versionCode = flutter.versionCode
|
versionCode = flutter.versionCode
|
||||||
@@ -45,16 +42,18 @@ android {
|
|||||||
keyAlias = keystoreProperties["keyAlias"] as String?
|
keyAlias = keystoreProperties["keyAlias"] as String?
|
||||||
keyPassword = keystoreProperties["keyPassword"] as String?
|
keyPassword = keystoreProperties["keyPassword"] as String?
|
||||||
storeFile = if (keystoreProperties["storeFile"] != null) {
|
storeFile = if (keystoreProperties["storeFile"] != null) {
|
||||||
file(keystoreProperties["storeFile"] as String)
|
rootProject.file(keystoreProperties["storeFile"] as String)
|
||||||
} else {
|
} else {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
storePassword = keystoreProperties["storePassword"] as String?
|
storePassword = keystoreProperties["storePassword"] as String?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
// Applique la configuration de signature définie au-dessus
|
||||||
signingConfig = signingConfigs.getByName("release")
|
signingConfig = signingConfigs.getByName("release")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
android:icon="@mipmap/ic_launcher">
|
android:icon="@mipmap/ic_launcher">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
|
android:screenOrientation="portrait"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:taskAffinity=""
|
android:taskAffinity=""
|
||||||
|
|||||||
2
android/fastlane/Appfile
Normal file
2
android/fastlane/Appfile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
json_key_file("'/Users/dayronvanleemput/Documents/Coding/clé/travelmate-a47f5-1e4759031f2d.json'") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
|
||||||
|
package_name("be.devdayronvl.travel_mate") # e.g. com.krausefx.app
|
||||||
28
android/fastlane/Fastfile
Normal file
28
android/fastlane/Fastfile
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
default_platform(:android)
|
||||||
|
|
||||||
|
platform :android do
|
||||||
|
desc "Deploy to Firebase from Mac"
|
||||||
|
lane :deploy_firebase do
|
||||||
|
|
||||||
|
# 1. Création du Keystore depuis le secret Gitea
|
||||||
|
if ENV['ANDROID_KEYSTORE_BASE64']
|
||||||
|
File.open("upload-keystore.jks", "wb") do |f|
|
||||||
|
f.write(Base64.decode64(ENV['ANDROID_KEYSTORE_BASE64']))
|
||||||
|
end
|
||||||
|
else
|
||||||
|
UI.error("Secret Keystore manquant !")
|
||||||
|
end
|
||||||
|
|
||||||
|
# 2. Build de l'App Bundle (AAB)
|
||||||
|
sh("flutter build appbundle --release")
|
||||||
|
|
||||||
|
# 3. Envoi vers Firebase App Distribution
|
||||||
|
firebase_app_distribution(
|
||||||
|
app: ENV["FIREBASE_ANDROID_APP_ID"],
|
||||||
|
service_credentials_file: "firebase_credentials.json",
|
||||||
|
groups: "testers",
|
||||||
|
android_artifact_path: "../build/app/outputs/bundle/release/app-release.aab",
|
||||||
|
release_notes: "Build depuis Mac M1/M2. Commit: #{ENV['GITHUB_SHA']}"
|
||||||
|
)
|
||||||
|
end
|
||||||
|
end
|
||||||
5
android/fastlane/Pluginfile
Normal file
5
android/fastlane/Pluginfile
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Autogenerated by fastlane
|
||||||
|
#
|
||||||
|
# Ensure this file is checked in to source control!
|
||||||
|
|
||||||
|
gem 'fastlane-plugin-firebase_app_distribution'
|
||||||
@@ -65,15 +65,11 @@
|
|||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
||||||
</array>
|
</array>
|
||||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
||||||
</array>
|
</array>
|
||||||
|
|
||||||
<key>LSApplicationQueriesSchemes</key>
|
<key>LSApplicationQueriesSchemes</key>
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
///
|
///
|
||||||
/// The component automatically loads account data when initialized and
|
/// The component automatically loads account data when initialized and
|
||||||
/// provides a clean interface for managing group-based expenses.
|
/// provides a clean interface for managing group-based expenses.
|
||||||
|
///
|
||||||
library;
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.dart';
|
|
||||||
|
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:travel_mate/blocs/trip/trip_bloc.dart';
|
import 'package:travel_mate/blocs/trip/trip_bloc.dart';
|
||||||
|
|||||||
@@ -41,12 +41,9 @@ class _TripCardState extends State<TripCard> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// D'abord vérifier si une image existe déjà dans le Storage
|
|
||||||
String? imageUrl = await _placeImageService.getExistingImageUrl(
|
String? imageUrl = await _placeImageService.getExistingImageUrl(
|
||||||
widget.trip.location,
|
widget.trip.location,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Si aucune image n'existe, en télécharger une nouvelle
|
|
||||||
imageUrl ??= await _placeImageService.getPlaceImageUrl(
|
imageUrl ??= await _placeImageService.getPlaceImageUrl(
|
||||||
widget.trip.location,
|
widget.trip.location,
|
||||||
);
|
);
|
||||||
@@ -57,7 +54,6 @@ class _TripCardState extends State<TripCard> {
|
|||||||
_isLoadingImage = false;
|
_isLoadingImage = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Mettre à jour le voyage dans la base de données avec l'imageUrl
|
|
||||||
_updateTripWithImage(imageUrl);
|
_updateTripWithImage(imageUrl);
|
||||||
} else {
|
} else {
|
||||||
setState(() {
|
setState(() {
|
||||||
@@ -76,18 +72,13 @@ class _TripCardState extends State<TripCard> {
|
|||||||
Future<void> _updateTripWithImage(String imageUrl) async {
|
Future<void> _updateTripWithImage(String imageUrl) async {
|
||||||
try {
|
try {
|
||||||
if (widget.trip.id != null) {
|
if (widget.trip.id != null) {
|
||||||
// Créer une copie du voyage avec la nouvelle imageUrl
|
|
||||||
final updatedTrip = widget.trip.copyWith(
|
final updatedTrip = widget.trip.copyWith(
|
||||||
imageUrl: imageUrl,
|
imageUrl: imageUrl,
|
||||||
updatedAt: DateTime.now(),
|
updatedAt: DateTime.now(),
|
||||||
);
|
);
|
||||||
|
|
||||||
// Mettre à jour dans la base de données
|
|
||||||
await _tripRepository.updateTrip(widget.trip.id!, updatedTrip);
|
await _tripRepository.updateTrip(widget.trip.id!, updatedTrip);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {}
|
||||||
// En cas d'erreur, on continue sans échec - l'image reste affichée localement
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildImageWidget() {
|
Widget _buildImageWidget() {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/services.dart';
|
||||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||||
import 'package:firebase_core/firebase_core.dart';
|
import 'package:firebase_core/firebase_core.dart';
|
||||||
import 'package:travel_mate/blocs/balance/balance_bloc.dart';
|
import 'package:travel_mate/blocs/balance/balance_bloc.dart';
|
||||||
@@ -47,6 +48,10 @@ import 'package:intl/date_symbol_data_local.dart';
|
|||||||
/// initializes Firebase, and starts the application.
|
/// initializes Firebase, and starts the application.
|
||||||
void main() async {
|
void main() async {
|
||||||
WidgetsFlutterBinding.ensureInitialized();
|
WidgetsFlutterBinding.ensureInitialized();
|
||||||
|
await SystemChrome.setPreferredOrientations([
|
||||||
|
DeviceOrientation.portraitUp,
|
||||||
|
DeviceOrientation.portraitDown,
|
||||||
|
]);
|
||||||
await dotenv.load(fileName: ".env");
|
await dotenv.load(fileName: ".env");
|
||||||
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
|
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
|
||||||
await initializeDateFormatting('fr_FR', null);
|
await initializeDateFormatting('fr_FR', null);
|
||||||
|
|||||||
Reference in New Issue
Block a user