Push Notification Setup
Cross-platform push notification setup covering iOS, Android, and React Native via Firebase Cloud Messaging.
- CCM score
- 50 of 100
- skills.sh installs
- 446
- GitHub stars
- 257
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers permission requests, device token retrieval and refresh, and foreground and background message handling
- Includes working code for React Native (
@react-native-firebase/messaging), native iOS (Swift), and Android (KotlinFirebaseMessagingService) - Provides notification channel setup on Android and a checklist covering deep linking, payload contents, and real-device testing
- Designed for mobile teams adding notification capabilities or handling background messages across platforms
Install
$ npx -y skills add secondsky/claude-skills --skill push-notification-setup -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Push Notification Setup
Implement push notifications across mobile and web platforms.
Firebase Cloud Messaging (React Native)
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);
showLocalNotification(message);
});
// Handle background/quit messages
messaging().setBackgroundMessageHandler(async message => {
console.log('Background message:', message);
});
// Handle token refresh
messaging().onTokenRefresh(token => {
sendTokenToServer(token);
});
iOS Native (Swift)
import UserNotifications
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Mobile Apps, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the push-notification-setup skill do?
push-notification-setup implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. It covers requesting permission, handling foreground and background messages, handling token refresh, and setting up notification channels on Android.
How do I install push-notification-setup in my project?
Run npx -y skills add secondsky/claude-skills --skill push-notification-setup -y inside your project. After that, push-notification-setup gives your agent the React Native, Swift and Kotlin patterns for push notifications.
Which Mobile Apps skills sit alongside push-notification-setup?
push-notification-setup sits in the Mobile Apps category, which is led by vercel-react-native-skills, animate-expo, write-swift, firebase-crashlytics and xcode-project-setup. Its own focus is the notification side of a mobile app: permissions, tokens and message handlers.
Does push-notification-setup cover Android notification channels?
Yes, push-notification-setup lists supporting notification channels on Android as a best practice and includes a Kotlin example that builds a notification on a channel. It also shows a FirebaseMessagingService that handles new tokens and incoming messages.
More from secondsky/claude-skills
All 116- Drizzle Orm D1443
- Api Pagination442
- Api Response Optimization442
- Api Filtering Sorting440
- Bun Drizzle Integration440
- Defense In Depth Validation439
- Session Management438
- Bun Runtime437
- Nuxt Production434
- Ultracite434
- Bun Docker433
- Bun Tanstack Start433
- Api Gateway Configuration430
- Nuxt Ui V4430
- Oauth Implementation430
- Bun Test Mocking429
- Health Check Endpoints429
- Bun Test Coverage426
- Mobile Offline Support425
- Nuxt Server425
- Api Changelog Versioning424
- Bun Cloudflare Workers424
- Bun Workers424
- Dependency Upgrade424
Similar to Push Notification Setup
More Mobile Appscapacitor-push-notificationsSkillcapawesome-team/skills1.7K installsSetup guide for FCM push notifications in Capacitor apps via the @capacitor-firebase/messaging plugin, with per-platform configuration.
push-notificationsSkilldpearson2699/swift-ios-skills4.5K installsCover iOS/macOS push notifications end to end: permissions, APNs tokens, payloads, actions, and rich content.
notification-best-practicesSkillknocklabs/skills292 installsGuidance for designing notification systems across email, push, SMS, in-app, and chat channels.
app-store-deploymentSkillsecondsky/claude-skills447 installsStep-by-step iOS and Android store release guide covering archives, signing, versioning, and CI/CD upload.
pushinatorPluginvm0-ai/vm0-skills81 starsPushinator push notification API via curl. Use this skill to send push notifications to mobile devices.