Push Notifications Handbook for iOS and Android
Minimum price
Suggested price

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!".

  • Share this book

  • Categories

    • Computers and Programming
    • Android
    • iOS
    • Cookbooks
  • Feedback

    Email the Author(s)

About the Author

Yair Carreno
Yair Carreno

Yair is a Software Architect specialized in mobile solutions. For more than a decade he has been designing and developing products for different companies in different areas such as finance, entertainment, social.

He likes to teach and share his knowledge in one of his most passionate fields, software design, and development.

Bundles that include this book

Bought separately
Bundle Price

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.

See full terms

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $12 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

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub