HRMS MOBILE FACE ATTENDANCE - FINAL SETUP 1. Copy this complete hrms_login folder into XAMPP htdocs and replace the old copy. 2. Keep config/db.php pointing to the existing hrms database. 3. Phone and PC must be on the same LAN/Wi-Fi. 4. Mobile base URL is: http://192.168.0.163/hrms_login/ 5. Test from the phone browser: http://192.168.0.163/hrms_login/api/face_attendance/login.php A GET request should return: Username and password are required. 6. Login API accepts normal form POST and JSON POST, uses the same admin_users table and password_verify() as web login, and accepts username case-insensitively. 7. Run sql/face_attendance_mobile.sql once if desired; the API also creates its mobile tables automatically. 8. The mobile app caches employees/faces locally and queues attendance/face/field events while server is unavailable. It retries sync every 30 seconds while the app is running and on app start. Do NOT change the user's HRMS password just for mobile. Mobile and web authentication use the same admin_users password hash.