Push Notifications Handbook for iOS and Android
Push Notifications Handbook for iOS and Android
About the Book
Dear reader. It is a pleasure to communicate with you and begin this adventure in the world of Push Notifications.
Perhaps many agree with me when considering push notifications as a fantastic mechanism to deliver messages to the user. I think it to be one of the most versatile capabilities that mobile applications have. But let’s be honest, sometimes, during the implementation process of a feature that includes this ability, it can get more complicated than it should, either because the notification is not displayed, or that they suddenly stopped showing, or that they report a very strange bug and difficult to detect.
Thinking about it, I have good news for you, fellow readers. At the end of this book, you will agree with me that Push Notifications are an excellent mechanism to reach the user and that it is not so difficult after all to understand how they work and are implemented. In many cases, the answers are insight in the official documentation, but we get lost when putting all pieces together.
After many work sessions on this topic in mobile applications, I decided to share my knowledge. The two most important operating systems in mobile applications, iOS, and Android, are related. After all, what mobile application nowadays does not use Push Notifications in any of its functionalities?
Surely there will be a considerable percentage that still does not use these capabilities. Still, there is no doubt that it is a matter of time before they need to do so when they notice the multiple advantages they incorporate into an application.
Based on information collected from Firebase Cloud Messaging, Apple, Blogs, eBooks, and implementations in productive projects, I have organized each content so that the reader progressively acquires the fundamental concepts to develop later and implement each of these concepts.
If I can get the reader to include this manual in their reference documents, I feel that I have done my job on this topic.
Also, I encourage the reader to constantly check for updates and improvements in this field that are constantly evolving like the other fields.
I hope, reader friend, that you like this work and not being more, "Let's start!".
Bundles that include this book
Table of Contents
-
Preface
- About this book
- About the source code
- Content development
- Glossary
- Audience
- Questions and contact
- Versions of IDEs and technologies used
- Change log
- Future editions
-
Generalities
- Introduction
- Message types
- Application’s state
- Types of notifications
- Patterns for Push Notifications implementation
-
Push Notifications Implementation
- HTTPS Triggers with FCM and APNS Approach
- HTTPS Triggers with APNS Approach
- HTTPS Triggers with FCM Approach
- Source code
- Project configuration in Firebase
-
iOS APP Configuration in Apple Developer Portal
- Creation of Apple ID of the application
- Token generation for sending messages
-
Integrating APP to Firebase
- Integrating the iOS application
- Integrating the Android application
-
Configuring the APP to receive Push Notifications
- Implementing in iOS
- Implementing in Android
- What happens when the notification is clicked?
-
Creating the Push Notifications Server
- Using Microservice on GCP
-
Testing Tools for Push Notifications
- Using Notification Compose in Firebase
- Using FCM legacy HTTP API, REST, and Postman
- Using PushNotifications Utility App
-
Bonus Extra
- Monitoring of Push Notifications interactions
- Debugging “hooks notifications”
- Frequent questions
-
Changelog
- Revision 1 (06-15-2021)
- Revision 2 (10-14-2021)
- Notes
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them