Install
$ agentstack add skill-erkamyaman-ionic-capacitor-skills-ionic-cmp-consent ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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.
- Author: erkamyaman
- Source: erkamyaman/ionic-capacitor-skills
- License: MIT
- Homepage: https://www.skills.sh/erkamyaman/ionic-capacitor-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.