AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ionic Cmp Consent

skill-erkamyaman-ionic-capacitor-skills-ionic-cmp-consent · by erkamyaman

Wire Google's User Messaging Platform (UMP) consent dialog into a Capacitor app so AdMob can serve personalized ads in EU/UK/Switzerland without the account being throttled or flagged. Trigger when adding GDPR consent, IAB TCF dialog, or "consent before AdMob" to an Ionic Capacitor app.

No reviews yet
0 installs
32 views
0.0% view→install

Install

$ agentstack add skill-erkamyaman-ionic-capacitor-skills-ionic-cmp-consent

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-erkamyaman-ionic-capacitor-skills-ionic-cmp-consent)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ionic Cmp Consent? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Google UMP Consent (GDPR / IAB TCF v2)

Without a CMP, Google AdMob serves only non-personalized ads to EU/UK/Switzerland traffic — and may eventually disable serving entirely for non-compliant apps. UMP is Google's free CMP and integrates directly with @capacitor-community/admob.

When to consult

  • Configure UMP in AdMob console: [setup.md](references/setup.md)
  • Show the consent form before initializing AdMob: [consent-flow.md](references/consent-flow.md)
  • Per-framework integration snippets: [framework-snippets.md](references/framework-snippets.md)

Hard rules

  • ✅ Run the consent flow before AdMob.initialize(). Skipping this means EU users get non-personalized ads at best, no ads at worst.
  • ✅ Show a "Privacy options" entry in Settings so users can change consent later — required by IAB TCF.
  • ❌ Do not show the form on every launch. Cache the consent status; only show when status is REQUIRED.

Pairs with ionic-att

If the app ships to iOS and serves AdMob personalized ads, you also need iOS App Tracking Transparency — see [../ionic-att/SKILL.md](../ionic-att/SKILL.md). The required full sequence is:

ATT.requestPermission()       (iOS only — do this first)
  ↓
gatherConsent() (UMP)         (this skill)
  ↓
AdMob.initialize()
  ↓
showBannerAd()                (only if not premium)

Both flows fire after onboarding completes, not on first launch — Apple rejects apps that prompt for ATT before the user has a chance to understand why.

Library

npm install @capacitor-community/admob
npx cap sync

@capacitor-community/admob ships UMP support in the same package — no separate install. See [admob.md](../ionic-shared/references/admob.md) for the base AdMob skill.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.