Migrates Android to Play age-signals 0.0.4, which removed the library's userStatus. Reading age signals is now two calls, and status is derived from the reported age band measured against your highest age gate rather than from the assurance tier.
Thanks to @syntaxticsugr, who did the 0.0.4 migration in #34 and reviewed the merged result in #35.
Breaking
statusnow comes from the reported age band, not the assurance tier. PassageGateson Android too; it uses 18 until you do.AgeSignalsStatus.declaredis deprecated and no longer returned; readageRangeSource == AgeRangeSource.tierAinstead.- Renamed
mostRecentApprovalDatetosignificantChangeApprovalDate, matching the upstream rename. The old name still works as a deprecated alias, andfromMapaccepts the old key. useMockData: truenow throwsMockDataNotAllowedExceptionoutside debuggable builds.AgeSignalsStatusandAgeDeclarationSourcegained values, so exhaustive switches need new cases.
New
requestAgeSignalsAccess(), the first of the two calls. Returnsshared,notSharedorverificationRequired. On iOS it returnsshared, since Apple gathers consent insidecheckAgeSignals().AgeSignalsResult.ageRangeSource(tierA-tierD) andsignificantChangeStatus.
Migrating
See Migrating to 0.8.0 for the before and after, plus notes for 0.6.x and 0.5.x.
Full changelog: 0.7.0...0.8.0