Thanks for your tutorial! One question. In the NotificationContext.tsx I'm getting an error when importing Subscription from expo-modules-core. This line: import { Subscription } from "expo-modules-core"; Throws this error: Module '"expo-modules-core"' has no exported member 'Subscription'.ts(2305) Any ideas on how to solve this? Thanks in advance for any help you can offer!
Thanks for the video, I have a question, how do I make a media control notification with Expo? I've never seen a video about it. Spotify is where the music plays and I can only control it through the notification bar.
This isnt for testflight is it? I have everything set up where it works on expo go but on testflight it will ask for permissions to use notifications but doesnt grant any requests of displaying the notification. If i send out notifications any existing pushtoken will work with testflight but not any new ones that havent been requested on expo go. Of course pushing to testflight over and over isnt ideal with the limits with expo so some advice would bereally helpful
Thanks, I have a question: why is there a setting in Firebase if the notification is inside Expo Notification and in the Expo dashboard the counter is added? At no time do I see replicated or any changes in Firebase
Hey Beto! I want to ask a question form you if i Want to implement the push notifications like linkedin when someone shared my post , liked my post or perform any other action related to me then how can i do that?
Thanks for this tutorial. By the way, could you please make a tutorial regarding the Google Authentication with Credential Manager on React Native ? The documentations on Expo seems obsolete...
I have experienced in React Native CLI, and new to expo, so Is it necessary to use EAS or we can go to Expo go? And one more question in office expo doc show Expo notification will depressed in ExpoSDK-52. So which is alyernative option for that
Thank you for sharing, Beto. Could you please explain how to add custom image as an icon ( app logo ) ? Like in whatsapp. I mean notification should show the user ava of sender.
Hay, I followed your tutorial step by step and it worked also but after 2- 3 days the the app stopped sending notifications and the project dashboard is showing failier graphs. I am a bit confused now.
My push notification have been working perfectly in development build but it doesn't work when I build an apk. Please what can be the cause. Also if I build for release on google playstore will the push notification work? Thanks
One thing missing from all tutorials I'm finding is, how are you managing storing the device tokens? I want to send notifications to all users, don't we need to store each users notification token on our backend somewhere, then loop and send notifications to all?
yes you should add the token to you user on your DB, and then send the notification to the devices you want to, you could ask again for the token on login in case the user is using another device.
For me it works fine on android. iOS works in the development build but if I launch a production build and use TestFlight it do not update the expo push token. I really do not know what to do. I think the problem is in some settings
What about sound? Sound works on Android but not on iOS, I followed all the instructions... why isn't there an Expo notifications tutorial that includes sound?
I have been looking for fixes on push notifications where it works perfectly on expo go dev mode, but not on standalone APK, does this tutorial work on APK? would appreciate your answers guys, thank you
2 questions here: How to show image in notification (killed /bg state) How to show dynamic notification icon just like social media apps (user dp) note: i was able to show custom static notification icon but i want show user dp as icon Btw thanks in advance
Thank you. One problem, i am not getting the permission question for notification. get this - OG errorError: Fetching the token failed: java.util.concurrent.ExecutionException: java.io.IOException: FIS_AUTH_ERROR
Thank you.
I was strugling with outdated Expo tutorial, but yours is up to date.
Glad to hear it helped 🙏
BRO this tutorial is GOLED❤🔥❤🔥❤🔥❤🔥❤🔥❤🔥❤🔥❤🔥❤🔥❤🔥❤🔥❤🔥thanks you that you are alive. i have been pulling my hair trying to intergrate this.
❤️
Thank you so much, I have been trying to get these notifications to work for weeks, finally a good and up to date tutorial
Thanks for sharing. Your content is always useful. Inspiring me to do what am doing on my channel Thanks Beto
thank you for the great explanantions and instructions!
i asked chat GPT to write a context for for push notification to wrap around my app and it generated the exact code for this project
Can I send notifications to specific users/devices?
Thanks Beto please create more and more expo videos.
Thanks for your tutorial! One question. In the NotificationContext.tsx I'm getting an error when importing Subscription from expo-modules-core.
This line: import { Subscription } from "expo-modules-core";
Throws this error: Module '"expo-modules-core"' has no exported member 'Subscription'.ts(2305)
Any ideas on how to solve this?
Thanks in advance for any help you can offer!
it's "import { EventSubscription } from "expo-modules-core";" now
@@apsarafi5943 thank you!
Thank you! A question, is it possible to send a notification using an API under firebase functions?
Thanks for the video, I have a question, how do I make a media control notification with Expo? I've never seen a video about it. Spotify is where the music plays and I can only control it through the notification bar.
This isnt for testflight is it? I have everything set up where it works on expo go but on testflight it will ask for permissions to use notifications but doesnt grant any requests of displaying the notification. If i send out notifications any existing pushtoken will work with testflight but not any new ones that havent been requested on expo go. Of course pushing to testflight over and over isnt ideal with the limits with expo so some advice would bereally helpful
Hi!!
Does obtaining the token in production work for both devices?
Thanks, I have a question: why is there a setting in Firebase if the notification is inside Expo Notification and in the Expo dashboard the counter is added? At no time do I see replicated or any changes in Firebase
Amazing content. I try to integrate the notificaion in my project :)
How can I send a notification to a specific user? or group of users
Wait, is there a way to add a custom button in notification or even show an image?
Also, I didn't see in video about local notifications 😕
Thanks,
one question,
does the setup work for quit state?
Do the listeners trigger if app is opened from quit state by tapping on a notification?
Did you get ?
@@ashikhp1675 any update
Hey Beto! I want to ask a question form you if i Want to implement the push notifications like linkedin when someone shared my post , liked my post or perform any other action related to me then how can i do that?
Much awaited video
Thanks for this tutorial. By the way, could you please make a tutorial regarding the Google Authentication with Credential Manager on React Native ? The documentations on Expo seems obsolete...
great video! Thanks for sharing your provider
I have experienced in React Native CLI, and new to expo, so Is it necessary to use EAS or we can go to Expo go?
And one more question in office expo doc show Expo notification will depressed in ExpoSDK-52. So which is alyernative option for that
Beto, please make firebase tutorial including, analytics, push notification, oauth, crashlytics etc., it would be wonderful
Thank you for sharing, Beto. Could you please explain how to add custom image as an icon ( app logo ) ? Like in whatsapp. I mean notification should show the user ava of sender.
Thank you
Feels like a lot of boiler plate over here just to make notifications work.
error with: Module '"expo-modules-core"' has no exported member 'Subscription'.
thanks. how do you guys keep track of tokens in backend, to send scheduled notifications depending on a server cron, for instance?
Scheduled notifications are handled locally. If you want to have a cron job you would have to implement it yourself.
Now how can I push all the notification to all the installed app without inserting the token one by one in Push Notifications Tool?
Hay, I followed your tutorial step by step and it worked also but after 2- 3 days the the app stopped sending notifications and the project dashboard is showing failier graphs. I am a bit confused now.
error: Cannot find module 'expo-task-manager' or its corresponding type declarations.
My push notification have been working perfectly in development build but it doesn't work when I build an apk. Please what can be the cause. Also if I build for release on google playstore will the push notification work? Thanks
how can I send the push notifications from my server?
Is this solution works on production in app store ?
One thing missing from all tutorials I'm finding is, how are you managing storing the device tokens? I want to send notifications to all users, don't we need to store each users notification token on our backend somewhere, then loop and send notifications to all?
yes you should add the token to you user on your DB, and then send the notification to the devices you want to, you could ask again for the token on login in case the user is using another device.
can we do it without creating fcm? like direclty calling the expo push service api
as for android we need to setup fcm, but for apple we also need to build such?
finnally got it working, thx a lot!!
Hi Beto , is it possible to integrate expo push notification with a python backend
What if I just use normal device push token instead of expo push token. Will it work. Hope you can answer
For me it works fine on android. iOS works in the development build but if I launch a production build and use TestFlight it do not update the expo push token. I really do not know what to do. I think the problem is in some settings
Nice video, can you explain how to handle push notification icon?
Once you set an icon for your app, it will appear automatically
does it works it mobile is powered off and app is not in background?
Ei Daniel, como ta as bala ai no sumaré?
Did you show how to set up credentials for ios because it's different on APN portal and with testflight.
If you are using EAS that should be automatically handled
What about sound? Sound works on Android but not on iOS, I followed all the instructions... why isn't there an Expo notifications tutorial that includes sound?
I have been looking for fixes on push notifications where it works perfectly on expo go dev mode, but not on standalone APK, does this tutorial work on APK?
would appreciate your answers guys, thank you
Did you get any solution?
for ios development build, i need apple paid developer account , right 😿
Yes
This thing is giving me error some kind of error in apk build
Por que la documentacion dice entonces que las notificaciones no funcionan en simuladores solo en dispositivos reales
Solo funcionan en dispositivos reales 🤔 En el video uso dispositivos reales
2 questions here:
How to show image in notification (killed /bg state)
How to show dynamic notification icon just like social media apps (user dp)
note: i was able to show custom static notification icon but i want show user dp as icon
Btw thanks in advance
Is that possible without using Firebase?
Unfortunately no
There's no way to send notification to all users?
No, but this is possible using OneSignal. I actually cover this on my course codewithbeto.dev/learn in case you’re interested
@codewithbeto The web page is not loading
@@Justin-si4wt it works for me 🤔
First
Thank you. One problem, i am not getting the permission question for notification. get this - OG errorError: Fetching the token failed: java.util.concurrent.ExecutionException: java.io.IOException: FIS_AUTH_ERROR
Got it working. had some corrupt google service json. Thanks