Skip to content

@capgo/capacitor-age-range

Read age range signals from Google Play and Apple.

Call requestAgeRange() before showing social, commerce, or UGC features that require age gating.

PlatformSupportNotes
iOSYesDeclared Age Range when available
AndroidYesPlay Age Signals
WebNoUse server side checks
  • requestAgeRange - Request the user’s age range.
MethodDescription
requestAgeRangeRequest the user’s age range.
getPluginVersionGet the native Capacitor plugin version.

This reference is synced from src/definitions.ts in capacitor-age-range.

Keep going from @capgo/capacitor-age-range

Section titled “Keep going from @capgo/capacitor-age-range”

If you are using @capgo/capacitor-age-range to plan store approval and distribution, connect it with Using @capgo/capacitor-age-range for the native capability in Using @capgo/capacitor-age-range, @capgo/capacitor-in-app-review for the implementation detail in @capgo/capacitor-in-app-review, Using @capgo/capacitor-in-app-review for the native capability in Using @capgo/capacitor-in-app-review, @capgo/capacitor-native-market for the implementation detail in @capgo/capacitor-native-market, and Using @capgo/capacitor-native-market for the native capability in Using @capgo/capacitor-native-market.