How moturumonishpvt-byte/facultyapp_sc works
Academic Monitor is a faculty mobile app for offline-capable identity verification and classroom attendance. A faculty member syncs identity data when possible, scans their face, selects a class, broadcasts a BLE session, and uses an OTP to confirm attendance before reviewing and saving records. The map includes the React Native screens and services plus Android native modules and local/cloud state. Some screen and native implementations were not excerpted, so only documented or indexed relationships are shown; uncertain links are omitted.
Main entry points: AppNavigator.tsx App Navigator · FacultyBLEModule.ts BLE Session Logic · faceService.ts Face Matching · timetableService.ts Timetable Data
Components 19
Faculty App
- App Root
App.tsx - App Navigator
src/navigation/AppNavigator.tsx - Timetable
src/screens/TimetableScreen.tsx - Theme Tokens
src/constants/theme.ts
Identity Verification
- Face Scan
src/screens/FaceScanScreen.tsx - Scan Loop
src/hooks/useFaceRecognition.ts - Face Matching
src/services/faceService.ts
Session Management
- BLE Session
src/screens/BLESessionScreen.tsx - BLE Session Logic
src/ble/FacultyBLEModule.ts - BLE Constants
src/ble/BLEConstants.ts - OTP Confirmation
src/screens/OTPScreen.tsx - Attendance Review
src/screens/ResultScreen.tsx
Data Services
- Timetable Data
src/services/timetableService.ts - Supabase
src/services/supabaseClient.ts - MMKV Cache
src/services/storageService.ts
Android Native
- Face Pipeline
android/app/src/main/java/com/am_faculty/FaceRecognitionModule.kt - BLE Peripheral
android/app/src/main/java/com/am_faculty/BLEPeripheralModule.kt
Other components
- Faculty
- Student Devices
Connections 26
- Faculty → App Root: uses
README.md - App Root → App Navigator: mounts
App.tsx - App Navigator → Face Scan: starts at
src/navigation/AppNavigator.tsx - App Navigator → Timetable: routes to
src/navigation/AppNavigator.tsx - App Navigator → BLE Session: routes to
src/navigation/AppNavigator.tsx - App Navigator → OTP Confirmation: routes to
src/navigation/AppNavigator.tsx - App Navigator → Attendance Review: routes to
src/navigation/AppNavigator.tsx - Face Scan → Scan Loop: uses
src/screens/FaceScanScreen.tsx - Face Scan → Face Matching: syncs embeddings
src/screens/FaceScanScreen.tsx - Scan Loop → Face Pipeline: processes frames
src/hooks/useFaceRecognition.ts - Scan Loop → Face Matching: matches embeddings
src/hooks/useFaceRecognition.ts - Face Matching → Supabase: fetches embeddings
src/services/faceService.ts - Face Matching → MMKV Cache: caches embeddings
src/services/faceService.ts - Faculty → Timetable: selects class
README.md - Timetable → Timetable Data: loads schedule
README.md - Timetable Data → Supabase: reads timetable
src/services/timetableService.ts - BLE Session → BLE Session Logic: starts session
src/screens/BLESessionScreen.tsx - BLE Session Logic → BLE Peripheral: controls peripheral
src/ble/FacultyBLEModule.ts - BLE Session Logic → BLE Constants: uses protocol
src/ble/FacultyBLEModule.ts - BLE Peripheral → Student Devices: broadcasts session
README.md - Student Devices → BLE Peripheral: connects locally
README.md - OTP Confirmation → BLE Session Logic: generates OTP
src/screens/OTPScreen.tsx - BLE Session Logic → Student Devices: requests OTP
src/ble/FacultyBLEModule.ts - OTP Confirmation → Attendance Review: finishes session
README.md - Attendance Review → Timetable Data: saves attendance
src/screens/ResultScreen.tsx - Timetable Data → Supabase: writes attendance
src/services/timetableService.ts