
Push Notification Setup
Sets up push notifications across iOS and Android using Firebase Cloud Messaging and native platform services. You'll use this when building user engagement features, handling real-time alerts, or implementing deep linking from notifications. The guides cover React Native, Flutter, Swift, and Kotlin implementations with token management and refresh handling baked in. The best practices section is actually useful here, the DO/DON'T list around permission handling and avoiding notification spam reflects real production experience. Good coverage of the full notification lifecycle including background handlers and different app states, which is where most implementations break.
- skills.sh installs
- 580
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill push-notification-setup --agent claude-codeInstalls into .claude/skills of the current project.
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);
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Backend & APIs, AI & Agent Building, Cloud & Infrastructure, Mobile Development, Databases
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- Database Schema Documentation576
- App Store Deployment569
- Mobile App Debugging568
- Security Audit Logging568
- Bundle Size Optimization567
- Process Mapping563
- Oauth Implementation558
- Integration Testing557
- Memory Optimization552
- Semantic Versioning552
- Caching Strategy551
- Real Time Features548
- Web Performance Audit548
- Browser Debugging545
- Mobile Offline Support545
- Design System Creation543
- Gcp Cloud Run541
- Code Generation Template537
- Sql Injection Prevention533
- Grpc Service Development532
- Gap Analysis531
- Network Debugging531
- Payment Gateway Integration529
- Progressive Web App529