Ionic firebase push notifications for android

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

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

  • @CodingTechnyks
    @CodingTechnyks  Год назад +1

    ► Check out my Udemy Courses (upto 95% off):
    1. Ionic 7+ with NodeJs - Complete Beginner to Pro Course 2023 : www.udemy.com/course/ionic-6-with-nodejs-the-complete-beginner-to-pro-course/?couponCode=0F34D53BDA476FD22094
    2. Ionic 7+ From Beginner to Advanced - Build Food Delivery App : www.udemy.com/course/ionic5-beginner-to-advanced-build-food-delivery-app/?couponCode=8F1BAFFFEA7B33909797
    3. NodeJS: Beginner to Pro - APIs for Food Delivery & Ecommerce: www.udemy.com/course/nodejs-beginner-to-pro-apis-for-food-delivery-ecommerce/?couponCode=CC6259DFBA7A5A06327C
    4. Ionic 7+ Chat App using Firebase (free): www.udemy.com/course/ionic-chat-app-using-firebase/?couponCode=A5559A3968A745390B12

  • @cristobalcanas5189
    @cristobalcanas5189 6 месяцев назад

    Thanks for this!! Very well explained. I searched many places and find the solution with your instructions. Subscribed!

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

    Hello! Thank you for the content, it was literally the "salvation of the crop"! I hope I can implement it, but it's already a light for my path... Thank you!

  • @gagriglobal2020
    @gagriglobal2020 Год назад +1

    Sir Please make a video of how to use push notifications channels to get custom sound for notification while the app is in foreground or background.

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

    very detailed guide. thanks for this.

  • @gost-_-_-gamer2922
    @gost-_-_-gamer2922 4 месяца назад +1

    can you please explain this using the API without firebase platform

    • @CodingTechnyks
      @CodingTechnyks  4 месяца назад +1

      It is part of firebase
      There is another one with onesignal, you can check that out

    • @gost-_-_-gamer2922
      @gost-_-_-gamer2922 4 месяца назад

      @@CodingTechnyks it is working the only getting the app is not open are closed the app if I open and used a app I am not getting notification like whatsapp alert is any thing implement in that bro

    • @CodingTechnyks
      @CodingTechnyks  4 месяца назад +1

      @gost-_-_-gamer2922 when app is opened up, it doesn’t show the notification. In that case if you want the notification to show up then use local notification to display the actual notification from firebase server, that will help you to achieve the desired output

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

    what would be the easiest way if you want to send a push notification when a value reaches a certain value, do you have to build a web service here that always reads and checks the data or is there any way to do this in firebase, for example, i would like to map when a user follows another user, that the user who gets a follow gets a push notification

  • @bhavyamangla1400
    @bhavyamangla1400 9 месяцев назад

    Very well explained brother. I am getting a issue in opening the application by clicking on the received notification. Can you help please ??

    • @bhavyamangla1400
      @bhavyamangla1400 9 месяцев назад

      Push received: {"id":"xyz","data":{"body":"
      Submitted A New
      ","title":"New Submitted
      "},"title":"New Submitted
      ","body":"Submitted A New
      ","click_action":"FCM_PLUGIN_ACTIVITY"}

    • @CodingTechnyks
      @CodingTechnyks  9 месяцев назад

      If using android < 12 then if some other app is opened up then only click on notification will open the app
      That’s an issue that I encountered and that’s how it works peesenlty

    • @bhavyamangla1400
      @bhavyamangla1400 9 месяцев назад

      @@CodingTechnyks so we do not have any fix for this ??

    • @CodingTechnyks
      @CodingTechnyks  9 месяцев назад

      According to my research, yes no fix yet. If someone knows about the fix do place it here. Open for suggestions

    • @bhavyamangla1400
      @bhavyamangla1400 9 месяцев назад

      @@CodingTechnyks okay. I am also digging for it.
      Also have you implemented the iOS notification flow ? Because i am not getting the firebase token on ios devices.

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

    If i try to do what you have told me , I am not able to open my application in my android phone ?
    What i need to do can you please tell me ?
    The build was sucessfull.

    • @CodingTechnyks
      @CodingTechnyks  Год назад +1

      You must be getting an error
      Which needs to be check while debugging from android phone

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

      @@CodingTechnyks how to resolve it

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

      Connect after 25th nov

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

    Can we make custom actionable notification in ionic like nobrokerhood app visitor notification?

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

      If you want more features for push motivations in firebase then you have to upgrade to a paid plan

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

    Unhandled Promise rejection: Cannot read properties of undefined (reading 'lB') ; Zone: ; Task: Promise.then ; Value: TypeError: Cannot read properties of undefined (reading 'lB')
    I am getting the above error in my inspect device option what i need to ,can you please help me ?

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

    Do you need to have a paid app developer account to do this with iOS?

  • @user-The_Real_Fact
    @user-The_Real_Fact Год назад +1

    sir Please make a video on Zoom in and zoom out Photo.

  • @ShahidAhmad-qs8yg
    @ShahidAhmad-qs8yg 7 месяцев назад

    icon for notification is till showing old one ?

    • @CodingTechnyks
      @CodingTechnyks  7 месяцев назад

      May be it’s not updated properly in your case, check it
      If still issue persists then connect via Instagram

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

    Sir Please make a video of push notifications while sending a message in chat app

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

    How do i change the custom sound of the notification?

    • @CodingTechnyks
      @CodingTechnyks  Год назад +1

      check the documentation, capacitorjs.com/docs/apis/push-notifications. Create a channel and in that you have an option to pass sound

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

    Sir, i have followed the same steps, now i am receiving the notification, but when i add a new notification in firebase,the received notification is replaced with new one,is there a way to stack the notifications?

    • @CodingTechnyks
      @CodingTechnyks  Год назад +1

      Group is an option
      Send notification as a group
      Also check the plugin if any option is there

  • @Juan_Moreno_
    @Juan_Moreno_ 6 месяцев назад

    Hello, Its possible add it to iOS?

    • @CodingTechnyks
      @CodingTechnyks  6 месяцев назад +1

      If you have developer account then it can be done
      My one is having some issues at present

    • @Juan_Moreno_
      @Juan_Moreno_ 6 месяцев назад

      @@CodingTechnyks thanks, we have developer account.
      I have to follow the same steps?

    • @CodingTechnyks
      @CodingTechnyks  6 месяцев назад +1

      @Juan_Moreno_ yes, in Xcode you have to add some options, check in docs

    • @Juan_Moreno_
      @Juan_Moreno_ 6 месяцев назад

      @@CodingTechnyks thanks!

    • @Juan_Moreno_
      @Juan_Moreno_ 6 месяцев назад

      @@CodingTechnyks Can you do a tutorial soon please?? 🙏🙏

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

    Didnot get why last part was done, even earlier in the video also, you killed the app and were still able to receive the notification right ? What am i missing here ?

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

      Java part is important for getting notification when app killed

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

      @@CodingTechnyks thanks for replying, I want to know why is it important?

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

      capacitorjs.com/docs/apis/push-notifications
      Silent Push Notifications / Data-only Notifications
      iOS
      This plugin does not support iOS Silent Push (Remote Notifications). We recommend using native code solutions for handling these types of notifications, see Pushing Background Updates to Your App.
      Android
      This plugin does support data-only notifications, but will NOT call pushNotificationReceived if the app has been killed. To handle this scenario, you will need to create a service that extends FirebaseMessagingService, see Handling FCM Messages.

    • @cxorion
      @cxorion 8 месяцев назад

      @@CodingTechnyks But your sample was not silent, that was just usual one

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

    how to subscribe to a topic?

    • @CodingTechnyks
      @CodingTechnyks  3 месяца назад +1

      This plugin don’t have the option to do so, use the plugin @capacitor-firebase/messaging

  • @cosmic_area235
    @cosmic_area235 Месяц назад

    sir mane sara kam wase hi keya ha jase app na btaya ha but jab ma push notiffication karta ho to notification ata nahi keya problem ha

    • @CodingTechnyks
      @CodingTechnyks  Месяц назад

      Hi
      Directly working with the firebase console for notification sometimes takes around 5 mins to receive…however calling from backend will work properly
      Still if having problem, connect via Instagram
      Need to see what went wrong

    • @cosmic_area235
      @cosmic_area235 Месяц назад

      @@CodingTechnyks ok

    • @cosmic_area235
      @cosmic_area235 Месяц назад

      @@CodingTechnyks ok sir mane trey keya ha or ho gya thaks so much

    • @CodingTechnyks
      @CodingTechnyks  Месяц назад

      Good work! Keep it up

    • @cosmic_area235
      @cosmic_area235 Месяц назад

      sir ap ka pass gogle login ki plugin ki video ha

  • @pauldinakaran8490
    @pauldinakaran8490 7 месяцев назад

    I have followed all steps but not receiving the notifications, anything missing??

    • @CodingTechnyks
      @CodingTechnyks  7 месяцев назад

      It takes time from firebase console
      If still not working then connect via Instagram at 4pm IST

    • @pauldinakaran8490
      @pauldinakaran8490 7 месяцев назад

      sure thanks for reply @@CodingTechnyks

  • @enriqueruiz320
    @enriqueruiz320 Год назад +1

    😱

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

    const data = {
    expired_token: saved_token,
    refreshed_token: fcm_token
    };
    you are not using this anywhere in code, might as well remove it.

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

      Connect via Instagram for further queries related to this

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

    My god... It's a fucking "quilombo" . From argentina

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

    source code please

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

    😊 Promo sm