Skip to content
aj-geddes avatar

Push Notification Setup

Cross-platform push notification setup covering Firebase Cloud Messaging, APNs, and backend token handling.

CCM score
39 of 100
skills.sh installs
582
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers iOS and Android push flows: permission requests, token retrieval and refresh, foreground and background message handling
  • Includes Firebase Cloud Messaging, native iOS (Swift), native Android (Kotlin), and Flutter implementation guides in references/
  • Enforces permission-first sending, secure backend token storage, and no sensitive data in payloads
  • Designed for mobile teams adding real-time notifications, silent data sync, and deep linking from notifications

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill push-notification-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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);

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Mobile Apps, Backend & APIs
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Similar to Push Notification Setup

More Mobile Apps