Finn nærmeste offentlige tilfluktsrom i Norge — Android-app + PWA
  • Kotlin 55.8%
  • TypeScript 36.7%
  • CSS 4%
  • Shell 2.2%
  • HTML 1.3%
Find a file
Ole-Morten Duesund 55761718e1 Improve lifecycle management, compass reliability, and accessibility
- Use repeatOnLifecycle(STARTED) for location updates so GPS stops
  when Activity is paused (battery conservation)
- Pair enableMyLocation/disableMyLocation with onResume/onPause
- Add low-pass filter for accelerometer+magnetometer compass fallback
  to reduce arrow jitter
- Detect missing compass sensors and show warning instead of frozen
  arrow
- Monitor compass accuracy via onAccuracyChanged and indicate
  degraded readings
- Show permission rationale dialog using existing i18n strings
- Guide user to Settings when location permission is permanently
  denied
- Check cacheMapArea return value and show banner on failure
- Add error handling around shelter Flow and location Flow collection
- Add contentDescription to direction arrow views for screen readers
- Use safe casts for system services (as? instead of as)
- Use explicit dark theme parent (Theme.Material3.Dark.NoActionBar)
  instead of DayNight with hardcoded dark colors
- Add error_no_compass and direction_arrow_description strings in
  en/nb/nn

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:54:06 +01:00
app Improve lifecycle management, compass reliability, and accessibility 2026-03-08 17:54:06 +01:00
gradle/wrapper Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00
pwa Remove build artifacts and add .gitignore for PWA 2026-03-08 17:41:55 +01:00
.gitignore Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00
build.gradle.kts Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00
CLAUDE.md Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00
gradle.properties Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00
gradlew Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00
gradlew.bat Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00
settings.gradle.kts Initial commit: Norwegian emergency shelter finder app 2026-03-08 16:14:19 +01:00