Skip to content

Instantly share code, notes, and snippets.

@JohnReedLOL
Created March 20, 2024 04:07
Show Gist options
  • Save JohnReedLOL/192c3f3d5399b8508a83e3c275abc7ae to your computer and use it in GitHub Desktop.
Save JohnReedLOL/192c3f3d5399b8508a83e3c275abc7ae to your computer and use it in GitHub Desktop.
Complaint about Google Chrome for Android and Progressive Web Apps
Dear Google Chrome,
I need a little bit of technical assistance. Before you sigh or roll your eyes, know I have a computer science degree, used to work as a software engineer at Amazon, and have used Linux as my personal desktop operating system for the past 10 years, so I'm pretty tech savvy. Now here's the issue.
I want to save a shortcut that goes directly to https://www.facebook.com/events/ on my phone's home screen. With the DuckDuckGo app I can do that no problem. I just go to https://www.facebook.com/events/ , tap the three dots on the top right corner, tap "Add to Home Screen", and I have a shortcut that takes me straight to https://www.facebook.com/events/ on my home screen. That being said, I want that shortcut on my Android phone to use the Google Chrome browser, not the DuckDuckGo browser, but when I tap the three dots on the top right of Google Chrome and try to select "Add to Home Screen", all I see is "Install app". When I tap this, it adds a Facebook shortcut to my home screen, but it goes to the main Facebook home, like with my home timeline, not to the URL https://www.facebook.com/events/ . Like it basically tries to create a Facebook Progressive Web App (PWA) that is supposed to substitute for the Facebook Android app, but it can't and doesn't open straight to Facebook Events.
There is something fundamentally wrong with the way things are done with mobile sites versus apps. Take Facebook Events as one example. Facebook Events is available as a section within the greater Facebook mobile app or as a site in the web browser at URL https://www.facebook.com/events/ . The mobile web app version of Facebook Events and the mobile website version of Facebook Events have two different sets of features. For example, only the mobile website tells me which events are happening in my area this afternoon in specific. The Facebook Events mobile app can tell me what events are happening this week, like during this upcoming weekend, but if I am at work and want to see what events are available in my area after I get off work, I have to use the Facebook Events mobile website page, not the web app. I have had other sites and apps where I have had to switch between the mobile app and the mobile site depending on which features I wanted. It sucks.
Google Chrome went along with this idea for a thing called "Progressive Web Apps", see https://en.wikipedia.org/wiki/Progressive_web_app . The Progressive Web App is supposed to function as sort of a JavaScript based substitute for the mobile app, where the user gets a shortcut to the PWA on their phone's home the same way they get one for the mobile app and then it behaves the way the mobile app behaves. The problem is I don't want a drop-in replacement for the mobile app. The mobile app sucks. I want to use the website at a specific web URL, like the URL https://www.facebook.com/events/ . I don't want it to open up to the Facebook home and then function like an installed application from there. I want it to open up to the specific page https://www.facebook.com/events/ .
PWA's are incredibly annoying. If I am in a browser page based shortcut like I would be with DuckDuckGo, I can quickly open up a new tab, do something in the new tab, and then go back to the old tab, but I can't do that from inside a PWA because the thing is like its own separate sandbox where I can't open other web pages inside the same sandbox the way I can with a regular web browser. Simply put, making PWA's the default on Google Chrome for Android was a bad idea. You should have gone with the approach that the DuckDuckGo browser for Android uses.
- John Michael Reed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment