Skip to content

QR Code Scanning

How security guards verify entry passes using QR code scanning at society gates.


Scanning Process

Step-by-Step

  1. Vendor/visitor arrives at the gate
  2. Guard opens FindingNearBy app (Security Mode)
  3. Taps Scan button — camera activates
  4. Points camera at the visitor's QR code
  5. System processes — validates in real-time
  6. Result displayed — Valid ✅ or Invalid ❌
  7. Guard decides — Grant or deny entry
  8. Entry logged — Timestamp and details recorded

What the Guard Sees

On successful scan:

┌────────────────────────────────┐
│  ✅ VALID PASS                 │
│                                │
│  Name: Rahul Sharma            │
│  Business: Fresh Bites Café    │
│  Purpose: Weekend Food Fair    │
│  Valid: 15 Jan - 17 Jan 2025   │
│  Time: 8:00 AM - 8:00 PM      │
│                                │
│  [Allow Entry]  [Deny Entry]   │
└────────────────────────────────┘

On invalid scan:

┌────────────────────────────────┐
│  ❌ INVALID PASS               │
│                                │
│  Reason: Pass expired          │
│  Expired on: 14 Jan 2025      │
│                                │
│  [Report]  [Contact Admin]     │
└────────────────────────────────┘

Validation Checks

When a QR code is scanned, the system performs:

  1. Authenticity — Is this a genuine FindingNearBy QR code?
  2. Date Check — Is today within the valid date range?
  3. Time Check — Is the current time within allowed hours?
  4. Usage Check — Has a single-use pass already been used?
  5. Revocation Check — Has the pass been cancelled?
  6. Location Check — Is the scan happening at the correct society?

All checks happen in under 2 seconds.


Scan Scenarios

Normal Entry

  • QR scans ✅
  • Guard taps "Allow Entry"
  • Entry is logged
  • Visitor proceeds

Invalid Pass

  • QR scans ❌
  • Reason displayed (expired, wrong date, etc.)
  • Guard denies entry
  • Visitor directed to contact admin
  • Incident logged

Cannot Scan

If QR won't scan (damaged, screen broken):

  1. Guard taps Manual Verify
  2. Enters pass holder's phone number
  3. System looks up active passes for that number
  4. Displays pass details for verification
  5. Guard verifies identity and grants/denies

No Pass (Walk-in)

For unexpected visitors without a pass:

  1. Guard taps Manual Entry
  2. Records visitor details (name, phone, purpose)
  3. Notifies admin for approval
  4. Grants temporary entry or asks visitor to wait

Offline Scanning

Works Offline

QR scanning works even with poor connectivity. The app caches today's expected passes. Entries sync when connection resumes.

How It Works

  • App downloads today's pass list at shift start
  • Scans validate against local cache
  • When connection returns, entries sync to server
  • Admin sees entries with "synced" timestamp

For coaching passes the offline pack works a little differently. See Coaching passes below.


Coaching Passes

Students and coaches in coaching batches use the Coaching gate screen (Security Mode), which is separate from the event and visitor scanner. Pick the lane (Everyone, Students or Coaches) and the action (Auto, Entry or Exit). Auto decides from whether the person is already inside.

The guard sees only the person's name, role and photo. Phone numbers, health notes and fees are never shown.

Valid and invalid results

A scan always ends in a clear verdict:

Result What it means What the guard does
ENTRY OK / EXIT OK (green) The pass is valid and the movement was recorded Let them in or out
NOT A VALID PASS Not a coaching pass for this society, or the QR was altered Do not admit
PASS EXPIRED / PASS CANCELLED The pass is no longer valid, or was replaced by a newer one Do not admit; ask for the newest pass in the app
WRONG SOCIETY The pass belongs to another society or phase Do not admit
WRONG LANE A student pass on the coach lane or the other way round Send them to the right lane
NOT NOW A session exists today but not at this time Do not admit now
NO SESSION TODAY No session for this pass today Do not admit
NOT ENROLLED The enrolment is not active (cancelled, waitlisted or unpaid) Send the parent to the society office
COACH NOT CLEARED The coach agreement is not active or the coach is suspended Do not admit; tell the society office
SESSION CANCELLED / VENUE CLOSED The session is off or the venue is closed Do not admit; tell them the session is off
ALREADY INSIDE / ALREADY OUTSIDE (amber) Entry or exit was already recorded Nothing more to record
SCANNED JUST NOW (amber) The same pass was scanned seconds ago (double tap or two guards) No need to scan again

Anyone who is inside can always leave, even if their pass was cancelled while they were in.

Duplicate scans and sharing

  • Two scans of the same pass within a few seconds count as one. The second shows Scanned just now.
  • A pass seen at two places or on two phones within a minute is flagged as possibly shared. It still admits only once, and the guard is reminded to check ID.

Choosing the batch

If one pass is good for more than one batch that is open right now, the screen shows PICK THE BATCH. Tap the batch the person is attending. Nothing is recorded until you choose. If the person's pass is not for the batch you chose you see WRONG BATCH: do not admit them to that batch, and check the batch named on screen.

Early arrivals

If someone arrives early, the guard can choose Allow early arrival, but only within 30 minutes of the window opening, and only by entering a reason. The guard's name and reason are saved in the audit log. Every other invalid result stays invalid, even when searched by name.

Cannot scan

Search by the person's name or the last four digits of the parent's phone. If the person is not in the list, they have no coaching pass: do not let them in. The same checks apply as for a scan.

Offline scanning

  1. While online, download the offline pack. It is valid for 12 hours and holds today's sessions and the passes needed.
  2. Offline, scans are checked on the phone and marked provisional. If the pack is old or missing, the screen says so and tells you to use manual or ID checks instead.
  3. When the connection returns, scans upload automatically. You can also tap to send them. Scans already sent are not sent again.
  4. The server re-checks each scan. A scan made while the pass was valid is kept even if the pass was cancelled a moment later; it is simply flagged for the society office. Scans it cannot accept, for example because the phone's clock was far off, are listed for the office.

If the phone's clock is wrong, the screen asks you to fix it, or to send with corrected times, which marks them as time-corrected.


Geo-Validation

The system validates the guard's location:

  • Guard must be within the society's geo-fence
  • Prevents scanning from remote locations
  • Configurable radius (default: 200m from society center)
  • Alert raised if scan from unexpected location

Scan Analytics

Admins can view scanning activity:

Metric Description
Total Scans Today All QR scans performed
Valid Entries Successful verifications
Invalid Attempts Failed verifications
Peak Hours Busiest entry times
Avg. Verification Time Time from scan to decision
Guard Activity Scans per guard per shift

Best Practices

Efficient Scanning

  • Ensure guard phones have clean camera lenses
  • Set screen brightness to maximum when showing QR
  • Hold QR steady at arm's length for best scan
  • Train guards to also visually verify the person matches
  • Keep a backup phone at each gate
  • Test the system with a sample pass before going live

Next Steps