React Native Tutorial #28 - Local & Scheduled Push Notification

  Рет қаралды 56,800

Mash School

Mash School

Күн бұрын

Пікірлер: 94
@mashschool
@mashschool 3 жыл бұрын
If you have any questions about this or request tutorials in this style, be sure to leave a comment below, and thank you for liking the video. 😉
@abhisheksuryawanshi9102
@abhisheksuryawanshi9102 2 жыл бұрын
I getting this error: make sure to call firebaseapp.initializeapp(context) first Im only using local notification , still getting this errror Kindly help.
@ОлександрУрбанський-к1л
@ОлександрУрбанський-к1л Жыл бұрын
I getting this error: make sure to call firebaseapp.initializeapp(context) first Im only using local notification , still getting this errror how to resolve this issue?
@saim4556
@saim4556 8 ай бұрын
app icon not showing in notification how can i fix that?
@wakenyaOfficial
@wakenyaOfficial Жыл бұрын
For those getting android manifest merger error just add android:exported="true" as below
@miguelachojc
@miguelachojc Жыл бұрын
You are a hero!
@astronautpolar596
@astronautpolar596 Жыл бұрын
Thanks!! it help a lot!
@plujudramunqk
@plujudramunqk Жыл бұрын
I keep coming back to this tutorial for help. Thank you for the content! I hope the channel grows!
@royalgm9993
@royalgm9993 3 жыл бұрын
Very simple way to teach. Thanks for making this so simple. Awesome tutorial. 👍
@mirzaarslan5225
@mirzaarslan5225 2 жыл бұрын
Thank you so much. You explain everything is very simple way
@pranshupatidar4683
@pranshupatidar4683 3 жыл бұрын
Very Very helpful. The way you show each steps is so smoothly executed. Keep up the work.
@mashschool
@mashschool 3 жыл бұрын
Glad it was helpful!
@Hyp3rX360
@Hyp3rX360 2 жыл бұрын
Awesome, exactly what I was looking for!!!
@erick9158
@erick9158 3 жыл бұрын
Thank you very much for the knowledge you provide, I hope you are always healthy and successful in the future
@devsamad2353
@devsamad2353 2 жыл бұрын
thank you so much for this Video, you saved my day.
@mahmudulhasankhosru7092
@mahmudulhasankhosru7092 2 жыл бұрын
Thank you so much for this tutorial. It's really helpful.
@chandraroy2481
@chandraroy2481 2 жыл бұрын
Amazing!
@torrante
@torrante 3 жыл бұрын
Excellent tutorial, and excellent & relaxing backround music! Thank you!
@mashschool
@mashschool 3 жыл бұрын
Glad you liked it!
@leongvincent9294
@leongvincent9294 3 жыл бұрын
Awesome video. I have learned a lot and you made react-native so easy. Thank you
@mashschool
@mashschool 3 жыл бұрын
Happy to hear that!
@muhammadhamzaqadri1548
@muhammadhamzaqadri1548 3 жыл бұрын
Awesome tutorial, thanks alot for such a good tutorial.
@mashschool
@mashschool 3 жыл бұрын
Glad you liked it
@shekhargupta5307
@shekhargupta5307 2 жыл бұрын
this is awesome
@hardikdesai7693
@hardikdesai7693 3 жыл бұрын
Nice video :) Thanks ✌️
@abdulbasir8740
@abdulbasir8740 3 жыл бұрын
Thank you brother, awesome one
@mashschool
@mashschool 3 жыл бұрын
My pleasure
@herisusanto2654
@herisusanto2654 3 жыл бұрын
Thank you sir... Keep up the good work...
@saim4556
@saim4556 8 ай бұрын
app icon is not showing how can i fix that?
@saim4556
@saim4556 8 ай бұрын
app icon not showing in notification how can i fix that?
@emilienjerome2243
@emilienjerome2243 2 жыл бұрын
Cool and helpful video. Is there a way to (push notification at any given specific time everyday) even if the user doesn't open it at all during the day?
@bhardwajrrc6963
@bhardwajrrc6963 8 ай бұрын
How to use this system to navigate to a certain page of app when clicked on a notification?
@sankarsiva5369
@sankarsiva5369 4 ай бұрын
Hey, how to add custom notification sounds
@karventhanvlogs4901
@karventhanvlogs4901 Жыл бұрын
Getting scheduled notification every time when close and open the app?
@ajitanerao18
@ajitanerao18 18 күн бұрын
I have a issue while running the project. It says there is are duplicate dependencies from android.support and androidx Is it because the community package is 3years old and not maintained Is Changing all the dependencies of support to androidx the only option ? Are there any other such community packages available ?
@laviederodolfo
@laviederodolfo 2 жыл бұрын
great
@brandon400
@brandon400 Жыл бұрын
i dont have android folder. do u have to create manually or with a command?
@codewithquan1311
@codewithquan1311 Жыл бұрын
i have a problems: TypeError: Cannot read property 'getInitialNotification' of null, js engine: hermes , can you help me ??
@GauravGupta-l2f
@GauravGupta-l2f Жыл бұрын
for background notification , please share video or code
@midhunlalg
@midhunlalg Жыл бұрын
hello, are you using expo ?
@LoveAllSong
@LoveAllSong 3 жыл бұрын
How can we make this " we would like to push local schedule notification and user set by themself. Example they want to alert notification every morning at 8:00AM and one more they would be can set the start day and end day to alert notification."
@80Vikram
@80Vikram 3 жыл бұрын
Thanks for this tutorial but I didn't get which app uses local notification, isn't all the apps only use remote notifications ? Please clarify use cases where local notifications is used and any popular app using this technique
@devitosolucoes7534
@devitosolucoes7534 Жыл бұрын
can I do it with expo? local and scheduled push notif.
@anonymouswanted7515
@anonymouswanted7515 3 жыл бұрын
Does scheduled notifications work if we close the app completely?
@mashschool
@mashschool 3 жыл бұрын
Yes, it should work in this case as well.
@sonicstearms_official
@sonicstearms_official 3 жыл бұрын
good
@ДмитрийМорошан-с2ш
@ДмитрийМорошан-с2ш 3 жыл бұрын
Please show in example how to create group notifications..
@owenmiash8904
@owenmiash8904 2 жыл бұрын
Am getting this error...default firebaseapp is not initialized in this process react native....kindly assist
@Aleweslei
@Aleweslei 3 жыл бұрын
Very good, is it possible to trigger local notification in the background with react native?
@mashschool
@mashschool 3 жыл бұрын
localNotificationSchedule works in background.
@soulcatcher_pajome
@soulcatcher_pajome Жыл бұрын
Followed this tutorial step by step but it's always throwing "Cannot read property 'getInitialNotification' of null"; additionally i can no longer use run-android because it's telling me "> Task :app:processDebugMainManifest FAILED", implying the changes to the AndroidManifest broke something? I'm very lost...
@brandon400
@brandon400 Жыл бұрын
bro what's happend? did you still use this library and works? did u find another library or tutorial?
@soulcatcher_pajome
@soulcatcher_pajome Жыл бұрын
@@brandon400 good question, i think we ended up never implementing a push notif (it was a uni project) and just made a popup on the app itself
@umeshitukade9342
@umeshitukade9342 2 жыл бұрын
I am getting the notification but pop up is not showing
@LbzeyroX
@LbzeyroX 3 жыл бұрын
npt working when app is killed local notification
@muzzamilraza3793
@muzzamilraza3793 2 жыл бұрын
Why don't you use expo?
@muhammadhamzaqadri1548
@muhammadhamzaqadri1548 3 жыл бұрын
Able to have a notification but the local notification schedule is not working, even though I tried your code of notification schedule but unsuccessful
@mashschool
@mashschool 3 жыл бұрын
Check the app settings on your device and make sure the permissions for notifications are enabled.
@gustavojuantorena
@gustavojuantorena 3 жыл бұрын
👏👏
@destinkasigwa9620
@destinkasigwa9620 2 жыл бұрын
hello i Tried this many times but doesn't work for me. can you help me please when i put the function in console.log it returns me a undefined. and when i click nothing is happen on my emulator.
@brandon400
@brandon400 Жыл бұрын
bro did you find a solution? or orther tutorial
@reactnative7468
@reactnative7468 2 жыл бұрын
Sir, I have implemented schedule Notifications by following your Code. I want to schedule notification at a specific time every day i.e 04:00 PM every day then what should I do?
@masterofgames999
@masterofgames999 10 ай бұрын
Have you find the solution??
@shrutirao5073
@shrutirao5073 3 жыл бұрын
so how can I Locally push schedule notifications when the app is closed. I can pop notification while it's in the foreground and in the background but when I close the app I cannot get notifications
@mashschool
@mashschool 3 жыл бұрын
It should work when the app is closed! For more certainty you can use the allowWhileIdle option and also check the notification permissions for the app on your device.
@shrutirao5073
@shrutirao5073 3 жыл бұрын
@@mashschool ok will try that...Thank you for the response
@aniketpatil4430
@aniketpatil4430 2 жыл бұрын
this package is not supporting latest version of react native for manifest configuration
@brandon400
@brandon400 Жыл бұрын
bro did you find another good library for this? or other tutoriaL?
@aniketpatil4430
@aniketpatil4430 Жыл бұрын
@@brandon400no bro let me know if you find one.
@tanupriya6971
@tanupriya6971 3 жыл бұрын
Not getting notification when I close the app that is when app is running in background what could be the issue
@tanupriya6971
@tanupriya6971 3 жыл бұрын
I do get notification in emulator when I close the app but when I install the app using release build i am not getting notification in background but as soon as app goes in foreground I get all the notifications
@mashschool
@mashschool 3 жыл бұрын
Check the phone settings for the installed app. Access to send notifications in the background may have been restricted for that app.
@nakidm
@nakidm 3 жыл бұрын
This Notifications work and with Expo projects ?
@mashschool
@mashschool 3 жыл бұрын
For Expo projects, use the expo-notifications module instead. docs.expo.io/versions/latest/sdk/notifications/
@nakidm
@nakidm 3 жыл бұрын
@@mashschool thanks for ur answer i used it and is working fine but when i make build not show me notifications and not show token. Is working only via fcm console. If i want use send notifications with handle function not work..
@saim4556
@saim4556 9 ай бұрын
getting this error : be explicitly specified for element . Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter
@herickraposo1342
@herickraposo1342 3 жыл бұрын
I'm using the xiaomi redmi note 9 phone and for some reason I can't display the popup in the foreground, the notifications only go to android notification center but nothing else, the popup doesn't even appear when the app is in the background. Please help me
@mashschool
@mashschool 3 жыл бұрын
Make sure that in the device settings, the notification channel for your application is allowed to be displayed.
@herickraposo1342
@herickraposo1342 3 жыл бұрын
Thanks.That's right, my channel's floating notification option was disabled. How can I do this automatically without the user having to enter the app settings? That is, automatically?
@mashschool
@mashschool 3 жыл бұрын
@@herickraposo1342 This should not happen by default, it's probably because of MIUI on Xiaomi phones.
@kamleshwagh4168
@kamleshwagh4168 2 жыл бұрын
Any body can tell me please, How to redirect user to specific screen after clicked on notification?
@islamicinterestofficial
@islamicinterestofficial 2 жыл бұрын
Same question. Did you get any sol plz?
@harshjain4256
@harshjain4256 2 жыл бұрын
Use onnotification call back
@islamicinterestofficial
@islamicinterestofficial 2 жыл бұрын
@@harshjain4256 Thank you. Can you refer any KZbin link please
@harshjain4256
@harshjain4256 2 жыл бұрын
@@islamicinterestofficial use Notifee package
@islamicinterestofficial
@islamicinterestofficial 2 жыл бұрын
@@harshjain4256 Thanks I will try. Also do you know how to send notifications using FCM when app is in quit state means not in background just like other apps. FCM is just sending notifications in foreground & background but not in quit state. If you know then please refer some link. I'll be thankful to you
@hrishikeshkedar2574
@hrishikeshkedar2574 3 жыл бұрын
what about ios ?
@mashschool
@mashschool 3 жыл бұрын
You can watch session #37.
@noniez2980
@noniez2980 2 жыл бұрын
i got an error, can anyone help? 🥲
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 36 МЛН
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 4,2 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
10 Essential React Native Tips Every Developer Must Know
12:07
Simon Grimm
Рет қаралды 15 М.
React Native just dropped a MASSIVE update
15:06
Mehul - Codedamn
Рет қаралды 62 М.
Expo Notifications with EAS | Complete Guide
51:50
Code with Beto
Рет қаралды 6 М.
Push Notifications - Scheduled, Repeat, and Instantly
18:51
programming projects that taught me how to code
9:49
isak
Рет қаралды 305 М.
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 419 М.
React Native Push Notifications with Expo and Edge Functions
26:48
Learn useReducer In 20 Minutes
20:12
Web Dev Simplified
Рет қаралды 514 М.
Expo Push Notifications in Managed Workflow (React Native)
15:36
Native Notify
Рет қаралды 29 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН