React Native Tutorial #28 - Local & Scheduled Push Notification

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии •

  • @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 9 месяцев назад

      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

  • @royalgm9993
    @royalgm9993 3 года назад +2

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

  • @plujudramunqk
    @plujudramunqk Год назад

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

  • @pranshupatidar4683
    @pranshupatidar4683 3 года назад +1

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

  • @mirzaarslan5225
    @mirzaarslan5225 2 года назад

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

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

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

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

  • @torrante
    @torrante 3 года назад +1

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

  • @chandraroy2481
    @chandraroy2481 2 года назад

    Amazing!

  • @leongvincent9294
    @leongvincent9294 3 года назад

    Awesome video. I have learned a lot and you made react-native so easy. Thank you

  • @herisusanto2654
    @herisusanto2654 3 года назад

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

  • @muhammadhamzaqadri1548
    @muhammadhamzaqadri1548 3 года назад

    Awesome tutorial, thanks alot for such a good tutorial.

  • @hardikdesai7693
    @hardikdesai7693 3 года назад

    Nice video :) Thanks ✌️

  • @shekhargupta5307
    @shekhargupta5307 2 года назад

    this is awesome

  • @sankarsiva5369
    @sankarsiva5369 4 месяца назад

    Hey, how to add custom notification sounds

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

  • @abdulbasir8740
    @abdulbasir8740 3 года назад

    Thank you brother, awesome one

  • @bhardwajrrc6963
    @bhardwajrrc6963 9 месяцев назад

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

  • @midhunlalg
    @midhunlalg Год назад

    hello, are you using expo ?

  • @karventhanvlogs4901
    @karventhanvlogs4901 Год назад

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

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

  • @saim4556
    @saim4556 9 месяцев назад +1

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

  • @saim4556
    @saim4556 9 месяцев назад +1

    app icon is not showing how can i fix that?

  • @ДмитрийМорошан-с2ш
    @ДмитрийМорошан-с2ш 3 года назад

    Please show in example how to create group notifications..

  • @GauravGupta-l2f
    @GauravGupta-l2f Год назад

    for background notification , please share video or code

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

  • @laviederodolfo
    @laviederodolfo 2 года назад

    great

  • @ajitanerao18
    @ajitanerao18 28 дней назад

    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 ?

  • @brandon400
    @brandon400 Год назад

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

  • @sonicstearms_official
    @sonicstearms_official 3 года назад

    good

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

  • @devitosolucoes7534
    @devitosolucoes7534 Год назад

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

  • @codewithquan1311
    @codewithquan1311 Год назад

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

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

  • @muzzamilraza3793
    @muzzamilraza3793 3 года назад

    Why don't you use expo?

  • @LbzeyroX
    @LbzeyroX 3 года назад

    npt working when app is killed local notification

  • @umeshitukade9342
    @umeshitukade9342 2 года назад

    I am getting the notification but pop up is not showing

  • @owenmiash8904
    @owenmiash8904 2 года назад

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

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

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

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

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

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

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

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

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

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

  • @noniez2980
    @noniez2980 2 года назад

    i got an error, can anyone help? 🥲