Photos upload immediately when online — or queue safely on your device offline until cellular or Wi-Fi returns.
Device & Capture Preferences
Attach Live GPS on "Take Photo"Non-blocking coordinates + Google Maps link when OS camera omits EXIF GPS
Offline StorageChecking...
Effective TimezoneDetecting...
Local Queue0 queued
Backend Connection Diagnostic
Verifies your Team PIN, Google Shared Drive write permissions, and D4H API v3 connectivity on this deployment.
Team PINNot tested yet
Google DriveNot tested yet
D4H API v3Not tested yet
Report Bug / Request Feature
Send a report directly to the maintainer without leaving the app (no GitHub account required). Reports never touch your team's Google Drive or D4H.
Preview Auto-Captured Diagnostics
Privacy Guarantee: Automatically excludes Team PINs, API tokens, GPS coordinates, incident/activity titles, and photo filenames.
Team Setup & Cloudflare Env Builder
Deploying Field Camera for another SAR team? API tokens stay securely on your team's Cloudflare Pages server — never on responders' phones. Fill in your team's values below to generate ready-to-paste environment variables.
1. How to get Google Shared Drive ID & Service Account
Go to IAM & Admin → Service Accounts → Create Service Account, then open Keys → Add Key → Create new key (JSON).
Copy the Service Account's email (...@....iam.gserviceaccount.com) and share your team's target Google Shared Drive (or root folder) with that email as Content Manager.
Open that Shared Drive folder in your browser and copy the ID after /folders/ in the URL into GOOGLE_DRIVE_ROOT_ID.
2. How to get D4H Team ID & API v3 Token
Sign in to D4H Team Manager, click your profile avatar → API Access Tokens, and create a read-only token with Incidents, Exercises, and Events read scopes.
To find your numeric D4H_TEAM_ID, inspect your D4H dashboard URL or call GET /v3/whoami once with your token.
Don't use D4H? Leave D4H_TOKEN and D4H_TEAM_ID unset — Field Camera automatically switches to Custom Activity mode.
3. Deploy to Cloudflare Pages
Fork this repository to your team's GitHub account and connect it to Cloudflare Pages (Build command: none, Build output directory: /).
Go to Cloudflare Pages → Settings → Environment variables and add the variables generated above (encrypt GOOGLE_SERVICE_ACCOUNT_JSON, D4H_TOKEN, and TEAM_PIN as Secrets).
Trigger a deployment, open the app, enter your Team PIN, and click Test Backend Connection above!
4. How to set up Private GitHub Feedback & Multi-Team Relay
Create a dedicated private GitHub repository (e.g., your-handle/field-camera-feedback) and turn on Watch → All Activity for instant email notifications.
Create a GitHub Fine-grained Personal Access Token scoped strictly to that private repository with Issues: Read & Write and Contents: Read & Write (for inline screenshots).
In Cloudflare Pages, set GITHUB_FEEDBACK_REPO and encrypt GITHUB_FEEDBACK_TOKEN as a Secret. Other teams can point FEEDBACK_ENDPOINT_URL at your central https://.../api/feedback URL with zero credentials shared.