Skip to content

@capgo/capacitor-android-age-signals

Capacitor interface for retrieving Play Age Signals.

Capacitor interface for retrieving Play Age Signals.

  • checkAgeSignals - Request the current Play Age Signals for the active user.
MethodDescription
checkAgeSignalsRequest the current Play Age Signals for the active user.
getPluginVersionGet the native Capacitor plugin version.

Use these error codes to decide whether to retry, prompt the user to update Google Play components, or treat the device as unsupported.

ValueMeaning
API_NOT_AVAILABLEPlay Age Signals API is not available, often because the Play Store is outdated.
PLAY_STORE_NOT_FOUNDGoogle Play Store is not installed on the device.
NETWORK_ERRORNetwork connection failed while requesting the signal.
PLAY_SERVICES_NOT_FOUNDGoogle Play services are missing or unavailable.
CANNOT_BIND_TO_SERVICEThe plugin could not bind to the Play Store service.
PLAY_STORE_VERSION_OUTDATEDGoogle Play Store must be updated.
PLAY_SERVICES_VERSION_OUTDATEDGoogle Play services must be updated.
CLIENT_TRANSIENT_ERRORTemporary client-side device error; retry may succeed.
APP_NOT_OWNEDThe app was not installed through Google Play.
INTERNAL_ERRORUnknown internal error from the API.

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

Keep going from @capgo/capacitor-android-age-signals

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

If you are using @capgo/capacitor-android-age-signals to plan store approval and distribution, connect it with @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, Using @capgo/capacitor-native-market for the native capability in Using @capgo/capacitor-native-market, and Capacitor OTA Updates: App Store Approval Guide for the practical context in Capacitor OTA Updates: App Store Approval Guide.