Comments (4)
Possibly related issues linked below, at least other developers might land on them trying to debug this... I see dozens of others too, however just trying to get this Issue a bit of visibility.
#4640, #2219, #697, #397, #1365, #1418, #2123, #1375, #1935, #1132, #4558, #1610, #2712, #1266
from pwabuilder.
Hey @jessuppi do you have an example web manifest that this wordpress plugin generates? It sounds like it is not valid JSON from the error, but this would help us confirm.
from pwabuilder.
For the semi-official PWA plugin released by WordPress.org, the manifest URL is here:
/wp-json/wp/v2/web-app-manifest
I ran a few tests, with the Offline browsing option both enabled and disabled but the JSON output appeared the same. It could be a coincidence during my tests, maybe previously the output was NOT the same, but unlikely:
{"name":"Example Site","start_url":"https:\/\/example.com\/","display":"minimal-ui","dir":"ltr","short_name":"Example","lang":"en-US","background_color":"#fff","theme_color":"#fff","description":"My website is about cats","icons":[{"purpose":"any","src":"https:\/\/example.com\/wp-content\/uploads\/sites\/4\/2023\/12\/cropped-logo-512-192x192.png","sizes":"192x192","type":"image\/png"},{"purpose":"any","src":"https:\/\/example.com\/wp-content\/uploads\/sites\/4\/2023\/12\/cropped-logo-512.png","sizes":"512x512","type":"image\/png"}]}
It validates fine on JSONLint too.
The JSON output appears minified, but I think that is from Cloudflare. In any regard, the minification didn't seem to hurt anything because on subsequent attempts, PWA Builder packaging worked fine.
By the way, it might be related, I saw the problem on a WordPress Multisite installation. I haven't found any documentation or similar experiences to mine, so just wanted to share. The HTTP headers also appear to be the same both with Offline browsing enabled and disabled.
from pwabuilder.
Ahhhh, you mentioned Cloudflare, yeah this is probably minified from them. Another weird thing I noticed is those icon URLs don't seem to load correctly in my browser. Thanks for sharing this info, I am going to close this issue for now as you mentioned its working for you now, but again, thanks for the info!
from pwabuilder.
Related Issues (20)
- [BUG] Please publish the latest install component HOT 2
- Accessibility Full Conformance test pass on PWA Builder on web - June'24 HOT 1
- Support Android Auto HOT 1
- {Freeway-Bug}[PWA Builder]: Color contrast ratio fails for the URL after pasting inside the 'enter the URL' edit field.
- {Freeway-Bug}[PWA Builder]: Color contrast ratio is less than 3:1 for the close icon present on the discord popup.
- [PWA Builder]: Keyboard Focus Not Visible on Action Items Expandable Button. HOT 1
- [PWA Builder]: Screen Reader Does Not Announce Selected State for Action Items Button.
- [PWA Builder]: Keyboard Users Unable to Select or Deselect Action Icons Button.
- [DOCS]: Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds HOT 1
- [PWA Builder]: Insufficient Color Contrast for Close Icon Button on Share Score Dialog.
- [DOCS]: Luminosity Contrast Ratio is 2.646.1 for the Placeholder text of the Search edit field.
- [PWA Builder - DOCS]: Selected state not defined for the menu buttons present in left navigation pane. HOT 1
- [PWA Builder]: Keyboard Users Unable to Access Controls Under Tooltip Flyout in Action Item Section. HOT 2
- [DOCS]: State property not defined for the expendable buttons present in left navigation pane. HOT 2
- [PWA Builder - DOCS]: Keyboard Focus indicator is not Visible on selected menu buttons in left navigation pane. HOT 1
- [PWA Builder]: Hamburger Menu Not Visible in High Contrast Aquatic and Desert Modes. HOT 2
- [BUG] Failed to fetch Our service was unable to package your PWA. HOT 3
- [PWA Builder]: PWA Builder button text is getting overlaps with blog link after reflowing the page at 400 zoom. HOT 2
- [PWA Builder]: Nested Interactive Controls Unannounced by Screen Readers. HOT 2
- [PWA Builder]: Element Role Does Not Support ARIA Attributes. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwabuilder.