0.6.0
What's Changed
- iOS: Fixed
checkAgeSignals()hanging indefinitely on iOS 26.2+. The plugin no longer gates on Apple'sisEligibleForAgeFeatures(which can hang, and returnsfalsebefore any prompt is accepted); it callsrequestAgeRange()directly, per Apple's guidance.- Breaking: iOS no longer returns
AgeSignalsStatus.unknownfrom the eligibility pre-check. Region eligibility is now reflected byrequestAgeRange()itself.
- Breaking: iOS no longer returns
- Android: Raised
minSdkfrom 21 to 23 (thecom.google.android.play:age-signalsAAR declaresminSdkVersion 23; lower values fail the Gradle manifest merge). - Android: Fixed
useMockData: truereturningAPI_NOT_AVAILABLEwhen Play Services is unavailable; the mock path now runs independently of the real manager. - Android: Mock data can now reproduce the open-ended top bucket (
ageLower=18, ageUpper=null). - Build: Migrated to AGP 9 built-in Kotlin support and raised the minimums to Flutter 3.44 / Dart 3.12. Declared the
FlutterFrameworkdependency inPackage.swift(required by Flutter 3.41+ SPM; removes the build warning). - Docs: Updated regulatory status (Texas SB 2420 in effect under a temporary stay; Brazil, Australia, and Singapore applicable; Utah and Louisiana delayed to 2027), corrected the Android minimum API to 23, clarified
AgeSignalsResultnullability, and documented the iOS 1-3 age-gate limit. - Example: Updated to AGP 9.0.1 and migrated to the UIScene lifecycle.
Full Changelog: 0.5.1...0.6.0