Get the latest tech news

Preventing app removal on iOS


These days, I am developing an alarm app called ‘SuperAlarm’. To ensure a user is awake, SuperAlarm can be turned off only after a user completes a mission(e.g., taking a picture...

This problem does not exist on SuperAlarm for Android, since users cannot exit from the app to the home screen while the alarm is going off. The key is using Screen Time API of iOS.After getting approval from the user, the developer can set a flag to deny app removal. Note 1 To use this API, you should be approved for Family Controls & Personal Device Usage Entitlement by Apple.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of app

app

Related news:

News photo

Discord opens Activities, in-app games and features, to all developers

News photo

Shizuku: App that lets you use system APIs with higher privileges without root

News photo

Whatfix raises a whopping $125M for its in-app user guides