Complete Guide Flutter Push Notifications with Firebase Cloud Messaging
Complete Guide Firebase Messaging and Local Notification for Flutter. We covered the below topics, firebase messaging setup, send notification from firebase console and send from the device as well.
1. Init firebase
2. Send message from console
3. Receive message
4. Show notification
5. Send notification to specific user
6. Open notification
7. Foreground notification
8. Background notification
9. Redirect user to a new route
10. Get device token
11. Save device token.
1:06 Packages
3:25 Initialize
4:58 Test
5:45 Get device token
9:55 Save token for corresponding user
14:00 Dealing with icon
15:30 Handle remote message
18:56 Cloud messaging
19:34 Test message
ππππππππTake my Udemy course on Real Time Chat App
https://www.udemy.com/course/flutter-firebase-complete-chat-app/?referralCode=689C3231BAA17FEB69CB
πππππππ
Get firebase FCM and Local Notification APK here
https://www.dbestech.com/tutorials/flutter-food-delivery-app-e-commerce-for-ios-and-android
Buy me a coffee
https://www.buymeacoffee.com/dbestech/e/79321
Learn software programming with us step by step. Make money from home by learning programming
Complete e-commerce app
https://youtu.be/7dAt-JMSCVQ
Complete app for beginners
https://youtu.be/71AsYo2q_0Y
Firebase complete study app
https://youtu.be/ZSVnIphlGKI
Complete Gym App
https://youtu.be/1ENQHfNB9gM
Traveling App
https://youtu.be/x4DydJKVvQk
Learn to build an android and iOS app
https://youtu.be/svQOxQde0bg
Learn to build a video player app
https://youtu.be/OXQ5ee6p9ZA
Learn to build a website step by step
https://youtu.be/-nRB83GM-8g
Learn to build an ebook app
https://youtu.be/kTrbcb21ENU
Build an audio app step by step
https://youtu.be/CF3Q7YfvH7Q
Twitter @dbestech
Instagram @dbestech
What's app @dbestech
LinkedIn @dbestech
Buy a Macbook like me as I am using
https://amzn.to/3PsdUHW
Twitter @dbestech
Instagram @dbestech
What's app @dbestech
Timeline
0:25 Send messages to specific user
1:08 Install dependencies
1:30 Created MyApp
1:57 Created MainScreen
2:35 Run the app
3:08 Initialize firebase
3:47 InitState
4:12 Request permission from device
5:40 Get Device Token from Firebase for iOS and Android
7:24 Save Device Token
8:25 Print device token
11:55 Flutter Local Notification Plugins Initialize
13:15 Flutter Local Notification Payload
13:48 About Notification Icon with Custom Icon
15:19 FirebaseMessaging.onMessage.listen