Repository navigation
Offline Info Implementation Plan
This implementation plan outlines the responsibilities and deliverables of the Offline Information Subgroup.
The scope includes:
- Offline emergency information entry point
- Offline-accessible map and gathering point support
- Offline first-aid information pages
- Offline emergency contact storage and quick dialing
- Local caching of essential emergency information
- Cross-platform emergency information access with stronger support on mobile
The scope excludes:
- Full offline synchronization of forum or help-request content
- Peer-to-peer messaging
- Conflict resolution for offline user-generated content
- Full downloadable disaster knowledge packs for every region
- Advanced preparedness checklist synchronization
The offline information subsystem is designed to provide users with access to critical emergency guidance even when internet connectivity is weak or unavailable.
The system currently relies on a mobile-first implementation, supported by:
- Android application screens for offline features
- Local persistence for emergency contacts
- Cached location-based gathering point data
- Bundled first-aid content and media assets
A lighter emergency-information experience is also available on the web interface through browser-side caching and client-side location handling.
To provide users with a single access point for emergency information features.
Users access the offline information subsystem through a dedicated entry screen from the authenticated application flow.
- The system provides a dedicated Offline Features screen
- The screen acts as a navigation hub for:
- Offline map access
- First-aid guidance
- Emergency contacts
- The system allows users to return safely to the main dashboard
OfflineFeaturesActivity- Dashboard navigation entry points
- Mobile offline feature layout resources
To help users locate nearby emergency-relevant places such as assembly points, shelters, hospitals, fire stations, and police stations.
The system retrieves nearby points based on the user’s location, caches the results locally, and reuses cached data when network access is limited.
- The system attempts to determine the user’s location through GPS
- If GPS is unavailable, the system may fall back to hub-based location context
- The system retrieves nearby emergency-related map points
- The system categorizes points such as:
- Assembly points
- Shelters
- Hospitals / clinics
- Fire stations
- Police stations
- The system caches retrieved point data locally
- The system reuses cached data when it is still valid and geographically relevant
- The system avoids showing unrelated stale location data
- The system displays map markers and point details to the user
MapActivityMapRepositoryGatheringPointCacheMapTileCacheHelperPreferencesManager- Web
EmergencyInfoPage
To provide users with immediate access to critical first-aid instructions without requiring a live internet connection.
The system ships first-aid guidance as bundled application content so it remains accessible offline.
- The system provides a first-aid entry page
- The system presents structured first-aid topics
- The system opens detailed guidance pages for selected topics
- The system includes bundled text and visual materials
- The first-aid content remains accessible without backend communication
FirstAidActivityFirstAidDetailActivity- Bundled drawable/image assets
- Offline-first layout resources
To allow users to store and quickly access important emergency phone numbers when network connectivity is unavailable.
The system supports both a default emergency number and user-defined contacts stored locally on the device.
- The system provides a direct call option for the general emergency line
- The system allows users to add custom emergency contacts
- The system stores custom contacts in a local database
- The system lists saved contacts on the device
- The system allows users to delete saved contacts
- The system allows quick dialing through the device dialer
EmergencyContactsActivityAppDatabaseEmergencyContactContactDao
To ensure critical offline information remains available on the device.
Different offline information types are stored using the most appropriate local mechanism.
- Emergency contacts are stored in a local Room database
- Cached map / gathering-point data is stored locally for reuse
- First-aid guidance is bundled with the mobile application
- Temporary preference-style data is stored using local preference storage where appropriate
- The system separates persistent user data from temporary cache data
- Room database for emergency contacts
- Local preferences / cache for map-related emergency point data
- Bundled assets and resources for first-aid information
To provide emergency information access on the web platform.
The web application provides an emergency-information page with location lookup, map display, category filtering, and short-term local caching.
- The system can obtain browser geolocation when available
- The system can fall back to hub-based location resolution
- The system displays nearby emergency-related locations on a map
- The system locally caches retrieved point data in the browser
- The web experience improves resilience but is not yet a full offline-first implementation
EmergencyInfoPage- Browser local storage
- Client-side map rendering and filtering
To degrade gracefully under poor connectivity.
The subsystem is designed so that critical emergency guidance remains accessible even when live network-dependent features fail.
- The system falls back to cached emergency-point data when possible
- The system avoids crashing when location detection fails
- The system provides fallback status information when live lookup is unavailable
- First-aid content and stored emergency contacts remain usable regardless of backend state
To maintain a consistent emergency-information concept across platforms.
- Shared emergency-information purpose across web and mobile
- Mobile as the primary offline-capable platform
- Similar concepts for maps, nearby points, and emergency guidance
- Local caching to reduce dependency on uninterrupted connectivity
The Offline Information Subgroup delivers:
- Offline Features entry screen
- Offline-accessible first-aid information pages
- Local emergency contact management
- Cached location-based emergency point support
- Mobile emergency map flow
- Web emergency information page with local caching support
The following limitations remain in the current implementation:
- Full offline-first support is stronger on mobile than on web
- Live map-point retrieval still depends on external map/location services during initial fetch
- Forum and help-request data are not yet synchronized for offline creation/editing
- There is no unified downloadable regional emergency-content package yet
- Advanced checklist and preparedness-data persistence is not yet fully implemented
The following features are planned but not included in the current implementation:
- Full PWA/service-worker based offline emergency information on web
- Downloadable regional emergency-data bundles
- Offline preparedness checklist persistence and synchronization
- Background refresh of cached emergency data
- Offline creation queue and later sync for selected user-generated content
Team Members
- Weekly Meeting 1 (15.02.2026)
- Weekly Meeting 2 (23.02.2026)
- Weekly Meeting 3 (03.03.2026)
- Weekly Meeting 4 (11.03.2026)
- Weekly Meeting 5 (16.03.2026)
- Weekly Meeting 6 (23.03.2026)
- Weekly Meeting 7 (30.03.2026)
- Weekly Meeting 8 (06.04.2026)
- Weekly Meeting 9 (15.04.2026)
- Weekly Meeting 10 (29.04.2026)
- Weekly Meeting 11 (06.05.2026)
- Weekly Meeting 12 (11.05.2026)
- Lab 1 Report (12.02.2026)
- Lab 2 Report (19.02.2026)
- Lab 3 Report (26.02.2026)
- Lab 4 Report (05.03.2026)
- Lab 5 Report (12.03.2026)
- Lab 6 Report (26.03.2026)
- Lab 7 Report (02.04.2026)
- Lab 8 Report (16.04.2026)
- Lab 9 Report (30.04.2026)
- Lab 10 Report (07.05.2026)