Add support in
expo-age-range
for the Google Play Age Signals testing APIs, specifically
FakeAgeSignalsManager
, so developers outside supported regions can test age-range functionality during development
Little bit Background:- The Android implementation of
expo-age-range
uses the Google Play Age Signals API. However, this API is currently rolled out only in limited regions (e.g., Brazil and some US states like Texas).
Developers in other regions (e.g., "India" in my case) cannot reliably test the API because real age signals are not available.
Google provides an official testing mechanism through
FakeAgeSignalsManager
, which allows apps to simulate responses from the Age Signals API: https://developer.android.com/google/play/age-signals/test-age-signals-api
Just to restate the Problem clearly:-
Currently,
expo-age-range
does not expose a way to use
FakeAgeSignalsManager
. This makes it difficult or impossible for developers in unsupported regions to:
  • Test the behavior of
    requestAgeRangeAsync
  • Validate UX flows for different age thresholds
  • Run automated tests or QA scenarios
So I want the
expo-age-range
package to expose testing utilities from the Android Age Signals API via the Expo module. Note, these would be development only APIs and thus, wont be used in prod app
Extra context on what i am working on: I am only doing expo-age-range implementation for android only for now. I have not explored testing for Declared Age Range framework on iOS as of now.