Skip to content
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

Cannot download Android package #697

Closed
migliori opened this issue Mar 27, 2020 · 13 comments
Closed

Cannot download Android package #697

migliori opened this issue Mar 27, 2020 · 13 comments
Assignees
Labels

Comments

@migliori
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://www.pwabuilder.com/'
  2. Enter https://www.phpcrudgenerator.com/ then click the start button
  3. Click to build PWA
  4. Click to download the Android package
  5. It fails without any console error

Additional info

  • OS: Windows 10
  • Browser chrome
  • Browser Version 80.0.3987.149

Thanks for your help

@ghost
Copy link

ghost commented Mar 27, 2020

Hello migliori, 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 🙌

@JudahGabriel
Copy link
Contributor

This may be an issue with BubbleWrap, the underlying tool we're using to generate and sign the APK. I'll investigate.

@migliori
Copy link
Author

Thanks, I appreciate your involvement & will wait

@JudahGabriel
Copy link
Contributor

Issue 698 is unrelated. I also tried generating directly with Bubblewrap and it works, meaning the issue is on the PWABuilder side of things.

One thing you can try: in your app manifest, change start_url to "/".

Try that and let me know your result.

@migliori
Copy link
Author

migliori commented Apr 3, 2020

I changed the manifest start_url, it didn't help
Then I removed all the directives from my .htaccess (including Content-Security-Policy) except rewrite rules, and got this console error: https://pasteboard.co/J23iio4.png

@nfpsaraiva
Copy link

Same here. On the interface it shows me "fetch failed"
I wen to the browser inspector and copy the request that it was trying to make and replicate that request with a CURL command and returned 5XX error from the server side

@JudahGabriel
Copy link
Contributor

OK, thanks for letting me know. Investingating, I'll get back to you shortly.

@jgw96
Copy link
Contributor

jgw96 commented Apr 7, 2020

Hey all! @migliori and @nsaraiva91 , would yall mind giving this another try? As part of fixing another issue this morning I think this one might possibly be fixed too. Thanks!

@jgw96 jgw96 self-assigned this Apr 7, 2020
@jgw96
Copy link
Contributor

jgw96 commented Apr 7, 2020

@migliori just tried your site and can confirm it builds now. Thanks for opening an issue with us!

@jgw96 jgw96 closed this as completed Apr 7, 2020
@jgw96
Copy link
Contributor

jgw96 commented Apr 7, 2020

@nsaraiva91 please feel free to comment if your site still has issues (:

@nfpsaraiva
Copy link

Hmm now it throws an error saying it can't find an icon from webmanifest:

Error generating signed APK: Error: Failed to download icon https://hintigo.com.br/../../../images/hintigo/favicon/frontoffice/favicon-192x192.png. Responded with status 400

My manifest file is in a subdomain (https://cdn.hintigo.com.br), so the icons have relative paths from that subdomain.

Does this may be a problem?

@migliori
Copy link
Author

migliori commented Apr 8, 2020

@jgw96 Thanks, it works now perfectly for me!

@jgw96
Copy link
Contributor

jgw96 commented Apr 8, 2020

@nsaraiva91 ahh yeah, thats gonna be a problem. We might could handle this better on our side, but i would say that its best practice to not have your icons in a subdomain from your PWA, you might run into issues caching them with a service worker at that point too. @migliori thanks for letting me know!

@ghost ghost locked as resolved and limited conversation to collaborators Jun 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants