Skip to main content
@capgo/capacitor-android-age-signals Auth & Security Open source

Age Signals Capacitor plugin

Google Play Age Signals API wrapper - detect supervised accounts and verified users

Install

bun add @capgo/capacitor-android-age-signals bunx cap sync
npm, pnpm or yarn
  • npm install @capgo/capacitor-android-age-signals
  • pnpm add @capgo/capacitor-android-age-signals
  • yarn add @capgo/capacitor-android-age-signals

Guide

How to use Age Signals in Capacitor

Test on device

Download the Capgo app, then scan the QR code.

Age Signals plugin preview QR code

Using @capgo/capacitor-android-age-signals

Capacitor interface for retrieving Play Age Signals.

Install

bun add @capgo/capacitor-android-age-signals
bunx cap sync

bunx cap sync copies the plugin's native code into your native projects. Run it again after every plugin upgrade.

Import

import { AgeSignals } from '@capgo/capacitor-android-age-signals';

API at a glance

Method Description
checkAgeSignals Request the current Play Age Signals for the active user.

Examples

checkAgeSignals()

Request the current Play Age Signals for the active user.

import { AgeSignals } from '@capgo/capacitor-android-age-signals';

const result = await AgeSignals.checkAgeSignals();
console.log(result);

Full reference

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

If you are using Using @capgo/capacitor-android-age-signals to plan native plugin work, connect it with Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives, and Capgo Native Builds for the product workflow in Capgo Native Builds.

FAQ

Age Signals plugin FAQ

How do I install the Age Signals plugin in a Capacitor app?

Run "bun add @capgo/capacitor-android-age-signals" (or "npm install @capgo/capacitor-android-age-signals"), then run "bunx cap sync" so the iOS and Android projects pick up the native code. Import it from "@capgo/capacitor-android-age-signals" in your app code.

Does @capgo/capacitor-android-age-signals work with React, Vue and Angular?

Yes. Age Signals is a Capacitor package, so it works with any web framework that runs inside Capacitor, including Ionic, React, Vue, Angular, Svelte and plain JavaScript.

Which Capacitor version does @capgo/capacitor-android-age-signals support?

Capgo plugins follow Capacitor's major version: use the plugin major version that matches your Capacitor major version (for example plugin v8 with Capacitor 8). The compatibility table in the GitHub README lists the maintained versions.

Is @capgo/capacitor-android-age-signals free and open source?

Yes. The source code is public on GitHub at https://github.com/Cap-go/capacitor-android-age-signals/ and the package is free to install from npm. Bug reports and pull requests are welcome.

Can I update code that uses Age Signals without an App Store review?

Installing or upgrading the plugin changes native code, so it needs a new store build. After that, JavaScript, HTML and CSS changes that call the plugin can ship instantly with Capgo live updates.

Ship Age Signals changes without waiting for app review

Once the plugin is in your store build, Capgo live updates push your JavaScript, HTML and CSS changes to users in minutes.

Start with Capgo