-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] An erroneous . is added to end of PWA web address in Android apk #78
Comments
Hello Jaifroid, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌 |
I'm able to repro. Investigating... |
I've found the cause of the issue. Submitting a PR now. |
OK, so there were 2 problems here:
I'm submitting a PR for the first item. But for the second item, your PWA URL is actually https://pwa.kiwix.org. Specifically, your manifest is https://pwa.kiwix.org/manifest.json, and it's start_url is set to "." - so your PWA "real" URL is So, that's the URL you should put into PWABuilder., https://pwa.kiwix.org I'm submitting a PR to patch up this issue to prevent it from happening in the first place. The fix should be in place by tomorrow (Thursday) |
Thank you for the quick fix @JudahGabriel! I did actually try Now tyring that URL on in Microsoft Edge, the code gets stuck on "If your app does not have a Web Manifest, we are generating one for you...", but your fix may not be in there yet. If I put in Oddly, |
Ah, I see our manifest detector wasn't handling URL redirection in the |
I've updated PWABuilder's manifest finding logic to check for HTML-based redirects. Here's the URL that tries to find your manifest: https://pwabuilder-manifest-finder.azurewebsites.net/api/findmanifest?url=https://pwa.kiwix.org You'll see it now successfully detects your manifest. Go back to PWABuilder, put https://pwa.kiwix.org into PWABuilder, and things should work this time. 👍 |
Great, that works now! Thank you @JudahGabriel for fixing it so quickly. |
Describe the bug
I created Store packages for my PWA by pointing PWABuilder to
pwa.kiwix.org/www/index.html
. The Windows msix package created from this works just fine. Testing the Android .apk on my phone, the app installs correctly (after fighting Play Protect...), but on launching the app, I get a 404 Not Found page showing in the app. When I look carefully at the URL, I notice that it ispwa.kiwix.org/www/index.html.
with that erroneous period/full-stop at the end (see screenshot). I click three dots, and choose "Open in Microsoft Edge", and the same erroneous page opens in Edge for Android. In Edge (but not in the app), I can edit the URL and remove the period, in which case the page loads correctly.Steps to reproduce
pwa.kiwix.org/www/index.html
. It will tell you that the PWA has a score of 150 points.Expected behavior
My PWA should work on Android.
Screenshots
Additional info:
The text was updated successfully, but these errors were encountered: