Roll call in a large lecture eats into teaching time, and a sign-in sheet passed along the rows comes back with illegible names, missing entries and the occasional signature for a friend. Someone then has to type the sheet into the grade book.
Many universities already print a barcode or QR code on every student ID card. That code is enough to record who walked in and when, without dedicated card readers or an extra system to roll out.
Attendance data is personal data. A phone-based setup keeps the decision with the institution: the school decides which IDs are scanned, which roster is loaded onto the device and where the exported file goes.