ionic-local-notifications
Schedule local (on-device) notifications via @capacitor/local-notifications — reminders, daily prompts, post-action follow-ups. Trigger when adding scheduled reminders, drink-water-style daily nudges, or any notification fired by the app itself rather than a server. Distinct from push notifications.
How do I install this agent skill?
npx skills add https://github.com/erkamyaman/ionic-capacitor-skills --skill ionic-local-notificationsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides standard implementation patterns for mobile local notifications using the official Capacitor plugin. It contains no malicious code, obfuscation, or risky network operations.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Local Notifications
Notifications scheduled and fired by the device, not by a backend. Use cases: daily reminders, follow-up prompts after onboarding, post-purchase nudges, inactivity reminders.
For server-sent notifications (FCM / APNs), see ../ionic-shared/references/push-notifications.md. The two plugins are independent and can be used together.
When to consult
- Setup, permissions, scheduling: setup-and-scheduling.md
- Patterns (recurring, channels, action handling): patterns.md
Hard rules
- ✅ Request permission when the user opts in to a feature that uses notifications, not on app launch.
- ✅ Always set a unique numeric
idper notification — sameidoverwrites the previous one. - ✅ On Android 13+ the OS auto-prompts for
POST_NOTIFICATIONSthe first time you schedule. - ❌ Don't schedule more than ~64 simultaneous notifications on iOS — the OS silently drops the rest.
- ❌ Don't rely on local notifications for time-critical delivery — they can be delayed by the OS for power management. Push is for "this must arrive."
Library
npm install @capacitor/local-notifications
npx cap sync
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/erkamyaman/ionic-capacitor-skills/ionic-local-notifications">View ionic-local-notifications on skillZs</a>