How to properly use PermissionKit to ask permission

For testing permission response we can use the sandbox account

However, when testing permission requests using the AskCenter API, none of the ask API works for me in xcode 26.2 rc and iOS 26.2 rc.

For SignificantAppUpdateTopic, I got errors like "The user is in a region that does not support this type of ask" in the console log, but I've already set my billing address to Texas.

For CommunicationTopic, the console shows several XPC-related errors, and I’m not sure which of them are relevant.

Both of them show an alert view of "Can't ask, An unknown error occurred"

Can someone help to guide us how to test the request flow?

Thanks

For CommunicationTopic, the console shows > several XPC-related errors, and I’m not sure > which of them are relevant. Both of them show an alert view of "Can't ask, An unknown error occurred"

I am also having the same error when attempting to get parental permission using a Communication topic (Unable to ask / unknown error occurred).

I also am not in Texas if it matters.

Tap Settings app > Developer > Sandbox Account to display a menu. Select and open "Management" from the menu, and you will see an option for "Age Verification" at the bottom of the screen. You can select a test case here.

*This is an English translation from Japanese, so the wording may differ.

I assume the ask permission flow should send the request to the parent via iMessage.

That is what was shown in the WWDC video for PermissionKit.

And I am using the code from the WWDC video and running on IOS 26.2 RC by the way.

the communication permission work for me with xcode and ios 26.2 public release

it needs sync contacts and enable communication limit on the child device. the error messages I got from console were very helpful.

(501) Invalidation handler invoked, clearing connection
(501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated from this process.}
SendFlow (Host): Error sending begin message: hostViewControllerDidActivate(_:) Error Domain=AskToCore.ATMessageComposeValidationError Code=2 "Contact syncing is not set up" UserInfo={NSLocalizedDescription=Contact syncing is not set up, NSLocalizedFailureReason=Contact syncing needs to be configured before you can send messages., NSLocalizedRecoverySuggestion=Please enable contact syncing in Settings.}

SendFlow (Host): Error sending begin message: hostViewControllerDidActivate(_:) Error Domain=AskToCore.ATMessageComposeValidationError Code=3 "Communication limits are not enabled" UserInfo={NSLocalizedDescription=Communication limits are not enabled, NSLocalizedFailureReason=Communication limits need to be enabled before you can send messages., NSLocalizedRecoverySuggestion=Please enable communication limits in Screen Time settings.}

However, I still don't know how to fake my location to texas to test significant app update

How to properly use PermissionKit to ask permission
 
 
Q