cap-go avatar

Capacitor Push Notifications

This walks you through the full push notification setup for Capacitor apps on both iOS and Android. You get the FCM and APNs configuration steps, Firebase project setup with the actual gradle and podfile changes you need, and code for handling registration, incoming notifications, and user taps. It covers the practical stuff like creating Android notification channels, subscribing to topics, and sending notifications via Firebase Admin SDK. The iOS APNs key setup instructions are clear, which is helpful since that flow trips people up. If you're adding push to a Capacitor app and don't want to piece together the platform-specific config from multiple sources, this consolidates it well.

skills.sh installs
1.2K
GitHub stars
77
last updated
Aug 21, 2026

Install

$ npx -y skills add cap-go/capgo-skills --skill capacitor-push-notifications --agent claude-code

Installs into .claude/skills of the current project.

Files

Push Notifications in Capacitor

When to Use

TRIGGER when:

  • Adding remote push (FCM / APNs) to a Capacitor app
  • registration / registrationError never fire, or the token works on one platform only
  • iOS token is a 64-hex APNs token but the backend expects an FCM token
  • Notifications arrive in background but not in foreground (or vice versa)
  • Android 13+ shows no prompt and nothing is delivered
  • Upgrading to Capacitor 8.5 (UIScene) or 9 (alert presentation option removed)

Do not use:

  • Opening the app from https:// / myapp:// links: capacitor-deep-linking
  • Moving AppDelegate code to SceneDelegate: capacitor-uiscene-migration
  • Device log capture: ios-android-logs
  • Choosing other native plugins: capacitor-plugins

Choose the plugin first (ask the user if unclear)

Sponsors

Details

Repository
github.com/cap-go/capgo-skills
Categories
Backend & APIs, Documentation, Cloud & Infrastructure, Mobile Development, Databases
First seen
Jun 3, 2026

More from cap-go/capgo-skills

All 41
1kostja94 avatarindexnowkostja94/marketing-skillsWhen the user wants to implement IndexNow, notify search engines of new/updated URLs, or speed up Bing indexing. Also use when the user mentions "IndexNow," "Bi1.2Kskills.sh installs
2vtex avatarvtex-io-observability-and-opsvtex/skillsApply when making VTEX IO services easier to observe, troubleshoot, and operate in production. Covers metrics, structured logging, failure visibility, rate-limi1.2Kskills.sh installs
3anivar avatarzodanivar/zod-skillZod v4 best practices, patterns, and API guidance for schema validation, parsing, error handling, and type inference in TypeScript applications. Covers safePars1.1Kskills.sh installs
4nexscope-ai avatarwarehouse-optimizationnexscope-ai/ecommerce-skillsE-commerce warehouse and inventory optimization advisor. Analyzes inventory health, calculates safety stock and reorder points, performs ABC analysis, evaluates1.1Kskills.sh installs
5nvidia avatarjetson-speculative-decodingnvidia/skillsAdd EAGLE-3 or draft-model speculative decoding to a Jetson vLLM server when TPOT is the bottleneck.1.1Kskills.sh installs
6kostja94 avatarpricing-page-generatorkostja94/marketing-skillsWhen the user wants to create, optimize, or audit pricing page content and structure. Also use when the user mentions "pricing page," "pricing table," "plans," 1.1Kskills.sh installs