Hi,
Here's my code to use AgeRange:
if (AgeRange.isSupported)
{
var request:AgeRangeRequest = new AgeRangeRequest().setAgeGates(16);
AgeRange.instance.requestAgeRange(
request,
function ( result:AgeRangeResult ):void
{
//send report if denied
},
function ( error:Error ):void
{
trace( "ageRequest ERROR: " + error.message );
}
);
}
else
{
//startGameNormally();
trace("age signals : start normally");
}
Using that code, I'm getting this error on Android in debug mode:
Error #2044: Unhandled error:. text=-1: Age Signals Error: -1
ageRequest ERROR: -1: Age Signals Error: -1
I'm using the latest update of this ANE. Am I missing something?
Hi,
Here's my code to use AgeRange:
Using that code, I'm getting this error on Android in debug mode:
I'm using the latest update of this ANE. Am I missing something?