One-click install
npx skills add https://github.com/vertivolatam/monorepo --skill push-notifications-vertivolatam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Push Notifications
Source: https://github.com/vertivolatam/monorepo/tree/main/skills/flutter/push-notifications
Command: npx skills add https://github.com/vertivolatam/monorepo --skill push-notifications-vertivolatam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires firebase_core, firebase_messaging, flutter_local_notifications, permission_handler, timezone, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables your Flutter application to send and receive push notifications, enhancing user engagement and communication.

Core Features & Use Cases

  • Remote Notifications: Integrate with Firebase Cloud Messaging (FCM) for cross-platform push notifications (iOS/Android).
  • Local Notifications: Schedule and display notifications directly from the device.
  • Use Case: Send a user a notification when their order status changes, or remind them about an upcoming appointment.

Quick Start

Implement push notifications using Firebase Cloud Messaging and local notifications.

Frequently Asked Questions about Push Notifications

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up push notifications in Flutter using Firebase Cloud Messaging?

To set up push notifications in Flutter, you need to integrate Firebase Cloud Messaging (FCM) for cross-platform message delivery. This involves configuring firebase_core, firebase_messaging, and platform-specific settings for iOS (APNS) and Android.

How do I handle foreground and background FCM messages in a Flutter app?

Handling FCM messages in a Flutter app requires configuring firebase_messaging to process incoming payloads while the app is open or minimized. The implementation manages message streams and local notification display for background execution.

Do I need APNS configuration to receive remote notifications on iOS with Flutter?

Yes, APNS configuration is required to receive remote notifications on iOS with Flutter. The implementation integrates Firebase Cloud Messaging with Apple Push Notification service to successfully deliver push messages to iOS devices.

How do I schedule local notifications in Flutter?

You schedule local notifications in Flutter using the flutter_local_notifications and timezone dependencies. This allows you to display alerts directly from the device for reminders or status updates without requiring a remote server.

How do I request user permissions for push notifications in Flutter?

Requesting user permissions for push notifications in Flutter is managed using the permission_handler dependency. It allows your application to properly request and check access rights before attempting to display remote or local notifications.

Can I implement deep linking with push notifications in Flutter?

Yes, you can implement deep linking with push notifications in Flutter. The implementation handles incoming FCM payloads to route users directly to specific application screens upon tapping a received notification.