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

Implementation of Local push notification in both Android and Ios in React Native. This tutorial is made for beginners since it is built from scratch.
Follow me on Instagram :
/ sbofficial
Hire me on Upwork:
www.upwork.com/freelancers/~0...
LIKE, SHARE, AND SUBSCRIBE
Music Credits :
Ice Flow by Kevin MacLeod: incompetech.com
Creative Commons - Attribution 4.0 International - CC BY 4.0
Free Download / Stream: bit.ly/ice-flow
Music promoted by Audio Library • Ice Flow - Kevin MacLe...
#ReactNative #ReactNativePushNotification #PushNotificationIos #PushNotificationAndroid #LocalNotification #ScheduleNotification

Пікірлер: 72

  • @IntellectDeveloper
    @IntellectDeveloper3 жыл бұрын

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

  • @rayanabid1303
    @rayanabid13033 жыл бұрын

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

  • @sisirmalla2252
    @sisirmalla22523 жыл бұрын

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

  • @StephenRayner
    @StephenRayner3 жыл бұрын

    Need to keep making videos bro these are solid

  • @toprises2903
    @toprises29033 жыл бұрын

    Helped me a lot. Thanks.

  • @ShivamVerma-gq2sm
    @ShivamVerma-gq2sm2 жыл бұрын

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

  • @tonny.amaral
    @tonny.amaral3 жыл бұрын

    My man! Tks bro.

  • @cloudswiftsolutions1330
    @cloudswiftsolutions13303 жыл бұрын

    Appreciate your efforts

  • @emind4651
    @emind46516 ай бұрын

    Thanks for the tutorial video.

  • @carlo79627
    @carlo796272 жыл бұрын

    thanks you very much, good job friend.

  • @arwaahmed5066
    @arwaahmed50662 жыл бұрын

    AMAZING

  • @reactnative7468
    @reactnative7468 Жыл бұрын

    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?

  • @xutodra
    @xutodra3 жыл бұрын

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

  • @shrutirao5073
    @shrutirao50733 жыл бұрын

    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

  • @nwekarmahdi9211
    @nwekarmahdi92113 жыл бұрын

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

  • @nwekarmahdi9211

    @nwekarmahdi9211

    3 жыл бұрын

    @Syed Umer Ali 6:00

  • @emmanuelsauceda3278
    @emmanuelsauceda32783 жыл бұрын

    awesome

  • @mohitgairola6602
    @mohitgairola6602 Жыл бұрын

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

  • @WesleyGomes-re7zf
    @WesleyGomes-re7zf9 ай бұрын

    Thank you so much....

  • @sandeshshrestha6494
    @sandeshshrestha64943 жыл бұрын

    Great video

  • @sametpalitci1273
    @sametpalitci12733 жыл бұрын

    Thank you

  • @hardikpalrecha7714
    @hardikpalrecha77143 жыл бұрын

    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

    3 жыл бұрын

    Could you be more detailed, no notification appears to me

  • @hardikpalrecha7714

    @hardikpalrecha7714

    3 жыл бұрын

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

  • @fernando72496

    @fernando72496

    3 жыл бұрын

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

  • @kaunghtethein3322
    @kaunghtethein33222 жыл бұрын

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

  • @parthasarathimondal6141
    @parthasarathimondal61413 жыл бұрын

    thanks

  • @hardikpalrecha7714
    @hardikpalrecha77143 жыл бұрын

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

  • @hopjr387

    @hopjr387

    3 жыл бұрын

    me too

  • @arupde6320
    @arupde63202 жыл бұрын

    upload regularly man

  • @pranavkumar1818
    @pranavkumar18183 жыл бұрын

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

  • @mateussilvadesantis5205

    @mateussilvadesantis5205

    3 жыл бұрын

    I really need to know too !

  • @lazycatngoc
    @lazycatngoc3 жыл бұрын

    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

    3 жыл бұрын

    u can only test on a physical device

  • @chandhannarayanareddy7613
    @chandhannarayanareddy76133 жыл бұрын

    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

  • @maryfranklin5615

    @maryfranklin5615

    3 жыл бұрын

    me too, do you have solution ?

  • @cherishmashree7302
    @cherishmashree73023 жыл бұрын

    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 жыл бұрын

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

  • @ramicesmoises5170
    @ramicesmoises51703 жыл бұрын

    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

  • @deepanshu.770
    @deepanshu.7702 жыл бұрын

    I think you not created the notification channel 🙂

  • @diegobonagurio9885
    @diegobonagurio98853 жыл бұрын

    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 жыл бұрын

    i get the same problem did you find any solutions

  • @diegobonagurio9885

    @diegobonagurio9885

    3 жыл бұрын

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

  • @metalonios
    @metalonios3 жыл бұрын

    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

    3 жыл бұрын

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

  • @metalonios

    @metalonios

    3 жыл бұрын

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

  • @Monkinerino

    @Monkinerino

    3 жыл бұрын

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

    3 жыл бұрын

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

  • @metalonios

    @metalonios

    3 жыл бұрын

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

  • @chandhannarayanareddy7613
    @chandhannarayanareddy76133 жыл бұрын

    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

  • @Ashishume
    @Ashishume3 жыл бұрын

    source code please

  • @jeyaseelan2009
    @jeyaseelan2009 Жыл бұрын

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

  • @ivanhsiaolung2178
    @ivanhsiaolung21783 жыл бұрын

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

  • @ganeshhurgule1140
    @ganeshhurgule11403 жыл бұрын

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

  • @saxenavedant61
    @saxenavedant61 Жыл бұрын

    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 ?

  • @quynguyenphu541
    @quynguyenphu5413 жыл бұрын

    source code please