zello-emergency

Implement Zello emergency mode with Code21 dispatch dual-trigger integration for officer safety.

Updated May 20, 2026
One-click install
npx skills add https://github.com/TechCorp25/kingdom --skill zello-emergency-techcorp25
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: zello-emergency
Source: https://github.com/TechCorp25/kingdom/tree/main/.claude/skills/use-zello/zello-emergency
Command: npx skills add https://github.com/TechCorp25/kingdom --skill zello-emergency-techcorp25

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @zelloptt/react-native-zello-sdk.

What problem does it solve? Officers in the field need a reliable way to signal emergencies with live voice and location streaming to dispatch, while keeping the existing Code21 dispatch workflow intact and avoiding single points of failure. ## Core Features & Use Cases - Emergency Mode Activation: Start and stop Zello emergency sessions that open a priority audio channel, stream officer location, and alert the dispatch console. - Code21 Dual-Trigger Pattern: Fire both Zello emergency and the MAPS API Code21 record simultaneously, with Zello taking priority even if the API call fails. - Emergency Event Handling: Listen for onEmergencyStarted and onEmergencyStopped events in dispatch or supervisor apps to highlight officers on the patrol map. - Use Case: An officer long-presses an emergency button for 3 seconds; the app activates Zello live voice and location streaming to dispatch while posting a Code21 emergency record to the MAPS API, and supervisors see the alert on their console. ## Quick Start Ask the assistant to implement the useZelloEmergency hook that starts a Zello emergency and notifies the MAPS Code21 API endpoint.

Frequently Asked Questions about zello-emergency

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

FAQPage Schema
How do I implement Zello emergency mode in React Native?▼

Call Zello.startEmergency() from the @zelloptt/react-native-zello-sdk to open a priority audio channel with automatic location streaming, and Zello.stopEmergency() to deactivate. Wrap these in a useZelloEmergency hook for reuse across screens.

How to combine Zello emergency with a Code21 dispatch system?▼

Use the dual-trigger pattern: activate Zello emergency first for live voice and location, then POST to the MAPS API /code21/emergency endpoint. The API call is non-blocking, so Zello emergency stays active even if the request fails.

Does Zello emergency work if the backend API call fails?▼

Yes. Zello emergency takes priority and operates independently of the MAPS API. If the Code21 notification request fails, the officer still has live voice and location streaming to dispatch; the error is only logged.

How do I receive Zello emergency events in a dispatch app?▼

Register listeners with Zello.Listener.on for onEmergencyStarted and onEmergencyStopped events. The started event includes the officer contact, which you can use to highlight them on the patrol map and sound an alarm.

What UX pattern prevents accidental emergency button activation?▼

Use a 3-second long-press gesture on a persistently visible button, combined with strong visual, haptic, and audio feedback on activation. Deactivation should be clear but not accidentally triggerable.

When should I use dispatch calls instead of full emergency mode?▼

Use Zello.sendDispatchCall(dispatchChannel) for non-emergency priority communications that request dispatch attention. Reserve full emergency mode for situations requiring live voice, location streaming, and console alerts.