All Projects → calonso → Ruby Push Notifications

calonso / Ruby Push Notifications

Licence: mit
iOS, Android and Windows Phone Push Notifications made easy!!

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Ruby Push Notifications

Avbuild
ffmpeg花式编译. build tool for all platforms: iOS, android, raspberry pi, win32, uwp, linux, macOS etc.
Stars: ✭ 285 (-25.97%)
Mutual labels:  windows-phone
Apprise
Apprise - Push Notifications that work with just about every platform!
Stars: ✭ 4,307 (+1018.7%)
Mutual labels:  push-notifications
Android
An app for creating push notifications for new messages posted to gotify/server.
Stars: ✭ 353 (-8.31%)
Mutual labels:  push-notifications
Docx
a ruby library/gem for interacting with .docx files
Stars: ✭ 288 (-25.19%)
Mutual labels:  rubygem
Firebasepushnotificationplugin
Firebase Push Notification Plugin for Xamarin iOS and Android
Stars: ✭ 307 (-20.26%)
Mutual labels:  push-notifications
Clearance
Rails authentication with email & password.
Stars: ✭ 3,467 (+800.52%)
Mutual labels:  rubygem
Awesome Uwp
Awesome UWP libs
Stars: ✭ 279 (-27.53%)
Mutual labels:  windows-phone
Tty Progressbar
Display a single or multiple progress bars in the terminal.
Stars: ✭ 377 (-2.08%)
Mutual labels:  rubygem
Q42.hueapi
C# helper library to talk to the Philips Hue bridge
Stars: ✭ 323 (-16.1%)
Mutual labels:  windows-phone
Gmscore
Free implementation of Play Services
Stars: ✭ 4,356 (+1031.43%)
Mutual labels:  push-notifications
Ruby Oembed
oEmbed for Ruby
Stars: ✭ 290 (-24.68%)
Mutual labels:  rubygem
Webpush
webpush, Encryption Utilities for Web Push protocol
Stars: ✭ 308 (-20%)
Mutual labels:  push-notifications
Onesignal Website Sdk
OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Stars: ✭ 338 (-12.21%)
Mutual labels:  push-notifications
Webinspector
Ruby gem to inspect completely a web page. It scrapes a given URL, and returns you its meta, links, images more.
Stars: ✭ 288 (-25.19%)
Mutual labels:  rubygem
Asciidoctor
💎 A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.
Stars: ✭ 3,905 (+914.29%)
Mutual labels:  rubygem
Dry Configurable
A simple mixin to make Ruby classes configurable
Stars: ✭ 280 (-27.27%)
Mutual labels:  rubygem
Grouparoo
🦘 The Grouparoo Monorepo - open source customer data sync framework
Stars: ✭ 334 (-13.25%)
Mutual labels:  push-notifications
Gemoji
Emoji images and names.
Stars: ✭ 3,890 (+910.39%)
Mutual labels:  rubygem
Onesignal Ios Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Stars: ✭ 370 (-3.9%)
Mutual labels:  push-notifications
Rpc Websockets
JSON-RPC 2.0 implementation over WebSockets for Node.js and JavaScript/TypeScript
Stars: ✭ 344 (-10.65%)
Mutual labels:  push-notifications

Ruby Push Notifications

Build Status Dependency Status Code Climate Test Coverage Gem Version Join the chat at https://gitter.im/calonso/ruby-push-notifications

iOS, Android and Windows Phone Push Notifications made easy!

Features

  • iOS and Android support
  • Complete error and retry management
  • Easy and intuitive API

Installation

Add this line to your application's Gemfile:

gem 'ruby-push-notifications'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby-push-notifications

Usage

Ruby Push Notifications gem usage is really easy.

  1. After installing, require the gem
  2. Create one or more notifications
  3. Create the corresponding pusher
  4. Push!!
  5. Get feedback

For completely detailed examples:

  1. Apple iOS example
  2. Google Android example (GCM)
  3. Google Android example (FCM)
  4. Windows Phone(MPNS) example
  5. Windows Phone(WNS) example

Pending tasks

Feel free to contribute!!

  • Validate iOS notifications format and max size
  • Validate iOS tokens format
  • Validate GCM registration ids format
  • Validate GCM notifications format and max size
  • Split GCM notifications in parts if more than 1000 destinations are given (currently raising exception)
  • Integrate with APNS Feedback service
  • Validate MPNS notifications format
  • Validate MPNS data
  • Add other platforms (Amazon Fire...)

Contributing

  1. Fork it ( https://github.com/calonso/ruby-push-notifications/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Troubleshooting

If you see "255 Unknown Error" error code

This error code is assigned when the connection to push notification server wasn't successful 255 UNKnown Error code

Checking your connection configuration for example with APNS connection. When your pem file and token are development make sure you configure the pusher for sandbox mode RubyPushNotifications::APNS::APNSPusher.new('the certificate', true))

or when your pem file and token are production you should configure the pusher for production mode (Set the sandbox mode to false when creating your pusher) RubyPushNotifications::APNS::APNSPusher.new('the certificate', false))

Changelog

Refer to the CHANGELOG.md file for detailed changes across versions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].