Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Firebase Cookbook

You're reading from   Firebase Cookbook Over 70 recipes to help you create real-time web and mobile applications with Firebase

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781788296335
Length 288 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Houssem Yahiaoui Houssem Yahiaoui
Author Profile Icon Houssem Yahiaoui
Houssem Yahiaoui
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Firebase - Getting Started FREE CHAPTER 2. Firebase Real-Time Database 3. File Management with Firebase Storage 4. Firebase Authentication 5. Securing Application Flow with Firebase Rules 6. Progressive Applications Powered by Firebase 7. Firebase Admin SDK 8. Extend Firebase with Cloud Functions 9. We’re Done, Let’s Deploy 10. Integrating Firebase with NativeScript 11. Integrating Firebase with Android/iOS Natively 12. Hack Application's Growth 13. Adding Analytics and Maximizing Earnings 14. Firebase Cloud FireStore

Implementing notification sending

In Chapter 6, Progressive Applications powered by Firebase, we introduced how we can integrate the old FCM utility within our NodeJS server. Now the Firebase SDK provides us with more diverse methods to send push notification messages; plus, it plays nicely with other services, so let's see how we can send push notifications directly to our users using nothing but the Firebase Admin SDK.

How to do it...

In order to send push notification messages to users, we need to have their registration_token; such a token is grabbed from the user browser side, whether it's mobile or desktop. Google Chrome and Mozilla Firefox support this functionality, and at the time of writing this book, Safari...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime