Chapter 12. Sending Notifications
When building an application, most of the interactions will take place while users are actually inside the app. Users are interacting with user interface elements, and your app can respond to their input in real time.
However, sometimes your app may receive information from a server, or be alerted that some scheduled action is happening while the user isn't inside the app. A lot of times, your app can just process these things the next time the app launches, like when your Facebook feed refreshes when you enter. However, other times the information coming in is time-sensitive, or of higher importance, and you need to let the user know what's going on, even if the app is closed
In these situations, you can send the user a notification. Notifications are presented to the user in many forms, and can provide a handful of ways for the user to respond to the information being presented. In this chapter, we're going to cover:
- Local versus...