Тёмный

Learn to Send Expo Push Notifications From A Server 

Dan's React Native Lab
Подписаться 6 тыс.
Просмотров 11 тыс.
50% 1

Learn to send Push Notifications from an Expo backend 🙂
Please Like and Subscribe ❤️
Follow me on Twitter / X 🐦: / wa2goose
Set up Push Notifications on Mobile: • Setup Push Notificatio...
Server Starter Code: github.com/friyiajr/ExpressSe...
Learn more about Expo and Internet of Things: • Internet of Things Wit...
------------------------------------------------------------------------
Introduction 00:00
Initial Setup 01:19
Handling an Expo Push Token 02:28
Send a Push Notification 06:17
Saving Samples 07:42
Retrieving a Sample 09:32
Writing a Cron Job for Push Notifications 10:45
Finished Product 11:28

Наука

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@DanRNLab
@DanRNLab 10 месяцев назад
Hi guys, some have had some trouble running iOS push notifications in production. If this happens to you there are two resources available to get help: 1) The Expo troubleshooting documentation docs.expo.dev/push-notifications/faq/ 2) If you can’t get help there you can go to the Expo discord discord.com/invite/expo
@klirmio21
@klirmio21 9 месяцев назад
I am freaking impressed why there is little to no documentation / tutorials on how to set up push notifications in React native Expo? Even in the official documentation! Sorry, not everybody is a middle - senior, beginners need to know it too! For that, thank you Dan for this wonderful tutorial! You're really helping us junior bros...
@anazi
@anazi 10 месяцев назад
I have been dying for this tutorial. Good job man ! Subscribed and shared ❤
@DanRNLab
@DanRNLab 10 месяцев назад
Great to hear it helped!!! 🙂
@nro337
@nro337 10 месяцев назад
Awesome video, really excited for this one!
@DanRNLab
@DanRNLab 10 месяцев назад
Happy to help 👍!!!
@dananjayachathuranga7113
@dananjayachathuranga7113 10 месяцев назад
thank u bro.very helpful for me
@santd3400
@santd3400 9 месяцев назад
You're an angel :))) THanks so much!
@kwesikayofficial3078
@kwesikayofficial3078 10 месяцев назад
Very great video
@DanRNLab
@DanRNLab 10 месяцев назад
Thanks! Happy to help 🙂
@viniwrldd
@viniwrldd 9 месяцев назад
will this work when I build my app to be released?
@wolfpackent.4473
@wolfpackent.4473 9 месяцев назад
Great video man. Was wondering this should work on NestJs as well right?
@DanRNLab
@DanRNLab 9 месяцев назад
I think as long as you are using a JS server it will work fine
@santd3400
@santd3400 9 месяцев назад
@@DanRNLab HOw about C# bro?
@brandonbailey8323
@brandonbailey8323 5 месяцев назад
any thoughts on the deprecation of expo push notifications? how would we migrate to the latest recommended approach?
@DanRNLab
@DanRNLab 4 месяца назад
Not sure if you are still interested but I did a video on it ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-V-hois8dgM4.html
@brandonbailey8323
@brandonbailey8323 4 месяца назад
@@DanRNLabamazing man thank you so much!
@shaimaarashed8573
@shaimaarashed8573 8 месяцев назад
How without using firebase?
@quyennguyen-xg4jg
@quyennguyen-xg4jg 10 месяцев назад
Good. Can the product environment run?
@DanRNLab
@DanRNLab 10 месяцев назад
It should work, if you have issues on iOS here are some places you can go to get help 1) The Expo troubleshooting documentation docs.expo.dev/push-notifications/faq/#fetching-a-push-token-takes-a-long-time-on-ios 2) If you can’t get help there you can go to the Expo discord discord.com/invite/expo
@mth6311
@mth6311 10 месяцев назад
This will also work with a postgres db? Thanks for the video, helped me massively
@DanRNLab
@DanRNLab 10 месяцев назад
I think so the database shouldn’t matter
@mth6311
@mth6311 10 месяцев назад
Thanks Dan, I'm just confused with the server side of things, I'm confused why there was two files and why it couldn't all go into the same file. I've got a lot of learning to do this is all new to me 😅
@DanRNLab
@DanRNLab 10 месяцев назад
They _could_ be in the same file but it’s better for code organization to separate the Firebase calls from the endpoints
@mth6311
@mth6311 10 месяцев назад
​@@DanRNLabperfect, makes sense. Keep up the good work!
@mth6311
@mth6311 10 месяцев назад
Hey Dan, sorry to bother you. In my server, I have a function in my dbService file which retrieves an "id" this id is then passed to another function in the same file, which queries my database for ALL relevant expo push tokens. How do I then pass these tokens to my main server file. The array of tokens is logging on my dbService side file, but no errors or tokens are logging on my main file. I can't figure how to return the tokens to an endpoint on my main server file, or is this not possible? Thanks
@santd3400
@santd3400 9 месяцев назад
How about C# backend. Is it work
@DanRNLab
@DanRNLab 9 месяцев назад
There doesn’t seem to be a C# SDK docs.expo.dev/push-notifications/sending-notifications/#send-push-notifications-using-a-server
@santd3400
@santd3400 9 месяцев назад
@@DanRNLab Thanks bro. I understand, it's donet sdk
@abineza9216
@abineza9216 2 месяца назад
please complete code
@DanRNLab
@DanRNLab 2 месяца назад
Hey, the complete code is in the GitHub link in the video description
Далее
Копия iPhone с WildBerries
01:00
Просмотров 4,4 млн
Setup Push Notifications in your Expo App
19:28
Просмотров 21 тыс.
Push Notifications Using Node.js & Service Worker
29:52
React Native Push Notifications for iOS and Android
19:27
Expo Push Notifications
32:15
Просмотров 19 тыс.
Красиво, но телефон жаль
0:32
Просмотров 1,5 млн
$1 vs $100,000 Slow Motion Camera!
0:44
Просмотров 27 млн
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 1,9 млн