When switching a device from a Parent Apple Account to a Child Apple Account using the "Keep Data" option, the system-level Declared Age Range prompt fails to render. Instead of presenting the onboarding flow to the user, the system immediately throws AgeRangeError Code=2 (AgeRangeService.Error.notAvailable
Indicates the system was unable to share the person’s age range). This causes the app to bypass the intended age verification and log the child in directly.
Steps to Reproduce:
Sign in to a verified Parent Apple Account on the device and log in to the PTT app.
Sign out of the Parent Apple Account in device Settings, ensuring the "Keep Data" option is selected.
Sign in to a Child Apple Account on the same device, selecting "Keep Data" (Sign in and Merge data).
Open the existing PTT app.
Expected Behavior:
The OS should present the system-level Age Range onboarding prompt to the new child user so the age range can be properly verified or shared.