0.7.0
What's Changed
- iOS: Added
getRequiredRegulatoryFeatures()(iOS 26.4+), which reports whether Apple requires the current user to share an age range and whether significant-change notification or parental consent applies (#31). Calls are guarded by a 10-second deadline. ThrowsUnsupportedPlatformExceptionbelow iOS 26.4 (and in apps built with an SDK older than iOS 26.4) so an empty set always means Apple affirmatively reports nothing is required; on Android the set is always empty. - iOS: Added
showSignificantUpdateAcknowledgment(updateDescription:), the system sheet for significant app changes (iOS 26.4+). ThrowsUnsupportedPlatformExceptionwhere unavailable instead of silently succeeding. - iOS:
AgeSignalsResultnow includesactiveParentalControls. - Android:
AgeSignalsResultnow includesmostRecentApprovalDate; mockable viaAgeSignalsMockData. - iOS:
checkAgeSignals()now reportsApiNotAvailableExceptionwhen Apple says age range sharing is unavailable for the user or region. Earlier versions misreported that state asMissingEntitlementExceptioneven on correctly entitled apps. - iOS:
PRESENTATION_CONTEXT_UNAVAILABLEerrors now surface asApiErrorExceptioninstead of the baseAgeSignalsException. - Docs: Documented Apple's rule that age gates must be at least 2 years apart.
- Example: The iOS example now wires
Runner.entitlementsinto signing viaCODE_SIGN_ENTITLEMENTS(it was previously never applied) and adds buttons for the regulatory features API.
Full Changelog: 0.6.2...0.7.0