Ionic firebase push notifications for android

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

ความคิดเห็น • 64

  • @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 4 หลายเดือนก่อน

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

  • @TheSantana1984
    @TheSantana1984 10 หลายเดือนก่อน

    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!

  • @user-nq7iu3wu1t
    @user-nq7iu3wu1t ปีที่แล้ว +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.

  • @user-The_Real_Fact
    @user-The_Real_Fact ปีที่แล้ว +1

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

  • @gost-_-_-gamer2922
    @gost-_-_-gamer2922 2 หลายเดือนก่อน +1

    can you please explain this using the API without firebase platform

    • @CodingTechnyks
      @CodingTechnyks  2 หลายเดือนก่อน +1

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

    • @gost-_-_-gamer2922
      @gost-_-_-gamer2922 หลายเดือนก่อน

      @@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  หลายเดือนก่อน +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

  • @enriqueruiz320
    @enriqueruiz320 ปีที่แล้ว +1

    😱

  • @abrarhussain8465
    @abrarhussain8465 ปีที่แล้ว

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

  • @bhavyamangla1400
    @bhavyamangla1400 7 หลายเดือนก่อน

    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 7 หลายเดือนก่อน

      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  7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

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

    • @CodingTechnyks
      @CodingTechnyks  7 หลายเดือนก่อน

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

    • @bhavyamangla1400
      @bhavyamangla1400 7 หลายเดือนก่อน

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

  • @robertq8555
    @robertq8555 9 หลายเดือนก่อน

    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

    • @CodingTechnyks
      @CodingTechnyks  9 หลายเดือนก่อน

      Connect via Instagram on 25th nov

    • @robertq8555
      @robertq8555 9 หลายเดือนก่อน

      @@CodingTechnyks i dont unterstand what is on 25 november ?

    • @CodingTechnyks
      @CodingTechnyks  9 หลายเดือนก่อน

      I am not available till then

    • @robertq8555
      @robertq8555 9 หลายเดือนก่อน

      oh thanks man!

  • @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 9 หลายเดือนก่อน

    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 ?

    • @CodingTechnyks
      @CodingTechnyks  9 หลายเดือนก่อน

      Connect via Instagram
      Link in description

  • @ShahidAhmad-qs8yg
    @ShahidAhmad-qs8yg 4 หลายเดือนก่อน

    icon for notification is till showing old one ?

    • @CodingTechnyks
      @CodingTechnyks  4 หลายเดือนก่อน

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

  • @PrudhviRoyals
    @PrudhviRoyals 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน +1

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

    • @PrudhviRoyals
      @PrudhviRoyals 9 หลายเดือนก่อน

      @@CodingTechnyks how to resolve it

    • @CodingTechnyks
      @CodingTechnyks  9 หลายเดือนก่อน

      Connect after 25th nov

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

  • @lucarocchietti1159
    @lucarocchietti1159 หลายเดือนก่อน

    how to subscribe to a topic?

    • @CodingTechnyks
      @CodingTechnyks  29 วันที่ผ่านมา +1

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

  • @pauldinakaran8490
    @pauldinakaran8490 5 หลายเดือนก่อน

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

    • @CodingTechnyks
      @CodingTechnyks  5 หลายเดือนก่อน

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

    • @pauldinakaran8490
      @pauldinakaran8490 5 หลายเดือนก่อน

      sure thanks for reply @@CodingTechnyks

  • @shreyanshsinha37
    @shreyanshsinha37 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      Java part is important for getting notification when app killed

    • @shreyanshsinha37
      @shreyanshsinha37 8 หลายเดือนก่อน

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

    • @CodingTechnyks
      @CodingTechnyks  8 หลายเดือนก่อน

      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 5 หลายเดือนก่อน

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

  • @amagarai_
    @amagarai_ 11 หลายเดือนก่อน

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

  • @JuanzerZ
    @JuanzerZ 11 หลายเดือนก่อน

    How do i change the custom sound of the notification?

    • @CodingTechnyks
      @CodingTechnyks  11 หลายเดือนก่อน +1

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

  • @Juan_Moreno_
    @Juan_Moreno_ 4 หลายเดือนก่อน

    Hello, Its possible add it to iOS?

    • @CodingTechnyks
      @CodingTechnyks  4 หลายเดือนก่อน +1

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

    • @Juan_Moreno_
      @Juan_Moreno_ 4 หลายเดือนก่อน

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

    • @CodingTechnyks
      @CodingTechnyks  4 หลายเดือนก่อน +1

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

    • @Juan_Moreno_
      @Juan_Moreno_ 4 หลายเดือนก่อน

      @@CodingTechnyks thanks!

    • @Juan_Moreno_
      @Juan_Moreno_ 4 หลายเดือนก่อน

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

  • @shreyanshsinha37
    @shreyanshsinha37 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      Connect via Instagram for further queries related to this

  • @dplaybass096
    @dplaybass096 ปีที่แล้ว

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

  • @clemmiedales9764
    @clemmiedales9764 ปีที่แล้ว

    😊 Promo sm

  • @adnenbenawicha5082
    @adnenbenawicha5082 11 หลายเดือนก่อน

    source code please

    • @CodingTechnyks
      @CodingTechnyks  11 หลายเดือนก่อน +1

      Check description