push-notification-setup

Solid

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.

Web & Frontend 162 stars 25 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
74
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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); 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) ```swift import UserNotifications func requestAuthorization() { UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in if granted { DispatchQueue.main.async { UIApplication.shared.registerForRemoteNotifications() } } } } func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { let token = deviceToken.map { String(format: "%02.2hhx", $0) }.joined() sendTokenToServer(token) } ``` ## Android (Kotlin) ```kotli...

Details

Author
secondsky
Repository
secondsky/claude-skills
Created
6 months ago
Last Updated
2 weeks ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

push-notifications

Implement, review, or debug push notifications in iOS/macOS apps — local notifications, remote (APNs) notifications, rich notifications, notification actions, silent pushes, and notification service/content extensions. Use when working with UNUserNotificationCenter, registering for remote notifications, handling notification payloads, setting up notification categories and actions, creating rich notification content, or debugging notification delivery. Also use when working with alerts, badges, sounds, background pushes, or user notification permissions in Swift apps.

661 Updated 4 days ago
dpearson2699
AI & Automation Listed

android-notifications-push

Push notification and local notification patterns for Android - FCM setup, FirebaseMessagingService, notification channels, NotificationCompat.Builder, deep-link on tap via PendingIntent and NavDeepLinkBuilder, foreground vs background delivery, POST_NOTIFICATIONS permission on Android 13+, data-only vs notification messages, grouping, and badges. Use this skill whenever adding push notifications, configuring Firebase Cloud Messaging, showing local notifications, handling notification taps, or creating notification channels. Trigger on phrases like "push notification", "FCM", "Firebase messaging", "notification channel", "local notification", "notification tap", "POST_NOTIFICATIONS", "data message", or "notification badge".

1 Updated today
lenorebreakneck630
AI & Automation Solid

push-notifications

Multi-platform push notification skill for implementing APNs (iOS), FCM (Android), and cross-platform notification systems with rich media, deep linking, and background processing capabilities.

1,160 Updated today
a5c-ai
API & Backend Listed

firebase-in-app-messaging

Integrates Firebase In-App Messaging into Flutter apps. Use when setting up in-app messaging, triggering or suppressing messages, managing user privacy and opt-in data collection, or testing campaigns.

0 Updated 2 months ago
hnvcam
API & Backend Solid

firebase-in-app-messaging

Integrates Firebase In-App Messaging into Flutter apps. Use when setting up in-app messaging, triggering or suppressing messages, managing user privacy and opt-in data collection, or testing campaigns.

565 Updated 4 weeks ago
evanca