I am working on a progressive web app and it has a file input button to choose a file from the device storage. It works fine offline on chrome desktop version but the android version disables the button. I have no idea how to fix this. There are no css in the project for now just the html and the javascript code for the service worker.
Chromebook user or not, as long as you're a Chrome user, you can install offline extensions (and apps) for common tasks like note taking and editing PDFs. We'll show you some of those extensions today, right after we introduce you to the most important extension of all: My Cats New Tab.
You can try disabling it in the chrome://flags/ config by searching for offline and disabling those. I think I figured it out! This was annoying the beejebus out of me. I have a Pixel 3a running latest version of Android, FYI.
I figured out what was going on with my own page -- somehow every time I hit the app in the home screen, it would go to the saved offline page from Chrome instead of trying to actually use my PWA, and those saved offline pages have their inputs disabled.
I had to go delete the saved web page from Chrome to get mine to work again.
I only noticed because I changed some text around and nothing was correctly updated.
Your seems code is ok. So it might be the set up of the sys.
check the google tutorial https://developers.google.com/web/fundamentals/codelabs/your-first-pwapp/?hl=en#download_the_code
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With