Push Notification with Firebase - From Zero to Hero 8

  Рет қаралды 16,993

Just Code

Just Code

Күн бұрын

Пікірлер: 65
@chiderapaulugwuanyi9843
@chiderapaulugwuanyi9843 2 жыл бұрын
Best push notification on react native with firebase tutuorial I have seen. The tutorial is top notch. Even after two years it has helped me massively to understand push notiification. He absolutely covered every scope.
@k.ganesan1595
@k.ganesan1595 2 жыл бұрын
Thanks for sharing this video and detailed explain for Push notification.. Great Job brother...👌
@vishnups5435
@vishnups5435 2 жыл бұрын
will I be able to schedule a notification from remote so that user can get the notification everyday on a perticular time?
@justcodejs
@justcodejs 2 жыл бұрын
You can do it via Firebase Console or implement it as a service in your oen server.
@Vivek-pandey
@Vivek-pandey Жыл бұрын
i love u sir 100000 times u helped him as i want
@flaviopitica
@flaviopitica 3 жыл бұрын
saved my ass at work. Great job wish you the best
@sherifsamir6888
@sherifsamir6888 2 жыл бұрын
Thank you so much for explaining this in a simple way
@sufiyanhabib4431
@sufiyanhabib4431 2 жыл бұрын
Great tutorial. Worked for me. Thanks a lot
@justcodejs
@justcodejs 2 жыл бұрын
Welcome ☺️
@jeremybradshaw8090
@jeremybradshaw8090 2 жыл бұрын
Useful tutorial thanks
@DaveTradeFx_01
@DaveTradeFx_01 3 жыл бұрын
Thanks for your tutorial. It great
@juanmartinezaviles2527
@juanmartinezaviles2527 3 жыл бұрын
Very well explained. Thank you for this tutorial!
@justcodejs
@justcodejs 3 жыл бұрын
Thanks for your support!
@markoco3068
@markoco3068 3 жыл бұрын
Very informative and detailed. Thank you for this tutorial.
@ivansamoiliuk5451
@ivansamoiliuk5451 2 жыл бұрын
Very big thank you!
@thiagoferraz5362
@thiagoferraz5362 3 жыл бұрын
Thanks for this tutorial, it helped a lot!
@davitgigauri6053
@davitgigauri6053 2 жыл бұрын
thank you very much. With me everything works on both platforms though it does not work on quit state Android
@vanns3592
@vanns3592 3 жыл бұрын
Really good explanation.. 👍👍
@justcodejs
@justcodejs 3 жыл бұрын
Thanks for your support!
@vanns3592
@vanns3592 3 жыл бұрын
I followed all the instructions but I am getting Error Firebase/Unregistered when I call getToken() method. I verify APN, bundleId is same as firebase app name, and firebase automatically created entitlement for apn..
@devina1957
@devina1957 3 жыл бұрын
You saved my day, thank you so much
@justcodejs
@justcodejs 3 жыл бұрын
You are welcome 😁
@trangminh8735
@trangminh8735 2 жыл бұрын
Do you know how to fix the problem that the device receive the fcm too long (after 2 minutes sending from firebase)
@vigneshramasundaram4249
@vigneshramasundaram4249 3 жыл бұрын
Thank you so much for this tutorial , but i have one doubt regarding how to update badge count in app icon in both background and foreground
@justcodejs
@justcodejs 3 жыл бұрын
You can specify the badge count in the message payload but it is tricky.
@oberdansantos-dev716
@oberdansantos-dev716 3 жыл бұрын
Hi! Congrats for the video! I've a question... You're using Admin SDK for send notifications. Can I use my backend / API to do this in React Native?
@justcodejs
@justcodejs 3 жыл бұрын
Yes but you need to follow the firebase rest api interface for push notification. However, I think that using firebase admin sdk is much more easier. The firebase admin sdk also available in different programming language.
@sureshpatidar4000
@sureshpatidar4000 4 жыл бұрын
Very nicely explain. I have one question: How Notification Badge count updated when iOS App running in backgorund & froeground mode.
@justcodejs
@justcodejs 4 жыл бұрын
In V5 of @react-native-firebase/messaging you can set the bade using the setBadge method, however, in V6 this method is deprecated and it is now supported in Notifee module which is a paid version of library. notifee.app/react-native/docs/ios/badges#notifee You also can set the badge number in the message payload when you send the notification to the device.
@sureshpatidar4000
@sureshpatidar4000 4 жыл бұрын
​@@justcodejs Thanks. We don't want to use paid service. We want to update badge count with iOS app icon on the home screen when app in kill, background & foreground mode. We are sending badge number value as 1 in the message payload when sending the notification to the device. But badge count not updated on device with app icon on home screen . Please help us to achieve it.
@justcodejs
@justcodejs 4 жыл бұрын
For quick solution, your app can trigger your server to send a "data" only notification to the device to set the badge number in the payload when the user open the notification via the app.
@sureshpatidar4000
@sureshpatidar4000 4 жыл бұрын
@@justcodejs We don't want to handle it from server. Can we manage in APP using local storage or any other way?
@justcodejs
@justcodejs 4 жыл бұрын
Then you might need to use other notifications npm module that provide the setBadge function.
@oberdansantos-dev716
@oberdansantos-dev716 3 жыл бұрын
Hello, again! :) By Android side, how can I add badges to the application icon ?
@providence1999
@providence1999 3 жыл бұрын
Hi, Great job! Clearly explain this complicated topic. Can you provide the code snippet to save the token to the FCM server? This is a real world usage. instead of just console.log save the device token to the FCM server for sending future notification. Thanks!
@BinhTran-me3hk
@BinhTran-me3hk 3 жыл бұрын
can I use firebase to push notifications in China? thanks for your answer
@justcodejs
@justcodejs 3 жыл бұрын
Sorry I am not from China so can't answer you 😅
@codeteztechnologies7629
@codeteztechnologies7629 3 жыл бұрын
Custom push notification sounds not working newer android 8. Please helpme
@justcodejs
@justcodejs 3 жыл бұрын
For Android 8 and above you need to create the channel in order to use custom sound. developer.android.com/training/notify-user/channels#java
@4rled
@4rled 3 жыл бұрын
This is gold
@ralphlevita5401
@ralphlevita5401 3 жыл бұрын
Hello! is it possible to create a custom sound for the notification? Thank you and more prosper to your channel!
@justcodejs
@justcodejs 3 жыл бұрын
You should able to do it by specify the sound file in the message payload. For Android, you also need to create a message channel. I have yet to test it. 😅
@Iyiola
@Iyiola 3 жыл бұрын
Hi, you said push doesn't work on the simulator, but you're using it on the simulator, I am confused
@justcodejs
@justcodejs 3 жыл бұрын
Sorry for the late reply. I didn't use the simulator. I am using a screen casting app to cast my mobile screen to my computer screen. 😊
@Iyiola
@Iyiola 3 жыл бұрын
@@justcodejs You responded at the right time lol, been working on this push notification and also following this video for about 7 days now and TODAY 2 hours ago, I have fully implemented push notifications… THANK YOU!!
@justcodejs
@justcodejs 3 жыл бұрын
Welcome 😊
@helionyxcollective
@helionyxcollective 2 жыл бұрын
I am getting the error: messaging.getToken(): NativeFirebaseError: [messaging/unknown] The operation couldn’t be completed. Too many server requests. at FirebaseMessagingModule.getToken FYI: 1. I am not using Redux and I will not be using it. 2. My App.js is setup with functional components, not class components. Any help would be greatly appreciated.
@LarsRyeJeppesen
@LarsRyeJeppesen 2 жыл бұрын
Why is this React specific?
@justcodejs
@justcodejs 2 жыл бұрын
because this tutorial is for React Native 🤭
@shubhamjain2616
@shubhamjain2616 3 жыл бұрын
I am not getting the Push Notification Capability option in the Capabilities list. Please help...
@hoanganhnguyen8050
@hoanganhnguyen8050 3 жыл бұрын
check again doc
@shubhamjain2616
@shubhamjain2616 3 жыл бұрын
@@hoanganhnguyen8050 I found out why, because I don't have a paid developer account.
@hoanganhnguyen8050
@hoanganhnguyen8050 3 жыл бұрын
how to custom sound using react native firebase
@justcodejs
@justcodejs 3 жыл бұрын
You can specify the sound file in the message payload but you might need to create a custom channel for Android app. I have not test that yet so can't give you the exact steps.
@sadiawaleem9796
@sadiawaleem9796 3 жыл бұрын
Receiving the error "No firebase app ['DEFAULT'] has been created". I am just running the app not up the admin"
@justcodejs
@justcodejs 3 жыл бұрын
You need to setuo the firebase app via the firebase console. Please refer to the project github page readme file.
@sadiawaleem9796
@sadiawaleem9796 3 жыл бұрын
@@justcodejs Thanks its working now :)
@srikanththotashreek
@srikanththotashreek 3 жыл бұрын
I'm facing FIS_AUTH_ERROR while trying to getToken. Please help me
@justcodejs
@justcodejs 3 жыл бұрын
Make sure you had place the correct Google Service file in the respective folder. Android: [proj root]/android/app/google-services.json iOS: [proj root]/ios/GoogleService-Info.plist after you pace the files in the respective folder, make sure you recompile the app in order for it to take effect.
@RavindraKumar-mn4jk
@RavindraKumar-mn4jk 4 жыл бұрын
Not working in iOS
@justcodejs
@justcodejs 4 жыл бұрын
Did you run the app in the actual iOS device? Push notification only work on actual device.
@learnforever1801
@learnforever1801 4 жыл бұрын
nicee
@justcodejs
@justcodejs 4 жыл бұрын
Thanks for your support 😊
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
How to use React Native Localization - From Zero to Hero 6
19:29
React Native Firebase Firestore | Cloud Firestore Database
23:52
Adrian Twarog
Рет қаралды 51 М.
How to Debug React Native App - From Zero to Hero 4
26:31
Just Code
Рет қаралды 12 М.
Part-3 : Create Node Js Server to send notification
15:16
Saturday Developer
Рет қаралды 39 М.
How To Received Push Notification Using Firebase In React Native
28:17
Developers' Sin
Рет қаралды 34 М.
React Native Local Push Notifications Tutorial
10:14
Adrian Twarog
Рет қаралды 131 М.