Preferred Truck ยท SaltClick

Camera Capture Test / Pixel 9a

Tests whether the Salesforce Mobile WebView opens the camera directly or shows a chooser when capture="environment" is used.

How to use:

  1. Open this page inside the Salesforce Mobile app (not Chrome)
  2. Tap each test button below
  3. Note whether camera opens directly or a chooser appears
  4. Record your result using the pass/fail buttons
Test 1 โ€” Recommended Fix
capture="environment"
accept="image/*"
Captured photo
Test 2 โ€” Baseline (current spec)
capture="environment"
accept=(not set)
Captured photo
Test 3 โ€” Control (no capture attribute)
capture=(not set)
accept="image/*"
Captured photo
Event Log
โ€” ready. tap a test button to begin โ€”