React Native - Local and Schedule Push Notification on both Android and IOS.

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

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

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

    thanku soo much, you just save my day 😍😍 may god bless you

  • @ShivamVerma-gq2sm
    @ShivamVerma-gq2sm 2 года назад

    Thankyou! it worked on IOS. for people who would be getting error, try using presentLocalNotification instead of addNotificationRequest,

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

    Default FirebaseApp is not initialized made me crazy, you are so greatness

  • @emind4651
    @emind4651 10 месяцев назад

    Thanks for the tutorial video.

  • @reactnative7468
    @reactnative7468 2 года назад +1

    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?

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

    Thank you so much this fixed the issue that I was having for the last 3 days

  • @hardikpalrecha7714
    @hardikpalrecha7714 4 года назад +1

    Brother it worked after the you provide the channel id ( if anybody don't know how to create then use PushNotification.createChannel like in componentDidMount and passed it in arguments)..🖖

    • @fernando72496
      @fernando72496 4 года назад

      Could you be more detailed, no notification appears to me

    • @hardikpalrecha7714
      @hardikpalrecha7714 4 года назад +1

      @@fernando72496 Have you created the channel id and passed it into the function?

    • @fernando72496
      @fernando72496 4 года назад

      @@hardikpalrecha7714 No, I was missing that

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

      THANK YOU SO MUCH GOOD SIR. You saved me! Can I buy you a virtual coffee?

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

    thanks you very much, good job friend.

  • @WesleyGomes-re7zf
    @WesleyGomes-re7zf Год назад

    Thank you so much....

  • @sisirmalla2252
    @sisirmalla2252 4 года назад +1

    Wow 🤩🤩 , it really helps me alot . Hope to see next video soon

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

    Will schedule notification work if the app is closed before 5 seconds?

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

    Thank you

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

    Need to keep making videos bro these are solid

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

    Helped me a lot. Thanks.

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

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

    thanks

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

    in my code only background push is working in ios not the foreground?

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

    Appreciate your efforts

  • @deepanshu.770
    @deepanshu.770 2 года назад

    I think you not created the notification channel 🙂

  • @chandhannarayanareddy7613
    @chandhannarayanareddy7613 4 года назад

    Who didn't got error as well as notifications after following step to step please add channel notifications
    Just go to the documentation
    github.com/zo0r/react-native-push-notification#channel-management-android
    **NOTE: Without channel, notifications don't work
    Just they updated this 25 days back
    So try to learn creating channel and it'll work

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

    upload regularly man

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

    AMAZING

  • @tonny.amaral
    @tonny.amaral 4 года назад

    My man! Tks bro.

  • @hardikpalrecha7714
    @hardikpalrecha7714 4 года назад +1

    why i'm not able to push schedule notification even though i provided the channelid..please help in this.

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

    does we need add Capability remote notification if we just used local notification? I think remote notification use for APNS of Push notification

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

    it wouldn't work on ios simulator, can anyone help?

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

    I followed the all steps, but show this error:
    Developer warning for package "com.testapp"
    Failed to post notification on channel "fcm_fallback_notification_channel"
    Did anyone have the same problem?

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

      i get the same problem did you find any solutions

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

      @@slimshady5864 Yeah, first: I created the channel and after I created de LocalNotification. Follow this: imgur.com/S9QkJX0

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

      @@diegobonagurio9885 thankyou brother. it worked well. I there any way I can connect with you? Just for some guidance if I get stuck?

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

      @@slimshady5864 yes bro, do you have discord?

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

      @@diegobonagurio9885 not yet but i would like to explore it

  • @lazycatngoc
    @lazycatngoc 4 года назад

    Thank you.
    I folow your tutorial and get notification in IOS.
    But I have red error on bottom "remote notifications are not supported in the..."
    In server, full error like this.
    ERROR remote notifications are not supported in the simulator {"code": 3010, "details": {"NSLocalizedDescription": "remote notifications are not supported in the simulator"}, "message": "remote notifications are not supported in the simulator"}
    Can you tell me what wrong in there

    • @gabrr
      @gabrr 4 года назад

      u can only test on a physical device

  • @emmanuelsauceda3278
    @emmanuelsauceda3278 4 года назад

    awesome

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

    Hi... Thanks a lot. It was such a detailed implementation. But in my xcode, I was able to add Background Modes capability, but I could not find "Push Notifications" capability. Can you please help me with this? And Thanks once again. Keep rocking. 👏👏

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

      Because you have free developer account you are not able to push notification capability

  • @metalonios
    @metalonios 4 года назад +1

    Hello. I followed all the steps but no push notification is getting fired. I dont have idea what happens and why it doesnt work

    • @Monkinerino
      @Monkinerino 4 года назад

      Same thing is happening to me. Can't find the reason for it

    • @metalonios
      @metalonios 4 года назад

      @@Monkinerino put a string in the channelId in configure like "general channel"

    • @Monkinerino
      @Monkinerino 4 года назад

      @@metalonios You mean on the PushNotification.localNotification() method? because on configure I believe there isn't such a field. If so, I have tried and it did not work

    • @Monkinerino
      @Monkinerino 4 года назад

      Is there anything else I should do other from PushNotification.configure() and PushNotification.localNotification() ?

    • @metalonios
      @metalonios 4 года назад

      @@Monkinerino sorry i meant on localnotification(). You must set a channel Id

  • @ramicesmoises5170
    @ramicesmoises5170 4 года назад

    I followed the tutorial and find this error: "null is not an object (evaluating 'rnpushnotification.getinitialnotification')". I search in the entire internet and dont find a solution. Did you know what's causing it?

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

      ​ @WISERDIVISOR First i added the react native push notification library. Then i run expo eject, to create the android/ios folder. Finally, i run this magic command: "npx react-native link react-native-push-notification"
      and then everything worked (This command link the libraryr automatically
      to the code, so you dot need to do it mannually)

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

      This might happen if you are on expo. Worked for me in the bare project

  • @sandeshshrestha6494
    @sandeshshrestha6494 4 года назад

    Great video

  • @chandhannarayanareddy7613
    @chandhannarayanareddy7613 4 года назад

    I followed all the steps I still have no notifications and no error as well no logging of onNotification as well and I have tried with both simulator and mobile

  • @Ashishume
    @Ashishume 4 года назад

    source code please

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

    please keep caution when you updating AndroidManifest.xml file
    use following code
    we should explicitly define
    android:exported="true"

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

    hi i am having this issue
    D/skia: --- Failed to create image decoder with message 'unimplemented'
    2022-10-10 18:05:32.784 14399-14471/com.alloblue D/skia: --- Failed to create image decoder with message 'unimplemented'
    What to do ?

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

    thanks it works, but i don't see the token, when console.log("TOKEN:", token); at index.js how to get it ?, thanks

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

    why i getting this error TypeError: this.handler.presentLocalNotification is not a function

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

    source code please

  • @awais882s
    @awais882s 3 месяца назад

    source code please