⚠️
THIS IS A SIMULATED PROTOTYPE
Please refresh, wait, try — things may need a reload to sync properly.
📱 The 4-Digit Room Code — Critical for Multi-Device Testing
The room code (a random 4-digit code — auto-generated if empty) connects multiple devices into one live simulation room. Here's how to test properly:
🖥️
Device 1 — Operator Dashboard
Open operator.html?pin=1234 on a laptop/desktop first. This is the command center.
📱
Device 2 — Citizen App
index.html?pin=1234 on a phone. This is the victim/responder.
🛡️
Device 3+ — Guardian App (for Guardian Mode)
Open index.html?pin=1234 on additional phones. Enable Guardian Mode in each. Minimum 3 devices total for Guardian testing.
🔐 Required Permissions — Allow All
- Location (GPS) — Required for SOS location, Guardian dispatch, live tracking
- Microphone — Required for audio evidence recording (SHA-256 hashed)
- Camera — Required for video conference (Jitsi)
- Notifications — Required for SOS alerts, Guardian dispatches
Without these, core features won't work. Browser will prompt on first use.
🧪 Recommended Test Flow
- Open Operator Dashboard first (Device 1)
- Open Citizen App (Device 2) — press SOS
- Watch Operator Dashboard receive alert
- Open Guardian App (Device 3) — go on Standby
- Watch Guardian get dispatched, join video conference
- Complete mission → see rating → CTS updates
Tip: Change the room code in the header (top-right PIN badge) to create separate test rooms. Share the same code across devices to join the same room.