Age Verification API gives only NotDeclared status
M
Mushy Dingo
- https://assetstore.unity.com/packages/tools/integration/essential-kit-lite-for-mobile-tv-sharing-rate-my-app-shortcuts-m-140137 latest version: v3.7.3
- every users on different devices
3.
private void Awake()
{
var options = new RequestInfoForAgeComplianceOptions.Builder()
.AddContentAgeGateRange(0, 10)
.AddContentAgeGateRange(11, 17)
.AddContentAgeGateRange(18, 100)
.Build();
Utilities.RequestInfoForAgeCompliance(options, OnInfoForAgeCompliance);
}
private void OnInfoForAgeCompliance(InfoForAgeCompliance result, Error error)
{
Debug.Log("Received callback for Info for age compliance.");
if (error == null)
{
Debug.Log("UserAgeRange = " + result.UserAgeRange);
Debug.Log("UserAgeRangeDeclarationMethod = " + result.UserAgeRangeDeclarationMethod);
_userIsKid = EvaluateShouldUseKidsAds(result);
Debug.Log("ShouldUseKidsAds = " + _userIsKid);
ageVerified = true;
OnAgeVerified?.Invoke(_userIsKid);
}
else
{
Debug.Log("Error age verification: " + error);
// Fail safe: if age check fails, use restricted ads.
_userIsKid = true;
ageVerified = true;
OnAgeVerified?.Invoke(_userIsKid);
}
}
4.
it's not related to the network/country that's the response from this package api, both ios and android. All devices we tested are from real persons, all have their date of birth correctly mapped into device/store.
Sarah Hum
Thanks for reporting this. That doesn’t sound right if you’re consistently getting NotDeclared.
Could you share a bit more so we can reproduce it?
1) Which Age Verification API or SDK are you using exactly, and what version?
2) Is this happening for every user or only some devices?
3) Can you paste an example of the request you’re sending and the full response you get (feel free to redact any personal info)?
4) Does it behave the same on a different network or country, or only on that device in Romania?
Once we have those details, we can dig in and if we make any updates you’ll be notified here.
M
Mushy Dingo
we implemented it on both ios and android real device with adult user, both responded with NotDeclared status