Skip to content

fix(android): serve web manifest locally for bubblewrap project generation - #146

Merged
izzywdev merged 1 commit into
masterfrom
claude/fuzefront-pwa-android-apk-0cj8ql
Jul 3, 2026
Merged

fix(android): serve web manifest locally for bubblewrap project generation#146
izzywdev merged 1 commit into
masterfrom
claude/fuzefront-pwa-android-apk-0cj8ql

Conversation

@izzywdev

@izzywdev izzywdev commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

APK build run #4 revealed that bubblewrap update also fetches webManifestUrl (https://app.fuzefront.com/manifest.webmanifest) during project generation — not just the icons. Since the production URL isn't live yet, it gets back an HTML 404 page, causing cli ERROR Unexpected token '<', "<!doctype "... is not valid JSON.

  • Add frontend/public/manifest.webmanifest — a static copy matching what the Vite PWA plugin generates in dist/. This file will also be served by the live app once deployed.
  • Patch webManifestUrl to http://localhost:8080/manifest.webmanifest in the scaffold step, alongside the existing icon URL patches.
  • Add frontend/public/manifest.webmanifest to the workflow paths trigger so future manifest changes rebuild the APK.

What changed

  • frontend/public/manifest.webmanifest — new static web app manifest (same JSON as dist/manifest.webmanifest)
  • .github/workflows/build-android-apk.yml — patch webManifestUrl to localhost + add path trigger

Test plan


Generated by Claude Code

bubblewrap also fetches webManifestUrl during project generation.
app.fuzefront.com/manifest.webmanifest returns HTML (404) which
bubblewrap can't parse as JSON.

- Add frontend/public/manifest.webmanifest (static copy, same content
  as what Vite PWA plugin generates in dist/)
- Patch webManifestUrl to http://localhost:8080/manifest.webmanifest
  alongside the icon URL patches already in place

Co-Authored-By: Claude <noreply@anthropic.com>
@izzywdev
izzywdev marked this pull request as ready for review July 3, 2026 06:54
@izzywdev
izzywdev merged commit 47797dd into master Jul 3, 2026
27 of 32 checks passed
@izzywdev
izzywdev deleted the claude/fuzefront-pwa-android-apk-0cj8ql branch July 3, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants