/push-notification-setup
Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Use when adding notification capabilities, handling background messages, or setting up notification channels.
One skill from claude-skills.
shell
$ npx -y skills add secondsky/claude-skills --skill push-notification-setup --agent claude-codeInstalls just this skill. Get the whole plugin for auto-invocation.
How it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/push-notification-setup
Context preview
The summary Claude sees to decide when to auto-load this skill.
Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Use when adding notification capabilities, handling background messages, or setting up notification channels.
Stats
Stars194
Forks29
LanguageTypeScript
LicenseMIT
Ships with claude-skills
SKILL.md
push-notification-setup.SKILL.md
--- name: push-notification-setup description: Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Use when adding notification capabilities, handling background messages, or setting up notification channels. metadata: keywords: "push notifications, FCM, Firebase Cloud Messaging, iOS notifications, Android notifications, web notifications, React Native notifications, notification permissions, background messages, notification channels, APNS, APNs, notification tokens, remote notifications, foreground notifications, notification handlers" license: MIT --- # Push Notification Setup Implement push notifications across mobile and web platforms. ## Firebase Cloud Messaging (React Native) ```javascript import messaging from '@react-native-firebase/messaging'; // Request permission async function requestPermission() { const status = await messaging().requestPermission(); if (status === messaging.AuthorizationStatus.AUTHORIZED) { const token = await messaging().getToken(); await sendTokenToServer(token); } } // Handle foreground messages messaging().onMessage(async message => { console.log('Foreground message:', message);
