Post

Replies

Boosts

Views

Activity

Reply to DeviceActivityMonitor - intervalDidStart() not able to restrict apps/categories/webCategories
I've basically confirmed that :     let applications = model.selectionToDiscourage.applicationTokens     let categories = model.selectionToDiscourage.categoryTokens     let webCategories = model.selectionToDiscourage.webDomainTokens are all not set in MyMonitor, when they are set outside of the extension. Not sure how to fix this.. As MyModel targets the extension
Dec ’22
Reply to Module 'DeviceActivity' not found
I was also able to reproduce this by creating a new barebones project, with adding only two files:  "MyObjectiveC.m " #import "MyTestProject-Swift.h"  and "MySwift.swift"  import DeviceActivity import ManagedSettings import Foundation @objc(MyMonitor) class MyMonitor: DeviceActivityMonitor { }
Dec ’22