Posts

Post not yet marked as solved
1 Replies
485 Views
the device activity apis require the app to ask to monitor specific apps - but how can an app know what apps are on the device? Say my app will have presets of groups of apps that could be blocked, how will i know which of these i should ask to monitor? Also is it possible to know when the child has installed a new app to determine if it should be allowed?
Posted Last updated
.
Post not yet marked as solved
0 Replies
336 Views
Are there any limits on how DeviceActivityCenter.startMonitoring is called? I'm thinking - my parent user whats to change the settings - presumably i need to send a background data push to the child app - that will then be launched in the background and would be able to apply these new settings?
Posted Last updated
.
Post not yet marked as solved
0 Replies
359 Views
the documentation for DeviceActivityCentre.startMonitoring ( https://developer.apple.com/documentation/deviceactivity/deviceactivitycenter/startmonitoring(_:during:events:) ) seems to suggest there is a limit to how many different events one could limit for ( "To avoid errors, reduce the number of unique, tightly-scheduled activities. ") - what are these limits? Given that it looks like the reported events are per DeviceActivityEvent.Name it seems mostly likely an app would need to create an event for every app/web domain it wanted to monitor to be able to get stats on how much time was spent in each. - ie. there doesnt seem to be a way to extract stats, rather just collect them.
Posted Last updated
.