Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aj-geddes avatar

Push Notification Setup

  • 529 installs
  • 305 repo stars
  • Updated March 4, 2026
  • aj-geddes/useful-ai-prompts

push-notification-setup is a Claude Code skill that scaffolds complete iOS and Android push notification flows with Firebase Cloud Messaging and APNs for developers building React Native engagement features.

About

push-notification-setup is a React Native mobile skill from aj-geddes/useful-ai-prompts that implements end-to-end push notifications for iOS and Android. It covers Firebase Cloud Messaging setup, Apple Push Notification service configuration, in-app notification handling, deep-link payloads, and backend integration patterns. Developers reach for push-notification-setup when adding real-time alerts, re-engagement nudges, or deep-link opens from notification taps rather than wiring FCM and APNs piecemeal from scattered docs. The skill includes quick-start steps, reference guides, and best-practice checklists for permissions, token registration, and foreground versus background delivery behavior on both platforms.

  • Covers Firebase Cloud Messaging and Apple Push Notification service setup
  • Handles permission requests, token management, and refresh listeners
  • Includes deep linking, silent/background notifications, and analytics tracking
  • Provides backend integration patterns for token storage
  • Platform-specific code paths for iOS and Android

Push Notification Setup by the numbers

  • 529 all-time installs (skills.sh)
  • Ranked #299 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill push-notification-setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs529
repo stars305
Last updatedMarch 4, 2026
Repositoryaj-geddes/useful-ai-prompts

How do you set up React Native push notifications?

Quickly scaffold complete push notification flows for React Native apps targeting both iOS and Android.

Who is it for?

React Native developers adding cross-platform push alerts with Firebase and native iOS/Android services.

Skip if: Web-only PWA projects or native Swift/Kotlin apps that do not use React Native.

When should I use this skill?

A developer asks to implement push notifications, FCM, APNs, or notification deep links in a React Native app.

What you get

FCM and APNs configuration, client notification handlers, token registration flow, and backend integration scaffolding.

  • FCM/APNs config steps
  • Client handler scaffolding

Files

SKILL.mdMarkdownGitHub ↗

Push Notification Setup

Table of Contents

Overview

Implement comprehensive push notification systems for iOS and Android applications using Firebase Cloud Messaging and native platform services.

When to Use

  • Sending real-time notifications to users
  • Implementing user engagement features
  • Deep linking from notifications to specific screens
  • Handling silent/background notifications
  • Tracking notification analytics

Quick Start

Minimal working example:

import messaging from "@react-native-firebase/messaging";
import { Platform } from "react-native";

export async function initializeFirebase() {
  try {
    if (Platform.OS === "ios") {
      const permission = await messaging().requestPermission();
      if (permission === messaging.AuthorizationStatus.AUTHORIZED) {
        console.log("iOS notification permission granted");
      }
    }

    const token = await messaging().getToken();
    console.log("FCM Token:", token);
    await saveTokenToBackend(token);

    messaging().onTokenRefresh(async (newToken) => {
      await saveTokenToBackend(newToken);
    });

    messaging().onMessage(async (remoteMessage) => {
      console.log("Notification received:", remoteMessage);
      showLocalNotification(remoteMessage);
    });

// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Firebase Cloud Messaging SetupFirebase Cloud Messaging Setup
iOS Native Setup with SwiftiOS Native Setup with Swift
Android Setup with KotlinAndroid Setup with Kotlin
Flutter ImplementationFlutter Implementation

Best Practices

✅ DO

  • Request permission before sending notifications
  • Implement token refresh handling
  • Use different notification channels by priority
  • Validate tokens regularly
  • Track notification delivery
  • Implement deep linking
  • Handle notifications in all app states
  • Use silent notifications for data sync
  • Store tokens securely on backend
  • Provide user notification preferences
  • Test on real devices

❌ DON'T

  • Send excessive notifications
  • Send without permission
  • Store tokens insecurely
  • Ignore notification failures
  • Send sensitive data in payload
  • Use notifications for spam
  • Forget to handle background notifications
  • Make blocking calls in handlers
  • Send duplicate notifications
  • Ignore user preferences

Related skills

FAQ

Which platforms does push-notification-setup cover?

push-notification-setup covers iOS and Android React Native apps using Firebase Cloud Messaging and Apple Push Notification service, including handlers, permissions, and backend integration.

What notification features does push-notification-setup include?

push-notification-setup includes real-time alerts, user engagement flows, deep-link handling from notification taps, token registration, and foreground versus background delivery patterns.

Mobile Developmentintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.