AgeSignalsStatus enum

Status of the age verification check.

Inheritance
Available extensions

Values

verified → const AgeSignalsStatus

The reported age range starts at or above your highest configured age gate.

Both platforms apply the same rule. Android uses 18 until you supply gates, and a later initialize() that omits them keeps the gates you already set.

Play reports fixed bands (0-12, 13-15, 16-17, 18+) while iOS buckets against your actual gates, so a gate off a band edge quantises upward on Android: with a gate at 15, a 15-year-old is verified on iOS but supervised on Android.

Any tier can reach this, so a self-declared band clears the gate just as an ID-verified one does. Check AgeSignalsResult.ageRangeSource if you need a minimum assurance level.

unknown → const AgeSignalsStatus

User's age could not be determined.

This may occur when:

  • Age signals are not shared (Android; request access first, and note the user may have declined or may still need to verify)
  • Age verification data is not available
  • API is not available in the user's region
declined → const AgeSignalsStatus

User declined to share their age information (iOS only).

On iOS, the user explicitly chose not to share their age range with the app. On Android, a decline surfaces as AgeSignalsAccessStatus.notShared from the access request instead.

supervised → const AgeSignalsStatus

The reported age range falls below your highest configured age gate.

Both platforms apply the same rule. This is the age verdict, not the supervision relationship: any tier can reach it, so read AgeSignalsResult.ageRangeSource to tell a parent-managed account from an unsupervised one.

supervisedApprovalPending → const AgeSignalsStatus

User is supervised and a parent approval is pending (Android only).

On Android, the account is parent-managed and the parent has not yet approved the most recent significant change reported to Google Play (SignificantChangeStatus.pending). Restrict the functionality behind the change until it is approved.

supervisedApprovalDenied → const AgeSignalsStatus

User is supervised and a parent denied approval (Android only).

On Android, the account is parent-managed and the parent declined the most recent significant change (SignificantChangeStatus.declined).

iOS never returns this: DeclaredAgeRange has no denied state, so a guardian decline or consent revocation surfaces as supervised with the user's real age range. The guardian approve/deny signal itself lives in Apple's PermissionKit and App Store Server Notifications, which this plugin does not wrap.

declared → const AgeSignalsStatus

No longer returned. Read AgeSignalsResult.ageRangeSource instead.

This conflated the verdict with how the age was established. A self-declared user is now judged by their age range like any other unsupervised user, so a self-declared adult reports verified with AgeRangeSource.tierA rather than being unable to clear an adult gate at all. Retained so existing switches keep compiling.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AgeSignalsStatus>
A constant List of the values in this enum, in order of their declaration.