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

    Push-notification with Quasar and FCM

    Help
    9
    10
    10649
    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.
    • A
      artenesama last edited by

      hello, I am new to hybrid mobile development and I am considering to use Quasar in a project. I’d like to know how can I integrate a push-notification service like FCM with vuejs and Quasar?

      1 Reply Last reply Reply Quote 1
      • J
        JCharante last edited by JCharante

        FCM also has a library for the Web, have you tried this? I don’t see why using it with Vue.js would be any different than VanillaJS

        1 Reply Last reply Reply Quote 2
        • S
          spectrolite last edited by

          quasar will not get in your way
          depending on your endgame platform, you may want to go for a cordova plugin right away

          If your target is mobile (iOS or android), take a look at this https://github.com/fechanique/cordova-plugin-fcm
          If you target the web, you should be ok with just the FCM Javascript SDK and this example will help you:
          https://github.com/invokemedia/vue-push-notification-example

          1 Reply Last reply Reply Quote 0
          • F
            felixis last edited by

            Hello, I tried using the cordova-plugin-fcm but kept getting an FCMPlugin not defined error while building quasar. I am unable to understand as to how to import this library in my quasar project. Can somebody help me with this?

            A 1 Reply Last reply Reply Quote 1
            • R
              rafaelbtz last edited by

              Edit .eslintrc.js file and add ‘FCMPlugin’: true, in global list, result:
              globals: {
              ‘cordova’: true,
              ‘FCMPlugin’: true,
              ‘DEV’: true,
              ‘PROD’: true,
              ‘__THEME’: true
              },

              D 1 Reply Last reply Reply Quote 0
              • D
                D3myon @rafaelbtz last edited by

                @rafaelbtz said in Push-notification with Quasar and FCM:

                Edit .eslintrc.js file and add ‘FCMPlugin’: true, in global list, result:
                globals: {
                ‘cordova’: true,
                ‘FCMPlugin’: true,
                ‘DEV’: true,
                ‘PROD’: true,
                ‘__THEME’: true
                },

                Hi,

                I’ve got the same problem as @felixis. This one did not work for me.
                I only find information about how to get the cordova-plugin-fcm installed, but there is no information about how to import the FCMPlugin into the Quasar-App.

                Of course, there are information about the pure usage. But somehow, I need to get the plugin inside my app code.

                1 Reply Last reply Reply Quote 0
                • eder.blinga
                  eder.blinga last edited by

                  To send push message, I use https://onesignal.com/ is very simple and practical. And it contains all the instructions for configuring

                  1 Reply Last reply Reply Quote 0
                  • D
                    D3myon last edited by

                    I will take a look. Thank you. 🙂

                    1 Reply Last reply Reply Quote 0
                    • A
                      ak22 @felixis last edited by

                      @felixis I know this is old but I was getting this error as well, the fix was simple, access the FCMPlugin through the window as in window.FCMPlugin.

                      1 Reply Last reply Reply Quote 0
                      • B
                        BugFixer last edited by

                        Hello Every one I would like to know how to use the capacitor pushnotification with quasar. Thank you

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