Sisomphone.
← All apps

Outsourced Developer · Agricultural Promotion Bank

APB HRM

Attendance and HR for Agricultural Promotion Bank staff

1K+ downloads · 4.9★ on Google Play

APB HRM is the staff app of Agricultural Promotion Bank in Laos. Staff check in and out against their shift inside their branch's geofence, request leave and overtime, and see their attendance and salary history. I built the original app in 2024 and rebuilt it in strict TypeScript in 2026, on the same backend.

Role
Mobile developer (outsourced)
Period
Oct 2024 – present
Platforms
iOS and Android · Expo / React Native
Team
Solo

Features

  • Swipe to check in and out against the shift schedule, checked against a GPS geofence
  • Out-of-area check-in with a photo and a remark
  • Overtime check-ins, and check-in for another staff member with permission
  • Leave, overtime and missed-scan requests, approved by the chief and HR
  • Attendance and salary history, assigned work, meetings and documents
  • Profile with skills, records and certificates
  • Push notifications and an in-app inbox
  • Lao and English

What I built

  • Built the original app from the first commit in October 2024 (109 of 117 commits) and released it to the App Store and Google Play
  • Rebuilt it in 2026 in strict TypeScript with a feature-first structure (126 of 127 commits); every screen was ported within a week in June
  • Moved server state from Zustand stores to React Query, with one Axios client, interceptors and React Hook Form + Zod forms
  • Added rooted-device and mock-GPS blocking for check-ins, a 3-minute auto-logout, an offline banner and OTA update checks

Technical highlights

Check-ins that are hard to fake

Check-ins are refused on rooted or jailbroken phones, with USB debugging on, or when Android reports a mock GPS location.

Signed scans

Every scan sends device details and a signature over staff, email and branch, so the server can match it to the right person and place.

A rewrite with no backend changes

The new app calls the same ~61 REST endpoints as the original, so it could replace the production app without touching the server.

Safer sessions

Tokens live in Secure Store with refresh-token rotation, and the app signs out after 3 minutes in the background.

Stack

  • Expo SDK 55
  • React Native 0.83
  • TypeScript
  • Expo Router
  • React Query
  • Zustand
  • NativeWind
  • React Native Reusables
  • React Hook Form + Zod
  • OneSignal
  • Google Maps