Do you have any tips for debugging why the "Add to homescreen" button may not appear on mobile? As that's the issue I'm having :(
Nvm - sorted it! Apparently htaccess rewrite's stop the "Add to homescreen" from appearing.
#RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{REQUEST_FILENAME}\.html -f #RewriteRule ^(.*)$ $1.html [NC,L]
Ah I see.. then what should we do to resolve it?
Just comment any redirects out like I have and it works :) Worth noting I'm not using any js framework, my PWA was very basic - haha.
Even I build PWAs without any framework. That doesn't mean it's basic, it means you know to do stuff without the help of a framework. 🙂 Good work 👍
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Do you have any tips for debugging why the "Add to homescreen" button may not appear on mobile? As that's the issue I'm having :(
Nvm - sorted it! Apparently htaccess rewrite's stop the "Add to homescreen" from appearing.
Ah I see.. then what should we do to resolve it?
Just comment any redirects out like I have and it works :) Worth noting I'm not using any js framework, my PWA was very basic - haha.
Even I build PWAs without any framework. That doesn't mean it's basic, it means you know to do stuff without the help of a framework. 🙂 Good work 👍