I shield a web domain picked by users like this (discouragedSelections is an instance of FamilyActivitySelection() btw) :
let webDomainTokens = discouragedSelections.webDomainTokens
store.shield.webDomains = webDomainTokens
The domain is correcly shielded and I can see the restricted screen when I access it via Safari.
When I tap on the main button of that restricted view, I receive a different token than the one I got from .webDomainTokens from the code above. Why?
override func handle(action: ShieldAction, for webDomain: WebDomainToken, completionHandler: @escaping (ShieldActionResponse) -> Void) {
// webDomain here is different from the one in store.shield.webDomains
}
Post
Replies
Boosts
Views
Activity
My app correctly applies the ShieldConfiguration template that I chose (icon, text, CTA, etc), but some users reported seeing the following default shield:
With the default shield text that reads, "You cannot use AppName because it is restricted."
Any idea why?
Title says all, when I try to apply a treatment I get the following error message:
Unable to Apply Treatment
You must upload at least one screenshot for the primary language of your app before this treatment can be applied to the following:
3.7.7 Ready for Distribution
Try again.
Any clue?
I moved to another country and had to create a new legal entity there. So, I also transferred my app from my old legal entity to the new one.
I cannot build my app on a device anymore because of the following errors:
An iCloud Container with Identifier 'iCloud.com.***' is not available. Please enter a different string.
No profiles for 'com.***' were found
Xcode couldn't find any iOS App Development provisioning profiles matching 'com.***'.
My app implements iCloud container and App groups for the Watch and Widget versions. It seems that these two capabilities are not handled correctly after the transfer. Any suggestions?