# Android Notifications

> Push notifications for Android using Firebase Cloud Messaging and NotificationCompat.

- Skill: `fierzone/android-notifications` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add fierzone/android-notifications`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fierzone/android-notifications/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: fierzone (https://skillmd.com/u/fierzone)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/fierzone/android-notifications

---


# Android Notifications

## **Priority: P2 (OPTIONAL)**

Push notifications using Firebase Cloud Messaging.

## Guidelines

- **Service**: Implement `FirebaseMessagingService` for handling background messages.
- **Channels**: Must create `NotificationChannel` for Android 8.0+ compatibility.
- **Permissions**: Request `POST_NOTIFICATIONS` explicitly on Android 13+.
- **Intents**: Handle notification taps in both `onCreate` and `onNewIntent`.
- **Priming**: Show benefit dialog before requesting system permissions.

[Implementation Details](references/implementation.md)

## Anti-Patterns

- **No Missing Channel**: Notifications fail silently without channels on API 26+.
- **No Unconditional Requests**: Don't spam permission dialog on first launch.
- **No Missing Manifest**: Service must be declared with `MESSAGING_EVENT` action.

## Related Topics

android-navigation | android-design-system | mobile-ux-core

