Push notifications may seem simple and straightforward at first since almost everyone is familiar with them; however, knowing how and when to use them in practice can prove challenging.
With advancements in the latest iOS releases bringing advanced features, such as rich media notifications, notification actions, grouped notifications and more, you will quickly realize that you need a book to help you out. Well, here’s that book!
You’ll learn everything you need in order to create, send and receive push notifications, meaning notifications that come from an external service, as opposed to locally from the device. You’ll also cover how to handle local notifications because, sometimes you don’t need all the overhead of a remote notification; rather, it’s enough to simply schedule a notification to appear at a specific point in the future or when you enter a specific location.
Since push notifications is such a focused subject, this book is direct and to-the point; instead of wading through 300 pages of theory before getting down to business, the book gets the job done in just over 150 pages. It’s just the information you need, just when you need it.
By the end of this book, you’ll be a master of push notifications and well on your way to implementing them inside your own apps!
Before You Begin
This section tells you a few things you need to know before you get started, such as what you’ll need for hardware and software, where to find the project files for this book, and more.
Delivery of remote push notifications is usually done by a remote server. Learn how to create your very own Vapor-based server to register device tokens and deliver notifications from your own server, as well as some of the optional third-party providers you could use.
Learn how to handle common scenarios relating to push notification such as delivering notification in the foreground, handling user interactions, silent notification, and pre-fetching content in the background when your notification is delivered to the user.
Learn how to modify the push notification payload after it actually arrived at the user's device, letting you manipulate your notifications on-device. Also learn how to share data between your app and your extensions, giving you a way to increment the notification badge from the device.
Sometimes scheduling notifications on the device itself can prove to be the right choice, instead of receiving remote notifications from an external server. Learn how to schedule local notifications on specific times, or on specific locations.
Marin is a Swift and Unity developer who likes to work on cool iOS apps and games, nerd out about programming, learn new things...
Who is this book for
This book is for intermediate iOS developers who already know the basics of iOS,
and who wish to know everything there is to know about push notifications.
It starts with a basic introduction of how notifications work,
with later chapters going much deeper into advanced materials.
Spring Ahead Sale — Save on Everything. All videos. All books. Now 50% off.
Build your mobile development skills and save! The mobile development world moves quickly — make 2021 the year you stand out from the rest. Ultimate book & video subscriptions start at just $149/year for as part of our Spring Ahead sale.