Post

Replies

Boosts

Views

Activity

Limits on monitoring events
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.
0
0
404
Jun ’21
How the schedule can be changed
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?
0
0
370
Jun ’21