What problem does it solve?
PermissionKit helps developers request and manage parental/guardian approval for communication permissions involving minors, so child-to-contact actions respect communication limits and required consent.
Core Features & Use Cases
- Communication limits checking: Determine whether communication limits are enabled and whether a contact handle is known before prompting.
- Permission question + topic building: Create
PermissionQuestion instances using CommunicationTopic, including person information and permitted communication actions (e.g., message, audio/video calls).
- Permission flow orchestration: Trigger the request via
AskCenter and/or PermissionButton, then asynchronously observe PermissionResponse to enable or restrict the requested behavior.
- Significant app update approvals: Request parental approval for significant update permissions using
SignificantAppUpdateTopic.
Quick Start
Add PermissionKit to your app, create a PermissionQuestion<CommunicationTopic> with the child’s target communication handle and allowed actions, then call AskCenter.shared.ask(... ) from your view controller and handle the resulting PermissionResponse to enable or deny the feature.