Skip to content
Back to skills

Push Notification Tester

ASecurity

Test VoIP push notifications for Telnyx WebRTC iOS (APNs) and Android (FCM) apps. Use when debugging push notification delivery, validating certificate/credential setup, or testing that a device receives VoIP pushes correctly.

  • 220 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
data-aigobashnodetestingdebuggingapi

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 4 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add team-telnyx/ai --skill push-notification-tester --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Push Notification Tester?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Push Notification Tester
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/team-telnyx-push-notification-tester/badge)](https://www.skillsdirectory.com/skills/team-telnyx-push-notification-tester)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: push-notification-tester
description: >-
  Test VoIP push notifications for Telnyx WebRTC iOS (APNs) and Android (FCM) apps.
  Use when debugging push notification delivery, validating certificate/credential setup,
  or testing that a device receives VoIP pushes correctly.
metadata:
  author: telnyx
  product: webrtc
---

# Push Notification Tester

Send test VoIP push notifications to iOS (APNs) and Android (FCM) devices.

## iOS (APNs)

```bash
node {baseDir}/scripts/send-ios-push.js \
  --token=<device_token> \
  --bundle-id=<bundle_id> \
  --cert=<path/to/cert.pem> \
  --key=<path/to/key.pem> \
  [--env=sandbox|production] \
  [--caller-name="Test Caller"] \
  [--caller-number="+1234567890"]
```

### Required args
- `--token` — 64-char hex APNs device token
- `--bundle-id` — App bundle ID (e.g. `com.telnyx.webrtc`)
- `--cert` — Path to certificate PEM file
- `--key` — Path to private key PEM file

### Optional args
- `--env` — `sandbox` (default) or `production`
- `--caller-name` — Display name (default: "Test Caller")
- `--caller-number` — Phone number (default: "+1234567890")

## Android (FCM)

```bash
node {baseDir}/scripts/send-android-push.js \
  --token=<fcm_token> \
  --project-id=<firebase_project_id> \
  --service-account=<path/to/service-account.json> \
  [--caller-name="Test Caller"] \
  [--caller-number="+1234567890"]
```

### Required args
- `--token` — FCM device token
- `--project-id` — Firebase project ID
- `--service-account` — Path to service account JSON file

### Optional args
- `--caller-name` — Display name (default: "Test Caller")
- `--caller-number` — Phone number (default: "+1234567890")

## Output

Both scripts output JSON to stdout:
```json
{"success": true, "message": "Push notification sent successfully", "details": {...}}
```
```json
{"success": false, "error": "Description of what went wrong"}
```

Exit code 0 on success, 1 on failure.

## Dependencies

Run `npm install` in the `scripts/` directory, or the scripts will auto-install on first run.

- `@parse/node-apn` — APNs client for iOS
- `google-auth-library` — Google OAuth for FCM
- `axios` — HTTP client for FCM API

Files in this skill

  • SKILL.md2.1 KB
  • scripts/package.json295 B
  • scripts/send-android-push.js3.2 KB
  • scripts/send-ios-push.js3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.