Closed pinapelz closed 4 months ago
How did you test this locally as a PWA?
The server seems to get completely borked when I try to access it as a PWA. I'm running Chrome on Android. @ap0nia any ideas why?
Are you running the dev server and forwarding the port? I tried that and ran into an issue for that where the PWA was just a white screen (even when I just cloned directly from the main repo)
I ended up just deploying it to Cloudflare pages via pnpm run build
and that seemed to allow me to use the PWA. I have no idea why directly using the dev server doesn't work though.
Summary
This PR builds off of #834 . The issue is that you need to explicitly tell iOS that your website is PWA capable and that you want the status bar to match the theme color in your meta tags.
Assuming you guys also want something similar on Android, you'll need to specify what color as a
theme-color
meta tag.I've applied the previously proposed colors to the manifest files and made the necessary changes to the meta tags.
Deployment Note
The PWA currently does not work off of the dev server with port forwarding, so we need to figure that out or find another way to test it.
Before and After
Test Plan
Run locally and test visually
Issues
Closes #840