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

Created on 25 August 2023, 10 months ago
Updated 15 October 2023, 8 months 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?

Edit

I just found out, that I can install it by clicking in the Chrome desktop browser when I'm logged in.
But I can't do so when I'm in an incognito window.

πŸ’¬ Support request
Status

Closed: works as designed

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.69.0 2024