Activity #4247
openFeature #64: DigiPatho App -- Development, Validation, Certification and Deployment of App
Module #4210: Enhancements for Follow-up Survey Handling in the App
Sub module #4211: Download & Sync by Area
Activity #4212: Implement data download and synchronization for a selected area (e.g., Colony).
Implement Logic for Inserting Field Survey Data and Handling Colony Switch in Local SQLite DB
100%
Description
Develop logic in the mobile application to manage field survey data corresponding to the selected colony using the local SQLite database.
Requirements:
Insert Field Survey Data:
Implement logic to insert all field survey details related to the selected colony into the local SQLite database after successful download.
Ensure proper mapping of all columns and maintain data integrity.
Handle Colony Switch Scenario:
When the user switches to another colony, clear all existing data related to the previous colony from the local SQLite database.
Insert the new colony’s field survey data after clearing old records.
Ensure no residual data remains from the previous colony to prevent inconsistencies.
Testing:
Verify that switching colonies correctly updates the local data.