Chapter 8. Push notification and in-app purchase—Rock, Paper, Scissors

 

This chapter covers
  • Push notifications with UrbanAirship
  • Setting up in-app purchases
  • Building a simple game

 

Push notification is a way to have a server send a message to a device. The message can include text, a badge number for the specified app’s icon, and an audio file included in the app to play.

If the app isn’t currently running, the user will see the notification and can open the app. If the app is running, a certain method is called with the notification details, which the app is designed to handle.

In-app purchases are facilitated by the app, but supported by the server, which handles the payment processing. The items available for sale within the app are ...

Get iOS in Practice now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.