Before the one-time clear-app-data migration in HomeActivity.clearAppData (cadre login, non-Vrutti tenant, not yet cleared), ZipUtil.zipFilesAndSendToFireStore copies the app data directory, zips only the SYNC_QUEUE_DB database, and uploads it to Firebase Storage at urvi_clear_app_data/<cadreLogin><month+time>.zip (FireStoreUtil.addSyncQueueDBInFireStore). This is Storage, not Firestore. The SharedPref flag isClearedDataSentToFireStore records the result so the upload happens only once. The POST /sync-service/api/v1/data/so call follows, and app data is wiped only if that succeeds.
Headers
Header
Value
Notes
(Firebase SDK)
<Firebase app credentials>
No user auth.
Parameters
Param
In
Required
Example
Notes
path
path
Yes
urvi_clear_app_data/cadre_aJune10:15.zip
Name = cadreLogin + AppUtils.convertMillisToMonthNameAndHHSS(now) + ".zip". PII: login id in the object name.