Registry / messaging / apns
library1.0.0rbrubygemsunverified

Simple Apple push notification service gem for sending push notifications to iOS devices.

gem install apns
INSTALL
IMPORT
SIG · APNS
A
apns
messagingrubyv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

APNS
require 'apns'

Sends a push notification to an iOS device via Apple Push Notification service.

require 'apns' APNS.pem = '/path/to/cert.pem' APNS.send_notification('device_token', alert: 'Hello!')
Debug
Known issues
breakingDeprecated Apple Push Notification protocol; use APNs via HTTP/2 instead.
fix
Migrate to a gem that supports the newer HTTP/2-based APNs API.
affects: >= 1.0.0
Upgrade
Version history
1.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
36
OpenAI (training)
2
Resources