Expo Notifications with EAS | Complete Guide

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 74

  • @АбеНиш
    @АбеНиш 2 місяці тому +7

    Thank you.
    I was strugling with outdated Expo tutorial, but yours is up to date.

  • @mandlankosi2160
    @mandlankosi2160 Місяць тому +1

    BRO this tutorial is GOLED❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥thanks you that you are alive. i have been pulling my hair trying to intergrate this.

  • @Thuz_hd
    @Thuz_hd 3 місяці тому

    Thank you so much, I have been trying to get these notifications to work for weeks, finally a good and up to date tutorial

  • @codewithmoses
    @codewithmoses 4 місяці тому +2

    Thanks for sharing. Your content is always useful. Inspiring me to do what am doing on my channel Thanks Beto

  • @fprstudio
    @fprstudio 14 днів тому

    thank you for the great explanantions and instructions!

  • @rukkiecodes
    @rukkiecodes 2 місяці тому +1

    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

  • @muhebollahkhandaker
    @muhebollahkhandaker Місяць тому +2

    Can I send notifications to specific users/devices?

  • @prashlovessamosa
    @prashlovessamosa 4 місяці тому

    Thanks Beto please create more and more expo videos.

  • @MD-ev6vh
    @MD-ev6vh Місяць тому +4

    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!

    • @apsarafi5943
      @apsarafi5943 Місяць тому +5

      it's "import { EventSubscription } from "expo-modules-core";" now

    • @anastacioruiz645
      @anastacioruiz645 Місяць тому

      @@apsarafi5943 thank you!

  • @itshehetime
    @itshehetime 4 місяці тому +2

    Thank you! A question, is it possible to send a notification using an API under firebase functions?

  • @Drop-Code
    @Drop-Code 2 місяці тому +1

    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.

  • @snowsproam8384
    @snowsproam8384 Місяць тому +1

    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

  • @HerikArismendyUribe
    @HerikArismendyUribe 3 місяці тому +1

    Hi!!
    Does obtaining the token in production work for both devices?

  • @jonatanclaros6693
    @jonatanclaros6693 9 днів тому

    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

  • @erdincakdogan6962
    @erdincakdogan6962 4 місяці тому

    Amazing content. I try to integrate the notificaion in my project :)

  • @meetmuaz
    @meetmuaz Місяць тому +1

    How can I send a notification to a specific user? or group of users

  • @lesjoni8347
    @lesjoni8347 Місяць тому

    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 😕

  • @fahadshovon2713
    @fahadshovon2713 4 місяці тому +1

    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?

  • @umairshamoon4288
    @umairshamoon4288 28 днів тому

    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?

  • @nehat786
    @nehat786 4 місяці тому

    Much awaited video

  • @htmlthypc08283
    @htmlthypc08283 Місяць тому

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

  • @demurestlmc8361
    @demurestlmc8361 Місяць тому

    great video! Thanks for sharing your provider

  • @yuvarajacpr2278
    @yuvarajacpr2278 2 місяці тому

    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

  • @webmobile21
    @webmobile21 3 місяці тому

    Beto, please make firebase tutorial including, analytics, push notification, oauth, crashlytics etc., it would be wonderful

  • @miralirafiyev4646
    @miralirafiyev4646 2 місяці тому

    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.

  • @Adamskyization
    @Adamskyization Місяць тому

    Thank you
    Feels like a lot of boiler plate over here just to make notifications work.

  • @shaifuddin
    @shaifuddin День тому

    error with: Module '"expo-modules-core"' has no exported member 'Subscription'.

  • @jounouchi123
    @jounouchi123 4 місяці тому

    thanks. how do you guys keep track of tokens in backend, to send scheduled notifications depending on a server cron, for instance?

    • @codewithbeto
      @codewithbeto  4 місяці тому

      Scheduled notifications are handled locally. If you want to have a cron job you would have to implement it yourself.

  • @princesiachin279
    @princesiachin279 27 днів тому

    Now how can I push all the notification to all the installed app without inserting the token one by one in Push Notifications Tool?

  • @jubayerrahman8447
    @jubayerrahman8447 3 місяці тому

    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.

  • @shaifuddin
    @shaifuddin День тому

    error: Cannot find module 'expo-task-manager' or its corresponding type declarations.

  • @chinwizuekwe4129
    @chinwizuekwe4129 25 днів тому

    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

  • @DihCpsPsy
    @DihCpsPsy 4 години тому

    how can I send the push notifications from my server?

  • @firasyazid439
    @firasyazid439 2 місяці тому

    Is this solution works on production in app store ?

  • @adamroach43
    @adamroach43 3 місяці тому

    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?

    • @davidcv4221
      @davidcv4221 3 місяці тому +1

      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.

  • @zenitsu4139
    @zenitsu4139 25 днів тому +1

    can we do it without creating fcm? like direclty calling the expo push service api

    • @zenitsu4139
      @zenitsu4139 24 дні тому

      as for android we need to setup fcm, but for apple we also need to build such?

    • @zenitsu4139
      @zenitsu4139 24 дні тому

      finnally got it working, thx a lot!!

  • @douglasemmanuel7175
    @douglasemmanuel7175 4 місяці тому

    Hi Beto , is it possible to integrate expo push notification with a python backend

  • @trungkienle1431
    @trungkienle1431 3 місяці тому

    What if I just use normal device push token instead of expo push token. Will it work. Hope you can answer

  • @filippo_cecchi
    @filippo_cecchi 3 місяці тому

    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

  • @thunderbolthminfas
    @thunderbolthminfas 3 місяці тому

    Nice video, can you explain how to handle push notification icon?

    • @codewithbeto
      @codewithbeto  3 місяці тому

      Once you set an icon for your app, it will appear automatically

  • @sarthakenertics
    @sarthakenertics 3 місяці тому

    does it works it mobile is powered off and app is not in background?

  • @JoaoVitorAguiar-vn6mn
    @JoaoVitorAguiar-vn6mn 28 днів тому

    Ei Daniel, como ta as bala ai no sumaré?

  • @apsarafi5943
    @apsarafi5943 Місяць тому

    Did you show how to set up credentials for ios because it's different on APN portal and with testflight.

    • @codewithbeto
      @codewithbeto  Місяць тому

      If you are using EAS that should be automatically handled

  • @felipemelendez5741
    @felipemelendez5741 Місяць тому

    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?

  • @jimmyinnocent9884
    @jimmyinnocent9884 29 днів тому

    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

  • @HtooMyat-r2r
    @HtooMyat-r2r 3 місяці тому +1

    for ios development build, i need apple paid developer account , right 😿

  • @Justin-si4wt
    @Justin-si4wt 20 днів тому

    This thing is giving me error some kind of error in apk build

  • @jorgezamudio8457
    @jorgezamudio8457 Місяць тому

    Por que la documentacion dice entonces que las notificaciones no funcionan en simuladores solo en dispositivos reales

    • @codewithbeto
      @codewithbeto  Місяць тому

      Solo funcionan en dispositivos reales 🤔 En el video uso dispositivos reales

  • @annnmol
    @annnmol 2 місяці тому

    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

  • @themsv7
    @themsv7 24 дні тому

    Is that possible without using Firebase?

  • @Justin-si4wt
    @Justin-si4wt 9 днів тому

    There's no way to send notification to all users?

    • @codewithbeto
      @codewithbeto  9 днів тому

      No, but this is possible using OneSignal. I actually cover this on my course codewithbeto.dev/learn in case you’re interested

    • @Justin-si4wt
      @Justin-si4wt 9 днів тому

      @codewithbeto The web page is not loading

    • @codewithbeto
      @codewithbeto  9 днів тому

      @@Justin-si4wt it works for me 🤔

  • @monarchgam3r
    @monarchgam3r 4 місяці тому +1

    First

  • @oneofakind35
    @oneofakind35 Місяць тому

    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

    • @oneofakind35
      @oneofakind35 Місяць тому

      Got it working. had some corrupt google service json. Thanks