Bagisto Forum

    Bagisto

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

    e-commerce pwa push-notification tab not displaying

    General Discussion
    3
    6
    688
    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.
    • V
      valpuia last edited by

      I have install this pwa extension and setup firebase according to this documentations.
      My doubt is I don't have Configure -> PWA -> Push Notifications in my site, so I cannot enter Firebase credentials. I have Configure -> PWA -> Settings and also progressive web app (menu) in sidebar below Configure menu to create Push Notification (CRUD).

      pwa.png

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        Hi @valpuia

        clone PWA from here https://github.com/bagisto/laravel-pwa
        and check again.

        1 Reply Last reply Reply Quote 0
        • V
          valpuia last edited by

          Hi @Vaishali-Agarwal
          I've clone the project but it doesn't display firebase setup
          It just add push notification like below image

          pwa.png

          and on the PWA(CRUD), notification bell doesn't redirect back.. (means when I click notification bell-icon it redirect to another blank page

          1 Reply Last reply Reply Quote 0
          • A
            aayush.bhatt172 last edited by

            Hello valpuia,

            We are working on firebase configuration and fixing PWA Push Notifications.

            hbh.png

            1 Reply Last reply Reply Quote 0
            • V
              valpuia last edited by

              Hi @aayush-bhatt172 is it fixed or not?

              1 Reply Last reply Reply Quote 0
              • A
                aayush.bhatt172 last edited by

                Hello valpuia.

                Partially it is fixed. You can use topic and Legacy Server Key from the admin panel.
                For rest of the credentials, you can add the to code for now.

                Files:
                1. push-notification.js
                location: PWA/src/Resources/assets/js/plugins/push-notification.js
                Line: 5

                2. service worker.js
                location: PWA/publishable/pwa/service-worker.js
                Line: 201-207, 212.

                Than run "php artisan vendor:publish --force". This will publish your assets to public folder. That's it.

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