Skip to content

Commit f562f37

Browse files
committed
Merge remote-tracking branch 'origin/main' into migrate-to-3.38
2 parents da0e74a + 9dc0d9f commit f562f37

File tree

55 files changed

+482
-282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+482
-282
lines changed

.github/workflows/deploy_beta.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020
- name: Install Bundle
2121
run: cd ./${{ matrix.platform }} && bundle install
2222

23-
- name: Setup Flutter
24-
uses: subosito/flutter-action@v2
25-
with:
26-
channel: stable
27-
2823
- if: matrix.platform == 'android'
2924
uses: actions/setup-java@v3
3025
with:
3126
distribution: 'corretto'
32-
java-version: '17'
27+
java-version: '21'
28+
29+
- name: Setup Flutter
30+
uses: subosito/flutter-action@v2
31+
with:
32+
channel: stable
3333

3434
- name: Install Flutter Packages
3535
run: |

.github/workflows/lint_test_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/setup-java@v3
3838
with:
3939
distribution: 'corretto'
40-
java-version: '17'
40+
java-version: '21'
4141

4242
- name: Build iOS
4343
run: flutter build ipa --no-codesign

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ ios/Runner.app.dSYM.zip
5050
ios/Runner.ipa
5151
ios/fastlane/report.xml
5252
ios/fastlane/README.md
53+
54+
#Android Studio Miscellaneous
55+
bugreport-*.zip

