Dead Simple Push Notifications

Cloudfive Push Quick Start

Get started in three easy steps with as little as one line of code.

step one

Install the client libraries

Cordova
Android
iOS
Cordova Plugin Homepage
  $ cordova plugin add \
      https://github.com/tenforwardconsulting/cloud-five-push-plugin.git
step two

Register for remote notifications on the client

Cordova
Android
iOS
  // Register for broadcast notifications
  CloudFivePush.register();

  // Pass in a custom user identifier to target specific users
  CloudFivePush.register('user-identifer');
step three

Send a push from your application

Ruby
.NET
Curl
Install the Ruby gem
  CloudFivePush.api_key = "my_api_key"

  # Send a broadcast notification to all your users
  CloudFivePush.broadcast! "Hello from Cloudfive!"

  # Send a notification to just some of your users
  # A single user identifier can be passed in to the notify! method
  CloudFivePush.notify! "Hello from Cloudfive!", 'the-user-identifier'
  # or you can pass in an array of user identifiers
  CloudFivePush.notify! "Hey there!", ['one', 'another', 'the-third']