Hi,
Has anyone managed to store applications, categories or webDomains from FamilyActivitySelection into UserDefaults ? Application or Category is not Codable. How do we encode this into JSON? Thanks for your help
Hi,
Has anyone managed to store applications, categories or webDomains from FamilyActivitySelection into UserDefaults ? Application or Category is not Codable. How do we encode this into JSON? Thanks for your help
I'm having the issue below while trying to read FamilyActivitySelection from UserDefaults
[User Defaults] Couldn't read values in CFPrefsPlistSource<0x282178b00> (Domain: group.com.digi.kidapp.shared, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
ApplicationToken
is encodable, please see Encoding a Token for more information. Also, you must make sure to use UserDefaults that are shared between an app and its extensions via App Groups.