Phase 2: Add Network Bypass for offline mode

- Created OfflineModeManager.smali (toggle offline mode)
- Created OfflineResponseMock.smali (mock API responses)
- Modified NetworkImpl to check offline mode
- Modified MainActivity initialization
- Builds successfully

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 17:48:44 -08:00
parent c25e937818
commit 5bf771f4c1
1618 changed files with 251042 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{
"states": [{
"id": 1000,
"is_initial_state": true,
"type": "decision",
"decision_type": "is_al_gdpr",
"destination_state_id_true": 20,
"destination_state_id_false": 500
}, {
"id": 20,
"type": "cmp_load",
"decision_type": "cmp_load_success",
"destination_state_id_true": 21,
"destination_state_id_false": 500
}, {
"id": 21,
"type": "cmp_show",
"destination_state_id": 13
}, {
"id": 13,
"type": "event",
"name": "gdpr_ok",
"destination_state_id": 99
}, {
"id": 500,
"type": "terms_flow"
}, {
"id": 99,
"type": "reinit"
}]
}