Subscribe to:
💬 Telegram https://t.me/frezycode
🚀 Exclusive content on Boosty https://boosty.to/frezycode
👨💻 Tons of code on GitHub https://github.com/Frezyx
📸 Instagram / frezycode
Code from the video
https://github.com/Frezyx/rhymer
We're writing a book on Flutter:
📖 Learn more about the book https://t.me/frezycode/354
💻 Stepik course https://stepik.org/a/197817/pay?promo...
Flutter Firebase Documentation
https://firebase.flutter.dev/docs/mes...
Any mobile app faces challenges at some point in its development. The need for a simple way to communicate with users. Tell them about a new promotion, remind them about an app update, remind them to drink water. And if the app has a chat... then notifications are essential from day one of the project's launch.
In this video, I'll show you how to set up push notifications in a Flutter app using Firebase Cloud Messaging, completely free for your business. I'll also cover the different notification modes—running, minimized, and disabled.
Intrigued yet? Enjoy!
00:00 - Introduction
00:14 - About new videos on YouTube
00:47 - Introduction to Firebase Cloud Messaging
01:57 - Creating a Firebase Project
02:23 - Firebase Console, where to send from
02:48 - Integrating a Firebase Project
09:16 - Integrating the firebase_messaging Package
10:13 - Obtaining an FCM Token in the App
13:09 - Sending the First Push Notification
14:53 - Foreground, Terminate, and Background Notification Modes
15:45 - Notification to a Disabled App
16:42 - Configuring Foreground Notifications
17:50 - Local Notifications
19:02 - The flutter_local_notifications Package
20:44 - Listening for Notifications in the onMessage Method
22:11 - Configuring the Display of a Local Notification
24:01 - Testing Foreground Push
24:30 - Configuring AndroindManifest.xml
25:34 - Changing the notification icon
26:39 - Testing the notification in an open app
27:03 - About setting up for iOS
27:54 - Results and when is the release?