android/app/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ plugins {
1313
android {
1414
namespace = "de.tum.in.tumcampus"
1515
compileSdk = 36
16-
ndkVersion = "27.0.12077973"
16+
ndkVersion = "28.1.13356709"
1717

1818
compileOptions {
19-
sourceCompatibility = JavaVersion.VERSION_1_8
20-
targetCompatibility = JavaVersion.VERSION_1_8
19+
sourceCompatibility = JavaVersion.VERSION_21
20+
targetCompatibility = JavaVersion.VERSION_21
2121
}
2222

2323
kotlin {
2424
compilerOptions {
25-
jvmTarget.set(JvmTarget.JVM_1_8)
25+
jvmTarget.set(JvmTarget.JVM_21)
2626
}
2727
}
2828

assets/images/map/locate.webp

1.71 KB
Loading

assets/images/map/pin_blue.webp

706 Bytes
Loading

assets/images/map/pin_red.webp

1.19 KB
Loading

ios/Podfile.lock

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,9 @@ PODS:
7474
- geolocator_apple (1.2.0):
7575
- Flutter
7676
- FlutterMacOS
77-
- Google-Maps-iOS-Utils (6.1.0):
78-
- GoogleMaps (~> 9.0)
79-
- google_maps_flutter_ios (0.0.1):
80-
- Flutter
81-
- Google-Maps-iOS-Utils (< 7.0, >= 5.0)
82-
- GoogleMaps (< 11.0, >= 8.4)
8377
- GoogleDataTransport (10.1.0):
8478
- nanopb (~> 3.30910.0)
8579
- PromisesObjC (~> 2.4)
86-
- GoogleMaps (9.4.0):
87-
- GoogleMaps/Maps (= 9.4.0)
88-
- GoogleMaps/Maps (9.4.0)
8980
- GoogleUtilities/Environment (8.1.0):
9081
- GoogleUtilities/Privacy
9182
- GoogleUtilities/Logger (8.1.0):
@@ -101,6 +92,10 @@ PODS:
10192
- Flutter
10293
- map_launcher (0.0.1):
10394
- Flutter
95+
- MapLibre (6.19.1)
96+
- maplibre_gl (0.25.0):
97+
- Flutter
98+
- MapLibre (= 6.19.1)
10499
- nanopb (3.30910.0):
105100
- nanopb/decode (= 3.30910.0)
106101
- nanopb/encode (= 3.30910.0)
@@ -165,9 +160,9 @@ DEPENDENCIES:
165160
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
166161
- flutter_secure_storage_darwin (from `.symlinks/plugins/flutter_secure_storage_darwin/darwin`)
167162
- geolocator_apple (from `.symlinks/plugins/geolocator_apple/darwin`)
168-
- google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`)
169163
- home_widget (from `.symlinks/plugins/home_widget/ios`)
170164
- map_launcher (from `.symlinks/plugins/map_launcher/ios`)
165+
- maplibre_gl (from `.symlinks/plugins/maplibre_gl/ios`)
171166
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
172167
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
173168
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
@@ -191,10 +186,9 @@ SPEC REPOS:
191186
- FirebaseRemoteConfigInterop
192187
- FirebaseSessions
193188
- FirebaseSharedSwift
194-
- Google-Maps-iOS-Utils
195189
- GoogleDataTransport
196-
- GoogleMaps
197190
- GoogleUtilities
191+
- MapLibre
198192
- nanopb
199193
- PromisesObjC
200194
- PromisesSwift
@@ -219,12 +213,12 @@ EXTERNAL SOURCES:
219213
:path: ".symlinks/plugins/flutter_secure_storage_darwin/darwin"
220214
geolocator_apple:
221215
:path: ".symlinks/plugins/geolocator_apple/darwin"
222-
google_maps_flutter_ios:
223-
:path: ".symlinks/plugins/google_maps_flutter_ios/ios"
224216
home_widget:
225217
:path: ".symlinks/plugins/home_widget/ios"
226218
map_launcher:
227219
:path: ".symlinks/plugins/map_launcher/ios"
220+
maplibre_gl:
221+
:path: ".symlinks/plugins/maplibre_gl/ios"
228222
package_info_plus:
229223
:path: ".symlinks/plugins/package_info_plus/ios"
230224
path_provider_foundation:
@@ -265,13 +259,12 @@ SPEC CHECKSUMS:
265259
flutter_native_splash: c32d145d68aeda5502d5f543ee38c192065986cf
266260
flutter_secure_storage_darwin: acdb3f316ed05a3e68f856e0353b133eec373a23
267261
geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e
268-
Google-Maps-iOS-Utils: 0a484b05ed21d88c9f9ebbacb007956edd508a96
269-
google_maps_flutter_ios: 3213e1e5f5588b6134935cb8fc59acb4e6d88377
270262
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
271-
GoogleMaps: 0608099d4870cac8754bdba9b6953db543432438
272263
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
273-
home_widget: f169fc41fd807b4d46ab6615dc44d62adbf9f64f
264+
home_widget: 54b4f6b36ed8d64cfee594a476225c35c3e45091
274265
map_launcher: 8051ad5783913cafce93f2414c6858f2904fd8df
266+
MapLibre: 7f24faba45439f80ccb0f83393c29fa32cb81952
267+
maplibre_gl: a2114567cbd1065866614fbd34dfb75ab782aaa2
275268
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
276269
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
277270
path_provider_foundation: bb55f6dbba17d0dccd6737fe6f7f34fbd0376880

ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import UIKit
2-
import Flutter
3-
import GoogleMaps
2+
import Flutter
43

54
@main
65
@objc class AppDelegate: FlutterAppDelegate {
76
override func application(
87
_ application: UIApplication,
98
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
109
) -> Bool {
11-
GMSServices.provideAPIKey("AIzaSyAxUbnUMsXWVzeptXiLuNDMGpGEVFHLT4Y")
1210
GeneratedPluginRegistrant.register(with: self)
1311
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
1412
}

lib/base/enums/campus.dart

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import 'package:campus_flutter/homeComponent/model/station.dart';
2-
import 'package:google_maps_flutter/google_maps_flutter.dart';
2+
import 'package:maplibre_gl/maplibre_gl.dart';
33

44
enum Campus {
55
stammgelaende("Stammgelände"),
66
olympiapark("Campus Olympiapark"),
77
klinikumRechts("Klinikum rechts der Isar"),
88
grosshadern("Klinikum Großhadern"),
99
garching("Garching Forschungszentrum"),
10-
freising("Campus Freising");
10+
freising("Campus Freising"),
11+
ottobrunn("Campus Ottobrunn");
1112

1213
final String name;
1314

@@ -22,6 +23,7 @@ extension CampusExtension on Campus {
2223
Campus.olympiapark,
2324
Campus.klinikumRechts,
2425
Campus.freising,
26+
Campus.ottobrunn,
2527
];
2628
}
2729

@@ -39,6 +41,8 @@ extension CampusExtension on Campus {
3941
return "Garching Forschungszentrum";
4042
case Campus.freising:
4143
return "Weihenstephan";
44+
case Campus.ottobrunn:
45+
return "Taufkirchen / Ottobrunn (Luftfahrt, Raumfahrt und Geodäsie)";
4246
}
4347
}
4448

@@ -73,6 +77,8 @@ extension CampusExtension on Campus {
7377
return const LatLng(48.26513710129958, 11.671590834492283);
7478
case Campus.freising:
7579
return const LatLng(48.39549985559942, 11.727904526510946);
80+
case Campus.ottobrunn:
81+
return const LatLng(48.05465656040613, 11.653499097414645);
7682
}
7783
}
7884

@@ -118,6 +124,12 @@ extension CampusExtension on Campus {
118124
apiName: "1002911",
119125
location: const LatLng(48.39799498961109, 11.723989661968458),
120126
);
127+
case Campus.ottobrunn:
128+
return Station(
129+
name: "Taufkirchen, Lilienthalstr.",
130+
apiName: "1002389",
131+
location: const LatLng(48.05155653835728, 11.655056447685036),
132+
);
121133
}
122134
}
123135

@@ -185,6 +197,8 @@ extension CampusExtension on Campus {
185197
location: const LatLng(48.39581877364193, 11.725859432987532),
186198
),
187199
];
200+
case Campus.ottobrunn:
201+
return [defaultStation];
188202
}
189203
}
190204
}

0 commit comments

Comments
 (0)