BFUrbanAirship is a Scala library for working with the Urban Airship iOS push notification system.
Scala
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src/main/scala/com/bubblefoundry/bfurbanairship
.gitignore
README.md
build.sbt

README.md

BFUrbanAirship

BFUrbanAirship is a Scala library for the Urban Airship iOS Push Notification API.

Usage

import com.bubblefoundry.bfurbanairship._

val api = new UrbanAirship(app_token, app_secret, app_master_secret, appengine = false)
// schedule a message to be pushed
val message = SimplePushMessage(aps = Some(APS("A push message")))
api.push(message)

// get a Stream of all registered devices
api.devices

Getting the library

Currently you'll need to checkout the source code and build it using sbt 0.11.2. sbt publish-local should do the trick.

TODO

  • Use the latest version of sbt
  • Update dependencies
  • Clean up the code
  • Maybe support the other UA push APIs using a common interface

License

This code is released under the MIT License.