/ionic-capacitor-skills:ionic-cmp-consentfrom ionic-capacitor-skills
Wires Google UMP consent dialog into a Capacitor app for GDPR/IAB TCF v2 compliance, enabling personalized AdMob ads in EU/UK/Switzerland. Run before AdMob.initialize().
Ships in ionic-capacitor-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
AdMob.initialize(). Skipping this means EU users get non-personalized ads at best, no ads at worst.REQUIRED.ionic-attIf 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.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub erkamyaman/ionic-capacitor-skills --plugin ionic-capacitor-skills18 skills in this plugin
/capacitor-foldableBuild Capacitor apps that adapt to foldable devices, iPhone Duo and Android foldables, with @erkamyaman/capacitor-foldable. Trigger when laying out around the crease or fold, reading the hinge angle or posture, using window size classes, polyfilling the Device Posture and Viewport Segments APIs, telling the outer display from the inner one, using rear display or dual screen on an Android foldable, moving an Ionic tab bar where iPhone Duo puts native bars, or testing on the iPhone Duo simulator or a foldable emulator./ionic-analyticsAdd product analytics to an Ionic Capacitor app — Firebase Analytics or PostHog. Trigger when adding event tracking, screen views, funnel analytics, A/B testing, or user behavior tracking to an Ionic mobile app./ionic-angularBuild a production-ready Ionic Capacitor mobile app with Angular standalone components, lazy-loaded routes, services for cross-cutting concerns, and @ngx-translate/core for i18n. Trigger when the user wants to create an Ionic Angular app, scaffold pages (onboarding, paywall, tabs, settings), or wire RevenueCat / AdMob / push notifications into an Angular Ionic project./ionic-app-icon-splashGenerate every iOS and Android app icon and splash screen size from a single source PNG using @capacitor/assets. Trigger when adding app icons, generating splash screens, replacing the default Capacitor icon, or shipping any Ionic Capacitor app to a store (icons are non-optional)./ionic-apple-sign-inAdd "Sign in with Apple" to an Ionic Capacitor app via @capacitor-community/apple-sign-in. Trigger when adding social login on iOS, integrating Apple ID as a sign-in method, or when App Review requires Sign in with Apple alongside other social logins./ionic-attRequest iOS App Tracking Transparency (ATT) permission so AdMob can serve personalized ads on iOS 14+ without App Review rejecting the build. Trigger when adding ATT, IDFA permission, or "iOS personalized ads" to an Ionic Capacitor app.Other plugins' skills for the same job