No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to Troubleshoot Firebase Cloud Messaging

    Framework
    3
    4
    167
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marknigh last edited by

      Hello,

      I have a quasar/capacitor application that I would like to use FCM. I am trying to find a way to troubleshoot/test FCM with the local dev server that runs with 'quasar dev -m capacitor -T android". It’s my understanding that I need https so I change quasar.config.js -> devServer -> https: true but that didn’t seem to work. I am also having issues with troubleshooting firebase Google Auth when I have it as “signInWithRedirect” because I believe it is using the local dev server also.

      What is a good way to troubleshooting Firebase FCM with local devServer or should I be using something else?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • M
        marknigh last edited by

        It looks like troubleshooting the Push Notification from a local Dev Server is working just fine. I see in the dev tools the notifications from firebase.

        T 1 Reply Last reply Reply Quote 0
        • T
          technowebs @marknigh last edited by

          @marknigh Hi, Can you please share your thought on how to get the device token…I am trying below code, unfortunately, it’s showing getToken of undefined

           const fcm = new FCM();
           fcm
              .getToken()
               .then(r => console.log(`Token ${r.token}`))
               .catch(err => console.log(err));
          dobbel 1 Reply Last reply Reply Quote 0
          • dobbel
            dobbel @technowebs last edited by

            @technowebs

            What Quasar mode are you using? (SPA, Capacitor, Cordova, ect)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post