mmcclure
2 months ago
I switched to using PWAs for social media apps for similar reasons the author outlines. A pleasant, but somewhat unintended consequence is that I just use them a lot less because the experience is pretty bad. It makes me a little sad because I’ve always believed in the PWA dream, but the reality is that they’re bad because companies certainly don’t want to make an experience that rivals the app they really want you to download.
Expected, but just leads to reinforcing the idea that PWAs won’t ever be as good when every one people try from someone with a popular app is so awful.
qWoodpecker
2 months ago
What's funny is that desktop versions of websites in a lot of cases are responsive, and work fine on small screen. BUT at the same time the mobile version is crappy and lacks some features (or just shows "download our app").
Recently I've set up Firefox on Android so that it always run in desktop mode. I needed to also change screen width in about:config, because otherwise everything is too small. But after this websites seem to work better.
chii
2 months ago
> But after this websites seem to work better.
quite likely that the site has a mobile "mode" and a small-screen mode (for desktop), each made by different teams. some mobile mode website is fine, but others suck. Where as the small-screen mode for desktop tend to be made by the same team/person as the main site (it's a css media query after all) - so it's likely to be more coherent.
cubefox
2 months ago
What is the relevant setting in about:config?
tmseidman
2 months ago
It seems to be browser.viewport.desktopWidth; I found 500 to be a decent starting point on my phone.
cubefox
2 months ago
Thanks, it works! (I had to access about:config via chrome://geckoview/content/config.xhtml)
moho
2 months ago
While you're there flip general.aboutConfig.enabled to true so you won't have to use the silly config.xhtml URL again.
Lamprey
2 months ago
Alternatively, you can download Firefox Nightly instead of regular.
"about:config" just works in Nightly. No fuss.
You can sideload extensions in Nightly, too, after you activate the developer options. I don't think they've added that to regular, as yet? At least not with as much flexibility.
Anyway, I'm gonna try this mobile desktop mode thing and see how it goes. Thank you to everyone!
moho
2 months ago
Installing extensions from file is available on the release build as well, after enabling dev options.
I think the only difference is nightly allows installing unsigned extensions, which I don't personally have a need for (as getting a personal/non-published extension signed is very easy).
cubefox
2 months ago
That setting unfortunately resets after restarting the browser. But the width setting stays.
henriquemaia
2 months ago
What a great thread!
Thank you and previous poster for sharing how to get that working.
aembleton
2 months ago
To avoid the download our app nonsense, you can add this filter to uBO: https://raw.githubusercontent.com/DandelionSprout/adfilt/ref...
henriquemaia
2 months ago
What a great suggestion. I've followed your advice and it works. What a treat!
Thanks for sharing.
raw_anon_1111
2 months ago
And you don’t realize that social media apps put cookies on other websites so they know you have been to another website and then start showing you ads based on your interests?
Apps can’t tell what you do in other unaffiliated apps nearly as easily at least now on iOS that there is no globally unique identifier that apps can use to track you.
socalgal2
2 months ago
Apps require you to sign in so they've got you immediately. They can share all your activity with whoever they want. Websites (many) do not require you to login (youtube, reddit, hacker news, etc....)
Apps also try to open all links into their own webview, a webview in which they can track all activity.
raw_anon_1111
2 months ago
Even if you don’t log in, Facebook can tell that you were looking for something on a third party site.
And that was something that apps on iOS tried to do - see what other apps you were using by opening a url - Apple started restricting that years ago.
dahrkael
2 months ago
reddit in mobile forces you to use the app
matt-attack
2 months ago
Not old.Reddit.con
GJim
2 months ago
> They can share all your activity with whoever they want.
Ummmm.... You are aware of the GDPR?
Your data cannot be shared with anybody without your explicit opt-in consent. If you choose to give this consent, then more fool you.
raw_anon_1111
2 months ago
Except for the government once the EU passes Chat Control…
robhlt
2 months ago
All privacy-respecting browsers block 3rd party cookies by default now, which prevents that kind of tracking. There's still other forms of fingerprinting they can use, but those can be used in apps as well.
raw_anon_1111
2 months ago
What are these other forms that apps can use?
kalleboo
2 months ago
A combination of data about your browser/os/hardware/locale configuration https://amiunique.org
raw_anon_1111
2 months ago
You realize you just made my point for me that websites can track you more easily than apps…
FWIW: the website completely errored out on my iPhone until I turned my ad blocker off in Safari.
kalleboo
2 months ago
Whoops, I misread your post, my bad.
But I guess apps can run web views that have access to all the same fingerprinting as a standalone browser, minus any ad-blocking plugins (on iOS at least)
doctor_radium
2 months ago
With a browser, you have the ability to block cookies, block whole hosts/domains, alter DOM content, alter tracking URL's, and (often) disable low level features you don't like. With apps, not so much.
raw_anon_1111
2 months ago
And still waiting for examples of how apps can track you better. If the server wants to track you by your originating IP, all of the client side blocking will do nothing
ranger_danger
2 months ago
What is your definition of "track you" in this context?
If it's to pinpoint a unique device accessing a website even through VPNs and/or other IP changes, there are an untold number of ways that apps can track you better than a website.
Apps have access to many device-specific APIs in addition to all the web ones, and every additional bit of information used can be added to the mix to create an even more unique fingerprint of the specific device accessing a website.
For example with phones, an app (even if it's mostly just a webview) may now also have access to your phone model, phone number, maybe your contacts or GPS location, and many other things.
raw_anon_1111
2 months ago
A website Can easily deduce your phone model based on the browser agent attribute which tells the operating system and the screen resolution with a fair degree of certainty, an app can’t get your phone number, it can get your GPS with your permission. But so can a web page with your permission. There is a standard JavaScript API for it. Contacts are also gated by permissions.
And there is a Contact Picker API for browsers
https://developer.mozilla.org/en-US/docs/Web/API/Contact_Pic...
ranger_danger
2 months ago
> an app can’t get your phone number
Apps can absolutely get your phone number:
https://stackoverflow.com/questions/2480288/programmatically...
LargoLasskhyfv
2 months ago
VPN, TOR...
raw_anon_1111
2 months ago
And once you install a VPN on your phone it also keeps apps from revealing your IP address.
ranger_danger
2 months ago
Some apps can/will detect that an OS-level VPN has been activated though, and refuse to work at all. Spectrum TV does this for example, as well as some banking and other types of apps.
raw_anon_1111
2 months ago
Yes and sites can also fairly reliably detect when a user is coming from a well known IP address block belonging to a VPN or VPS provider. It’s a built in feature of I know at least AWS
https://aws.amazon.com/about-aws/whats-new/2020/03/aws-waf-a...
ranger_danger
2 months ago
Assuming you are using a "well known IP address block belonging to a VPN or VPS provider", yes, but it is also possible to setup VPNs/proxies outside of well-known IP blocks.
user
2 months ago
user
2 months ago
jeroenhd
2 months ago
PWAs can be good, but for a lot of social media, they're only as good as their website experience. Many (most) companies seem to make their website intentionally slow and buggy, probably with the idea that users only need to use their web UI for a short while because they lost access to their apps or something.
For instance, I've installed Mastodon as a PWA and it performs great. Photoprism also works so well I haven't even bothered to look for an app.
array_key_first
2 months ago
The absolutely batshit insane part is that the 'native apps' are almost certainly created using web technologies which call the exact same APIs as the web app.
There's zero reason the web apps should be so slow.
severine
2 months ago
Try Phanpy for the fediverse: https://phanpy.social/
Maybe the best web app I've used.
georgefrowny
2 months ago
I'm convinced many companies purposely gimp their web sites to drive people to apps.
Uber for example doesn't seem to work from my phone browser.
What surprises me is how many engineers must be involved in this kind of scummy shit and keep it tightly under wraps.
pavel_lishin
2 months ago
You can't use Facebook Messenger on the web at all, unless you go to Facebook and switch to the desktop version. Then it's a simple matter of zooming in without accidentally clicking anything, using their fiddly interface to load up the conversation you're interested in, and get bounced around the screen as the input focus changes around.
tim333
2 months ago
Puzzled because I use Messenger web version all the time on the laptop. Works pretty normally. I don't use Facebook usually. Maybe if they detect a phone they refuse?
georgefrowny
2 months ago
Usually they only break the mobile websites. They know they won't get people to install programs on their computers for "online things". Not least lots of people don't have admin rights in their computers, but also people are used to accessing "online things" via browsers on computers rather than an app per website.
But, they've managed to make "phones use apps, not browsers" a social norm that enough people accept tacitly, perhaps because near enough everyone has the ability to install apps on their own phones.
pavel_lishin
2 months ago
Right, exactly - the mobile version just shows a page prompting you to download and install the Messenger app.
petepete
2 months ago
They've gone an admirably long way to fuck up a text input.
jsheard
2 months ago
> I'm convinced many companies purposely gimp their web sites to drive people to apps.
And then their app is just a webview wrapper. But that still gives them more access to your device.
raw_anon_1111
2 months ago
Exactly what access do you think they have that you don’t specifically allow that they don’t have from a web browser - running on the same device?
vachina
2 months ago
Apps can leverage system APIs, gain always-on persistence.
Not long ago Facebook (Meta) was caught spinning up localhost server on Android devices to gather activities outside of the app.
raw_anon_1111
2 months ago
On iOS devices you can turn off the ability to allow apps to wake up on a one by one basis “background refresh”.
And if you are concerned with your privacy, it’s nonsensical to buy a phone run by an adtech company that only made the operating system in the first place to sell ads and collect your data
chasing0entropy
2 months ago
That's an easy one, hold my beer:
Pwa with permissions granted gives access to: Location, create notification, phone state, phone #, IMEI, motion data
Mobile app with permissions gives access to EVERYTHING a pwa gets PLUS, Contacts, sms, notification content, biometrics data, web browsing data, phone activity history, location history, camera access, microphone access, NFC access, near device history, nearby wifi listing, saved wifi networks, Bluetooth device ID, Bluetooth beacons nearby, some device settings, personal data access(photos/music)
raw_anon_1111
2 months ago
So you mean if I give an app permission to do something it has permissions to do that thing? How is that a security issue to be worried about?
And iOS doesn’t allow third party apps to intercept SMS messages.
dwedge
2 months ago
It's rare for me to see this sarcastic attitude in replies on Hacker News. It's common on Reddit, but not here.
raw_anon_1111
2 months ago
I mean it wasn’t a great argument that apps can do stuff after you give it permission to do stuff.
senordevnyc
2 months ago
Maybe on Android. Literally half of that shit isn’t accessible by iOS apps even with full permissions. This feels like you’re just throwing shit against the wall.
grvdrm
2 months ago
Instagram - major offender.
chipheat
2 months ago
Oddly effectively because I end up using it less in general
grvdrm
2 months ago
Exactly - me too. But infuriating when I try.
tifik
2 months ago
I was wondering if it's just me. I am using Brave on iOS with all the possible blockers enabled, so I'm not surprised when some website doesn't work well. Instagram literally freezes solid after 5-15s of being on the website, so I usually only quickly scan the top 2-3 posts in the feed. I only follow people I know personally, so this is usually enough to do once or twice a day and stay up to date. If I see a close friend posted a story I kinda want to see then it usually takes two or three hard closes of the browser to actually see it. Sucks, but sucks less than being mental gamed into doomscrolling every time I get an app notification.
PaulHoule
2 months ago
By the stopwatch it takes 3x longer for me to upload a photo to the Instagram web app than it does to Mastodon. Facebook's blue website works pretty well but the Instagram site comes across like something that was vibe coded in a weekend or maybe a straw man that was made to prove SPAs are bad. Contrast that to the Mastodon application produced by a basically unfunded application that's fast and reliable.
input_sh
2 months ago
Just hours ago I couldn't even copy-paste a description of a post I drafted in another app. Literally nothing happened when I tried to paste. No console errors, no feedback, nothing.
It was a bit of a longer one, but still far below Instagram's supposed character limit. The fact that they somehow broke copy-paste functionality really baffles me.
grvdrm
2 months ago
Yep. Either it’s actually that bad or it’s just purposefully hampered. Same end user experience either way.
georgefrowny
2 months ago
Surely at some point some team that writes this has to demo it and someone checks it. After however many years of it not working, surely that's strategic, not accidental.
It's such a pervasive pattern and somehow always in the direction: the app works better than the website. If there even is a website.
PaulHoule
2 months ago
Sometimes it goes the other way, in fact enough it's a running gag that the banner that says "Download our app for a better experience" at sites like Reddit ought to have one of these
6c696e7578
2 months ago
I would say use flickr, but that's shitified now.
wffurr
2 months ago
When someone sends me an Instagram link I edit to imginn.com instead.
m463
2 months ago
> Uber for example doesn't seem to work from my phone browser.
Remember when uber wouldn't work for regulators either?
https://en.wikipedia.org/wiki/Controversies_surrounding_Uber...
hdjrudni
2 months ago
I don't know if big companies even know how to make web apps. Honestly. Which is extra insane to me because there's so much investment in web technologies. On my team at $BigTech there's like 1 or 2 people out of 30 people on our team that knows web, the rest are mobile. I'm a web guy but I refuse to touch our web-app because they butchered the tech stack and I don't have the energy to deal with that BS. We still have an mobile-web version distinct from the 'desktop' version because.... I don't know why, whoever wrote it never learned about responsive web design and we never bothered to move out of the stone ages because if people want to use the app on their phone, they should download the native app of course! And by "native" I mean we built our own half-baked framework so that we could cross-compile for Android and iOS.
Also I don't think these people know how capable PWAs are. There's very little you can't do in a web-app that you can do with a native app.
user
2 months ago
DANmode
2 months ago
Normies just see everything as “apps”,
and don’t mentally differentiate how they’ve put it on their homescreen once it’s there.
Plenty of great crossplatform webapps, if you’re not exclusively using social media or spyware. Often even if you are!
ruralfam
2 months ago
I have had a FOSS web app for learning arithmetic for quite a few years. I occasionally review it, and make changes. Each year Chrome and Safari both nip at the edges of what allows a PWA to be OK. No one really cares until one has to write documentation helping folks install the PWA and avoid issues that did not affect the PWA a few years ago. I mean really, are Tim and Sundar really that afraid ?? I guess so. They have dozens of millions on the line. Capitalism... gotta luv it.
boppo1
2 months ago
Hmm, I'm making a site and I planned on using a PWA for the app experience instead of a native app. Am I setting up for a bad time? I'm not too worried about the installation hurdle, my potential early adopters are motivated and smart.
boppo1
2 months ago
I'm making an app and I plan to go the PWA route to save myself on managing native apps. Any tips on making my experience first-class?
bstasse
2 months ago
If you're using React, I'd recommend using Silk (silkhq.com) to create native-like bottom sheets, pages, sidebar, etc.
Most animations, including the swipe, are hardware-accelerated, and it deals with a lot of common issues you encounter on the mobile web (body scrolling, on-screen keyboard, etc).
Disclaimer: I'm the creator of Silk.
lanfeust6
2 months ago
Personally my experience with PWAs has been solid, on Firefox w control over JS. I still use them a lot less because I don't stay signed in.