title: Laravel Nova Notification Feed package is not working
body: <p>I am using Laravel Nova for the CMS Admin panel. I am integrating live notification feed feature into my Nova application using this package, <a href="https://novapackages.com/packages/coreproc/nova-notification-feed" rel="nofollow noreferrer">https://novapackages.com/packages/coreproc/nova-notification-feed</a>. But it is not working.</p>
  
  <p>I installed the package running this command,</p>
  
  <pre><code>composer require coreproc/nova-notification-feed
  </code></pre>
  
  <p>Then I migrated the required database tables</p>
  
  <pre><code>php artisan notifications:table
  
  php artisan migrate
  </code></pre>
  
  <p>Then I added the required keys in the env file</p>
  
  <pre><code>BROADCAST_DRIVER=pusher
  PUSHER_APP_ID=xxxxxxx
  PUSHER_APP_KEY=xxxxxxx
  PUSHER_APP_SECRET=xxxxxx
  PUSHER_APP_CLUSTER=xxx
  </code></pre>
  
  <p>I uncommented BroadcastServiceProvider line in the config/app.php as well.</p>
  
  <p>Then I added the following lines in the appropriate places as mentioned in the documentation in the resources/views/vendor/nova/layout.blade.php file.</p>
  
  <pre><code>@include('nova-echo::meta') &lt;!-- INCLUDE THIS LINE HERE --&gt;
  
  @include('nova_notification_feed::notification_feed') &lt;!-- AND THIS LINE HERE --&gt;
  </code></pre>
  
  <p>To make sure the Echo and the Push are working, in the resources/views/vendor/nova/layout.blade.php  file I added the following code snippet before the closing body tag.</p>
  
  <pre><code>&lt;script&gt;
          Nova.liftOff()
          Echo.channel('orders')
              .listen('OrderShipped', (e) =&gt; {
                  alert('Pusher is working')
              });
      &lt;/script&gt;
  </code></pre>
  
  <p>When I refresh the admin page, I can see that the channel is subscribed in the Pusher dashboard/ console.</p>
  
  <p><a href="https://i.stack.imgur.com/QOLl9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QOLl9.png" alt="enter image description here"></a></p>
  
  <p>But when I push notification from the Pusher console/ dashboard, it says the message has been pushed, but the event in the code is not working.</p>
  
  <p><a href="https://i.stack.imgur.com/3kNyy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3kNyy.png" alt="enter image description here"></a></p>
  
  <p>What is wrong or missing in my code?</p>