Commit Graph

5 Commits

Author SHA1 Message Date
Olof Hedman
34a2854d69 Delete some files that are no longer used 2025-09-24 16:47:55 +02:00
Olof Hedman
642e546a09 Location refactor compiles and seemingly works
Location updates now handled in a more compose friendly way via StateFlow
Lots of small changed in MainActivity and DetailDialogShell to make them platform independent
Add new platform apis for openUrl, openMap (AppNavigator)
Add Platform independent OutboxScheduler
Try to clean up event handling of FoundEvents and location updates (need more cleanup)
New wrapper for handling App Context in shared (could be used to clean up integration further)
2025-09-24 16:23:38 +02:00
Olof Hedman
0d1e54fcd8 WIP: Add new location service, disable old.
Note: this commit does not compile
2025-09-24 10:02:50 +02:00
c65f230665 shared(location): add expect/actual LastLocationStore (GeoPoint)
app(util): adapt LastLocationStore to delegate to shared store while keeping android.location.Location API
2025-09-14 23:01:00 +02:00
5eb96a0ff1 KMP/location + UI: centralize location lookups and use shared panel shell in NearbyDialog
shared(commonMain): add location/LocationProvider (GeoPoint + interface).
app(location): add AndroidLocationProvider using FusedLocationProviderClient.
app(MainActivity): replace ad-hoc location calls with provider in startup, auto-scans (Wiki/DM/Fornsok), and “Nearby” button; persist lastKnownLat/Lon.
app(ui): use MapPanelShell inside NearbyDialog and set sensible max height (~80% of screen).
app(found): fix fetchNearbyData call to use gp.lat/gp.lon.
2025-09-14 18:20:38 +02:00