Rails push notifications for mobile platforms
open sourceMITself-hostablefree
Action Push Native is a Rails gem that sends push notifications straight to Apple's APNs and Google's FCM, over persistent HTTP/2 connections to Apple. A generator installs a notification model, a job and device records; notifications are sent asynchronously through Active Job, can carry custom data or platform payloads or be silent, and devices can be linked to any record, with instrumentation and structured errors. 37signals built it to leave Amazon SNS and Pinpoint, and uses it in Basecamp and HEY for more than 10 million notifications a day.
Problems it solves
- send iOS and Android push notifications from our Rails app without a third-party service
- move our mobile push notifications off Amazon SNS or Pinpoint
- send silent push notifications that update the app in the background
- keep track of each user's devices and push to all of them
- push to several mobile apps from one Rails backend
Features
- APNs (Apple) and FCM (Google)
- HTTP/2 persistent connections to APNs
- asynchronous delivery through Active Job
- custom data and platform payloads
- silent notifications
- devices linked to any record
- several apps
- before_delivery callback, instrumentation and structured errors
Alternatives
The same job
These do what Action Push Native does.
- OneSignal Autonomous lifecycle marketing to onboard, engage, and retain users
