O'Reilly logo

PhoneGap for Enterprise by Kerri Shotts

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Receiving Pushes from Boxcar

Although it might seem counterintuitive to work on the code that listens to Push Notifications before we work on the code to send them, it's really not. Boxcar allows you to send any number of pushes from their dashboard, which means that we can initially focus on receiving pushes before we worry about how to send them.

In order to receive pushes, our app needs to register the device with Boxcar. When we register our device, we can specify what kind of Push Notifications we are interested in using tags. Tags enable us to target pushes to specific consumers without the need to know the specific device information (such as their UUID). Tags are akin to channels, if that helps.

Our demo app just registers for two specific ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required