shiny-push

Register and manage push notifications in MAUI apps with Shiny.Push.

152|15|Updated Oct 6, 2022
One-click install
npx skills add https://github.com/shinyorg/templates --skill shiny-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shiny-push
Source: https://github.com/shinyorg/templates/tree/main/ProjectTemplates/ShinyApp/skills/shiny-push
Command: npx skills add https://github.com/shinyorg/templates --skill shiny-push

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a guided approach to implementing push notifications in .NET MAUI applications using Shiny.Push, covering registration, event handling, and cross-provider support.

Core Features & Use Cases

  • Native push integration for iOS and Android via Shiny.Push
  • Azure Notification Hubs integration with optional installation events
  • Flexible event handling through IPushDelegate and optional PushInstallationEvent
  • Real-world use case: register at startup and respond to OnEntry to navigate users

Quick Start

Add a push delegate during MAUI startup to register for notifications and implement OnReceived and OnEntry handlers.

Frequently Asked Questions about shiny-push

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

FAQPage Schema
How do I implement push notifications in .NET MAUI using Shiny?

To implement push notifications in .NET MAUI, use Shiny.Push to configure DI with AddPush and implement IPushDelegate to handle registration and incoming notifications across iOS and Android.

Can I use Azure Notification Hubs with MAUI push notifications?

Yes, Azure Notification Hubs is supported natively for MAUI push notifications. You can integrate it alongside Shiny.Push to manage installations and trigger optional PushInstallationEvent callbacks.

What is IPushDelegate and how does it handle push notification events?

IPushDelegate is an interface for managing push notification events in MAUI. By implementing its OnReceived and OnEntry methods, you can process incoming payloads and navigate users when they tap notifications.

Does Shiny.Push support both iOS and Android for cross-platform MAUI notifications?

Shiny.Push supports both iOS and Android for cross-platform MAUI push notifications. It handles native registration and event routing through a unified IPushDelegate implementation registered via AddPush.

How do I register for push notifications at MAUI startup?

To register for push notifications at MAUI startup, add the push delegate to your startup configuration using AddPush. This initializes Shiny.Push services and triggers the registration process for native iOS and Android tokens.