Age declaration not working when using Sandbox account with TestFlight builds

Hello I'm using this sdk DeclaredAgeRange to get the user age range When I'm doing in debug mode using sandbox account it is working as expected and I can get the user age range

But when I tried in TestFlight build using sandbox account it is not working and it is always return the age range 18+ and also isEligibleForAgeFeatures API is always returning false

Any advise on this?

+1 to this. Would like to see a response here.

@johnsmithnew Did you find a path forward here? Were you able to see the Declared Age Range API respect your Sandbox age assurance settings in TestFlight?

I think this is because TestFlight disables certain sandbox flags for regulatory features. Apple might treat TestFlight builds as production like for some entitlements.

Age declaration not working when using Sandbox account with TestFlight builds
 
 
Q