erkamyaman/ionic-capacitor-skills/ionic-cmp-consent

Claude Code and agent skill by erkamyaman/ionic-capacitor-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install erkamyaman/ionic-capacitor-skills/ionic-cmp-consent

SKILL.md

The same SKILL.md was published earlier as erkamyaman/ionic-capacitor-skills/ionic-cmp-consent.

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

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`. 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

bash
npm install @capacitor-community/admob
npx cap sync

@capacitor-community/admob ships UMP support in the same package — no separate install. See admob.md for the base AdMob skill.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
16
Repository forks
4
7-day trend score
14

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/erkamyaman/ionic-capacitor-skills/ionic-cmp-consent/badge)](https://verified-skill.com/skills/erkamyaman/ionic-capacitor-skills/ionic-cmp-consent)

Something wrong with this skill or its page? Tell us.