There are 2 types of login in the application one for Parents and one for Children.
Once the parent has signed up and set his profile, then he will be able to add multiple students. Students will be able to log in to the app using the QA code provided by the parent.
Once the students have logged in successfully, the Parent can set their restrictions that which applications to be restricted for use.
The parent can add scheduled prompts for specific students in terms of hourly, daily, weekly, and monthly.
Once the scheduled prompt arrives on the student’s device in terms of notification. The student's device-restricted apps will be locked for a specific amount of time.
The student is allowed to complete a subject questionnaire to unlock their device. For eg, there will be a list of 5 questions with multiple options to choose from. If the student gives a minimum of 4 right answers the student’s device will be unlocked or it will be locked for 5 minutes if the count of the correct answers is less than 4.
After the 5 minutes [Specific time - predefined] are complete, the student's device will be unlocked.
- We also created Apple ID for parents and children from family sharing documentation for screen time API.
- We also implemented authentication functionality with help of the family controls framework after approval we called FamilyActivityPicker as per provided document on family controls we got a view of all categories list but we were unable to see the application list on which depending on their category
How we lock all applications depending on he got remote notification in student device
Mac OS:- Bigsur (11.4) System:- Mac mini(M1,2020) Chip:- Apple M1 Memory:- 16GB XCode:- 13