Рет қаралды 58,884
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
www.udemy.com/...
📕📕📕📕📕📕📕 Complete E-commerce app
• Flutter E-commerce App...
Get firebase FCM and Local Notification APK here
www.dbestech.c...
Buy me a coffee
www.buymeacoff...
Learn software programming with us step by step. Make money from home by learning programming
Complete e-commerce app
• Flutter E-commerce App...
Complete app for beginners
• Flutter 3.10.0 Master ...
Firebase complete study app
• Flutter Firebase Maste...
Complete Gym App
• Flutter Gym App | BloC...
Traveling App
• Flutter Master Class T...
Learn to build an android and iOS app
• Flutter App Developmen...
Learn to build a video player app
• Flutter Video Player T...
Learn to build a website step by step
• Complete Flutter Web A...
Learn to build an ebook app
• Flutter Backend | Flu...
Build an audio app step by step
• Flutter Audio Player T...
Twitter @dbestech
Instagram @dbestech
What's app @dbestech
LinkedIn @dbestech
Buy a Macbook like me as I am using
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