React Native Tutorial #28 - Local & Scheduled Push Notification

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 94

  • @mashschool
    @mashschool  3 ปีที่แล้ว +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 ปีที่แล้ว +3

      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 10 หลายเดือนก่อน

      app icon not showing in notification how can i fix that?

  • @wakenyaOfficial
    @wakenyaOfficial ปีที่แล้ว +7

    For those getting android manifest merger error just add android:exported="true" as below

  • @plujudramunqk
    @plujudramunqk ปีที่แล้ว

    I keep coming back to this tutorial for help. Thank you for the content! I hope the channel grows!

  • @royalgm9993
    @royalgm9993 3 ปีที่แล้ว +2

    Very simple way to teach. Thanks for making this so simple.
    Awesome tutorial. 👍

  • @Hyp3rX360
    @Hyp3rX360 2 ปีที่แล้ว

    Awesome, exactly what I was looking for!!!

  • @pranshupatidar4683
    @pranshupatidar4683 3 ปีที่แล้ว +1

    Very Very helpful. The way you show each steps is so smoothly executed. Keep up the work.

    • @mashschool
      @mashschool  3 ปีที่แล้ว

      Glad it was helpful!

  • @mirzaarslan5225
    @mirzaarslan5225 2 ปีที่แล้ว

    Thank you so much. You explain everything is very simple way

  • @torrante
    @torrante 3 ปีที่แล้ว +1

    Excellent tutorial, and excellent & relaxing backround music! Thank you!

    • @mashschool
      @mashschool  3 ปีที่แล้ว

      Glad you liked it!

  • @mahmudulhasankhosru7092
    @mahmudulhasankhosru7092 2 ปีที่แล้ว

    Thank you so much for this tutorial. It's really helpful.

  • @devsamad2353
    @devsamad2353 2 ปีที่แล้ว

    thank you so much for this Video, you saved my day.

  • @erick9158
    @erick9158 3 ปีที่แล้ว

    Thank you very much for the knowledge you provide, I hope you are always healthy and successful in the future

  • @chandraroy2481
    @chandraroy2481 2 ปีที่แล้ว

    Amazing!

  • @hardikdesai7693
    @hardikdesai7693 3 ปีที่แล้ว

    Nice video :) Thanks ✌️

  • @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 3 ปีที่แล้ว

    this is awesome

  • @herisusanto2654
    @herisusanto2654 3 ปีที่แล้ว

    Thank you sir...
    Keep up the good work...

  • @abdulbasir8740
    @abdulbasir8740 3 ปีที่แล้ว

    Thank you brother, awesome one

  • @sankarsiva5369
    @sankarsiva5369 5 หลายเดือนก่อน

    Hey, how to add custom notification sounds

  • @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?

  • @midhunlalg
    @midhunlalg ปีที่แล้ว

    hello, are you using expo ?

  • @bhardwajrrc6963
    @bhardwajrrc6963 10 หลายเดือนก่อน

    How to use this system to navigate to a certain page of app when clicked on a notification?

  • @brandon400
    @brandon400 ปีที่แล้ว

    i dont have android folder. do u have to create manually or with a command?

  • @saim4556
    @saim4556 10 หลายเดือนก่อน +1

    app icon is not showing how can i fix that?

  • @ajitanerao18
    @ajitanerao18 หลายเดือนก่อน

    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

  • @saim4556
    @saim4556 10 หลายเดือนก่อน +1

    app icon not showing in notification how can i fix that?

  • @karventhanvlogs4901
    @karventhanvlogs4901 ปีที่แล้ว

    Getting scheduled notification every time when close and open the app?

  • @anonymouswanted7515
    @anonymouswanted7515 3 ปีที่แล้ว +2

    Does scheduled notifications work if we close the app completely?

    • @mashschool
      @mashschool  3 ปีที่แล้ว

      Yes, it should work in this case as well.

  • @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."

  • @codewithquan1311
    @codewithquan1311 ปีที่แล้ว

    i have a problems: TypeError: Cannot read property 'getInitialNotification' of null, js engine: hermes , can you help me ??

  • @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

  • @GauravGupta-l2f
    @GauravGupta-l2f ปีที่แล้ว

    for background notification , please share video or code

  • @devitosolucoes7534
    @devitosolucoes7534 ปีที่แล้ว

    can I do it with expo? local and scheduled push notif.

  • @Aleweslei
    @Aleweslei 3 ปีที่แล้ว

    Very good, is it possible to trigger local notification in the background with react native?

    • @mashschool
      @mashschool  3 ปีที่แล้ว +2

      localNotificationSchedule works in background.

  • @sonicstearms_official
    @sonicstearms_official 3 ปีที่แล้ว

    good

  • @owenmiash8904
    @owenmiash8904 2 ปีที่แล้ว

    Am getting this error...default firebaseapp is not initialized in this process react native....kindly assist

  • @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

  • @ДмитрийМорошан-с2ш
    @ДмитрийМорошан-с2ш 3 ปีที่แล้ว

    Please show in example how to create group notifications..

  • @umeshitukade9342
    @umeshitukade9342 3 ปีที่แล้ว

    I am getting the notification but pop up is not showing

  • @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.

  • @muzzamilraza3793
    @muzzamilraza3793 3 ปีที่แล้ว

    Why don't you use expo?

  • @saim4556
    @saim4556 10 หลายเดือนก่อน

    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

  • @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

  • @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?

  • @gustavojuantorena
    @gustavojuantorena 3 ปีที่แล้ว

    👏👏

  • @LbzeyroX
    @LbzeyroX 3 ปีที่แล้ว

    npt working when app is killed local notification

  • @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.

  • @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

  • @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..

  • @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 ปีที่แล้ว +1

      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 TH-cam 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 ปีที่แล้ว +1

      You can watch session #37.

  • @noniez2980
    @noniez2980 2 ปีที่แล้ว

    i got an error, can anyone help? 🥲