Can't use it / doesn't show up (logged in or anonymous)

Created on 25 August 2023, over 1 year ago

Problem/Motivation

It seems, the block doesn't show anything / the module seems to be not working?

I see this HTML:

<div class="region region-footer-block-4">
    <div id="block-events-pwaaddtohomescreen" class="block block-pwa-a2hs block-pwa-add-to-home-screen">
      <h2>PWA Add to Home Screen</h2>
    
      <div class="pwa-a2hs hidden" name="pwa-a2hs-button-target">
    <p>Add App</p>
</div>
  </div>
  </div>
     

Steps to reproduce

In installed:
composer require 'drupal/pwa:^2.0@RC'
activated all 3 sub modules.
Configured details at '/admin/config/services/pwa/manifest'
Placed the PWA block in the footer, gave it a title.
Cleared the cache.

I can see the title, but no button or anything.
Doesn't work for logged in and anonymous users.

The 'access content' persmission doesn't exist (anymore?) in D10 - I've got:
View published content
Access the Content overview page
activated for the Anonymous user.

I've tried it on the Chrome desktop browser and my Android browser - I can see the title of the blog, but not the install button.
I'm connected via HTTPS and I've got JS and CSS aggregation activated.

What am I doing wrong?

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024