Skillshub react-native-notifications
Push notifications for React Native using Firebase or Expo Notifications. Use when integrating push notifications with Firebase or Expo in React Native. (triggers: **/*notification*.ts, **/*notification*.tsx, **/App.tsx, Notifications, messaging, FCM, expo-notifications, react-native-firebase)
install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/HoangNguyen0403/agent-skills-standard/react-native-notifications" ~/.claude/skills/comeonoliver-skillshub-react-native-notifications && rm -rf "$T"
manifest:
skills/HoangNguyen0403/agent-skills-standard/react-native-notifications/SKILL.mdsource content
React Native Notifications
Priority: P1 (OPERATIONAL)
Push notifications using React Native Firebase or Expo Notifications.
Guidelines
- Library: Choose
(Bare) or@react-native-firebase/messaging
(Managed).expo-notifications - Setup: Configure Platform channels (Android) and APNs (iOS).
- Lifecycle: Handle Foreground (
), Background (onMessage
), and Quit (onNotificationOpenedApp
) states.getInitialNotification - Permissions: Prime users before requesting system authorization.
Anti-Patterns
- No Unconditional Requests: Spamming permission dialogs leads to high denial rates.
- No Missing Handlers: Forgetting "Quit" state handling results in lost deep links.
- No Unvalidated Data: Blindly trusting payload data causes runtime crashes.
References
See references/implementation.md for FCM setup, APNs config, and lifecycle handlers.