-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels