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 e93273bff4 Fix data safety, security, and coroutine correctness
- Wrap deleteAll+insertAll in Room transaction to prevent data loss
  on crash during refresh
- Add CancellationException rethrow in ShelterRepository and
  MapCacheManager to preserve structured concurrency
- Close OkHttp response body on error paths (response.use{})
- Add ZIP bomb protection (10MB cap) in GeoJSON parser
- Add per-feature error handling — skip malformed records instead of
  losing all shelters
- Validate coordinates within Norway's bounding box
- Enforce HTTPS-only via network_security_config (remove cleartext
  allowance for tile.openstreetmap.org)
- Disable android:allowBackup to prevent DB extraction via ADB
- Strip Log.v/d/i in release builds via ProGuard to prevent location
  data leakage
- Restore map position in MapCacheManager.finally block on
  cancellation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:53:51 +01:00
app Fix data safety, security, and coroutine correctness 2026-03-08 17:53:51 +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