@capgo/capacitor-android-age-signals
Overview
Section titled “Overview”Capacitor interface for retrieving Play Age Signals.
Core Capabilities
Section titled “Core Capabilities”checkAgeSignals- Request the current Play Age Signals for the active user.
Public API
Section titled “Public API”| Method | Description |
|---|---|
checkAgeSignals | Request the current Play Age Signals for the active user. |
getPluginVersion | Get the native Capacitor plugin version. |
Reference Values
Section titled “Reference Values”Use these error codes to decide whether to retry, prompt the user to update Google Play components, or treat the device as unsupported.
Error Codes
Section titled “Error Codes”| Value | Meaning |
|---|---|
API_NOT_AVAILABLE | Play Age Signals API is not available, often because the Play Store is outdated. |
PLAY_STORE_NOT_FOUND | Google Play Store is not installed on the device. |
NETWORK_ERROR | Network connection failed while requesting the signal. |
PLAY_SERVICES_NOT_FOUND | Google Play services are missing or unavailable. |
CANNOT_BIND_TO_SERVICE | The plugin could not bind to the Play Store service. |
PLAY_STORE_VERSION_OUTDATED | Google Play Store must be updated. |
PLAY_SERVICES_VERSION_OUTDATED | Google Play services must be updated. |
CLIENT_TRANSIENT_ERROR | Temporary client-side device error; retry may succeed. |
APP_NOT_OWNED | The app was not installed through Google Play. |
INTERNAL_ERROR | Unknown internal error from the API. |
Source Of Truth
Section titled “Source Of Truth”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.