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.
92
89%
Does it follow best practices?
Impact
98%
1.15xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
React Native FCM setup
Correct FCM package
100%
100%
requestPermission() called
100%
100%
AuthorizationStatus check
100%
100%
getToken() for device token
100%
100%
sendTokenToServer on grant
100%
100%
onMessage foreground handler
100%
100%
showLocalNotification called
100%
100%
Background message handler
100%
100%
onTokenRefresh handler
100%
100%
Token refresh re-registers
100%
100%
Android FCM service
Extends FirebaseMessagingService
100%
100%
onNewToken override
100%
100%
sendTokenToServer in onNewToken
100%
100%
onMessageReceived override
100%
100%
Safe notification access
100%
100%
NotificationCompat.Builder used
100%
100%
Channel ID 'default'
0%
100%
Small icon set
100%
50%
NotificationManagerCompat used
0%
100%
notify() call with ID 0
0%
100%
iOS push notification setup
UserNotifications imported
100%
100%
UNUserNotificationCenter used
100%
100%
All three options present
100%
100%
DispatchQueue.main.async wraps registration
100%
100%
Registers only when granted
100%
100%
didRegisterForRemoteNotifications implemented
100%
100%
Correct token hex format
0%
100%
sendTokenToServer called
100%
100%
No sensitive data in payload
100%
100%
90d6bd7
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.