Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

android-notifications

FreeNo executable scriptsNot checked

Integrate Android app notifications using Firebase Cloud Messaging and NotificationCompat. Use when setting up FCM, notification channels, or client-side…

HoangNguyen0403by HoangNguyen0403★ 598 GitHub stars

About this skill

Android Notifications

Priority: P2 (MEDIUM)

Implementation Guidelines

  • Channels: Create NotificationChannel with unique ID (required for API 26+). Notifications without valid channel silently dropped. Use NotificationCompat for backwards compatibility.
  • Permissions: Explicitly request POST_NOTIFICATIONS on Android 13+ (API 33). Avoid requesting system permission on app launch; show priming dialog first to explain benefit.
  • Service: Implement FirebaseMessagingService with onMessageReceived and onNewToken for background push handling. Declare service in AndroidManifest with MESSAGING_EVENT intent action.
  • Flow: Handle notification taps in both onCreate and onNewIntent using PendingIntent. Pass data between activities via Intent extras.
  • Payload: Limit notification payload to essential IDs. Perform background data fetching via WorkManager if more data needed.

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 declared with MESSAGING_EVENT action.

References

Install android-notifications in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

evals/evals.jsonreferences/implementation.md

FAQ

What does the android-notifications skill do?

Integrate Android app notifications using Firebase Cloud Messaging and NotificationCompat. Use when setting up FCM, notification channels, or client-side notification taps; defer Flutter, server sends, WorkManager orchestration, and generic Intent handling.

How do I install the android-notifications skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the android-notifications skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare android-notifications with