push-notification-tester
3
总安装量
3
周安装量
#58838
全站排名
安装命令
npx skills add https://github.com/team-telnyx/telnyx-ext-agent-skills --skill push-notification-tester
Agent 安装分布
opencode
3
antigravity
3
claude-code
3
github-copilot
3
windsurf
3
codex
3
Skill 文档
Push Notification Tester
Send test VoIP push notifications to iOS (APNs) and Android (FCM) devices.
iOS (APNs)
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) orproduction--caller-nameâ Display name (default: “Test Caller”)--caller-numberâ Phone number (default: “+1234567890”)
Android (FCM)
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:
{"success": true, "message": "Push notification sent successfully", "details": {...}}
{"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 iOSgoogle-auth-libraryâ Google OAuth for FCMaxiosâ HTTP client for FCM API