Full app scaffold wired to the backend: onboarding, content-length picker, map screen (permission flow + text-search fallback), guide screen with a swipeable place-card stack driven by on-device TTS narration and a 60s re-scan loop, place detail screen with mute/favorite controls, favorites (Room-backed), and settings. Hilt for DI, Retrofit+kotlinx.serialization for the API client, DataStore for onboarding/content-length prefs, FusedLocationProviderClient for location. The 2GIS MapKit integration is isolated behind map/DgisMapView.kt (currently a placeholder) since its exact Maven coordinates need confirming from the 2GIS developer portal. Verified by actually building it: installed a minimal Android SDK (platform 34 + build-tools, no emulator) and JDK 17 locally, then ran :app:compileDebugKotlin, :app:assembleDebug (produced a real debug APK), and :app:lintDebug (0 errors, 44 non-blocking warnings, mostly "newer dependency version available"). Caught and fixed two real bugs this way: a wrong Maven artifact for the Retrofit kotlinx.serialization converter, and missing ExperimentalMaterial3Api opt-in. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
11 lines
442 B
Text
11 lines
442 B
Text
# Copy this file to local.properties (gitignored) and fill in real values.
|
|
|
|
sdk.dir=/path/to/your/Android/Sdk
|
|
|
|
# Test key provided for development; do not ship this as-is in a public repo.
|
|
DGIS_API_KEY=b4df01a8-61db-4cb9-8286-7e069495987d
|
|
|
|
# Base URL of the guideCity backend API.
|
|
# Emulator -> host loopback: http://10.0.2.2:8000/
|
|
# Physical device -> your machine's LAN IP, e.g. http://192.168.1.50:8000/
|
|
API_BASE_URL=http://10.0.2.2:8000/
|