If this wasn't mandated by law, this would inevitably create a market for devices and tweaks that didn't support this (mis)feature.
Older devices, jailbroken iPhones, rooted Androids or just straight up Chinese knock-offs would be a lot more desirable in such a world, and Tiktok would make sure that the smart kids knew how to break their devices themselves. The not-so-smart ones would inevitably have smarter buddies willing to do them a favor in exchange for a few bucks.
You'd also have to be extra careful to prevent misconfigured beacons and overzealous school administrators from interfering with the phones of neighbors, staff, those who have an exception, or even random passers by.
Older devices, jailbroken iPhones, rooted Androids or just straight up Chinese knock-offs would be a lot more desirable in such a world, and Tiktok would make sure that the smart kids knew how to break their devices themselves. The not-so-smart ones would inevitably have smarter buddies willing to do them a favor in exchange for a few bucks.
You'd also have to be extra careful to prevent misconfigured beacons and overzealous school administrators from interfering with the phones of neighbors, staff, those who have an exception, or even random passers by.