Introduction
A Nitro Module wrapping Apple's Declared Age Range API and Google Play's Age Signals API. One JS surface, two platforms — for Texas SB2420, Utah, and Louisiana age-compliance requirements.
Texas SB2420 takes effect January 1, 2026. Utah follows in May, Louisiana in July. Apple and Google roll out their signal APIs on the same schedule — this library is the React Native bridge to both.
Install
npm install react-native-play-age-range-declaration react-native-nitro-modulesQuickstart
Two things to remember: iOS needs setAgeRangeThresholds before anything else, and eligibility is a separate call from the actual request — check first, request when ready.
import {
isEligibleForAppleAgeRangeInAppStore,
getIsConsideredOlderThan,
setAgeRangeThresholds,
} from 'react-native-play-age-range-declaration'
// iOS-only setup — call once, before requesting anything.
// Thresholds must create ranges ≥ 2 years apart.
await setAgeRangeThresholds([13, 16, 18])
// Cross-platform: routes to Apple on iOS, Google Play on Android.
const isAdult = await getIsConsideredOlderThan(18)Before that date, isEligible returns false universally per Apple & Google's rollout schedule. Build against the API now, ship the compliance gate on Jan 1.
Platform requirements
- iOS 26.2+ — Apple's Declared Age Range API
- Android 15+ with Google Play Services — Play Age Signals API
- Also handles Amazon Appstore and Samsung Galaxy Store signals when the app was installed from those stores
Live downloads
Skill for AI agents
Drop this into .claude/skills/ or .cursor/rules/ and your agent knows how to use the library correctly — thresholds, eligibility checks, entitlements, all of it.
skill.txt for react-native-play-age-range-declaration yet.This library is maintained by one person. Sponsors fund the next release — and let issues get triaged the same week.