3 ms·
> Every single app on the App Store gets device sync for free via iCloud. I can drop my iPhone in the ocean, buy a new iPhone and and my new iPhone will have al
by danShumway 3y ago
> Every single app on the App Store gets device sync for free via iCloud. I can drop my iPhone in the ocean, buy a new iPhone and and my new iPhone will have all of the data that my old iPhone had within the last 24 hours.
Do PWAs?
Like holy crud, it's like you're not reading anything I'm saying. This is what everyone is telling you, PWAs lack critical capabilities. And you keep saying, "no, it's fine, why don't they just [insert capability that isn't available to them]."
> Because for the majority of users - they don’t need a separate account because all of their state can either be saved by the app just saving locally and letting iCloud take care of it. By logging the state in Game Center or some apps like Overcast use the users app specific iCloud token (each app gets a unique token per user not shared across apps) and stores state server side.
Which isn't available to PWAs.
> I can guarantee you that most users expect to have everything backed up automatically and expect to be able to move between devices.
Which isn't available to PWAs.
It's not even available to PWAs that do use an online account. iOS has unreliable background sync for PWAs, so if you use a PWA without an Internet connection, you can't rely on that data getting synced in the background once you do get an Internet connection. You have to remember to re-open the app to make sure that the sync happened.
> That must be why no one uses Google apps so their data is accessible across devices, Office 365 and why Chromebooks are so unpopular because people don’t like cloud backup….
I'm sorry, are you seriously going to try and argue that users don't care about the ability to have offline storage? This is unbelievably out of touch.
This must be why nobody complained about Windows requiring a Microsoft account to install, why nobody uses Sublime or Notepad because they don't have online accounts, why nobody ever downloads DRM free games, and why nobody uses a computer offline /s
It's just absurd. Of course users like having the option of reliable offline storage. The inability to integrate with iOS backup and the inability to store data reliably without an internet connection and a separately managed user account or online storage service is very, very obviously a barrier to using PWAs for serious work.
If Apple turned iOS into a Chromebook-style service tomorrow, everyone would be up in arms about it. Most Apple users don't want that. And in fact, even Apple devices do not require an Apple account to use because Apple recognizes that having that be optional is important to users.
- scarface_74 3y ago> Do PWAs? Like holy crud, it's like you're not reading anything I'm saying. This is what everyone is telling you, PWAs lack critical capabilities. And you keep saying, "no, it's fine, why don't they just [insert capability that isn't available to them]." No “everyone” is saying that mean old Apple is keeping PWAs back because they don’t support some web spec. Which web spec is there that Apple should be supporting where cross device sync of local storage is possible? > Which isn't available to PWAs. Which spec is Apple not supporting that would make that possible? > I'm sorry, are you seriously going to try and argue that users don't care about the ability to have offline storage? This is unbelievably out of touch. No you were saying that users don’t care about device sync and would be happy with only local storage. > This must be why nobody complained about Windows requiring a Microsoft account to install, why nobody uses Sublime or Notepad because they don't have online accounts, why nobody ever downloads DRM free games, and why nobody uses a computer offline /s And since we are talking about mobile devices that get left in cars, dropped in the ocean, stolen etc. cross device sync and automatic backup that’s been available since 2010 is kind of the norm. You really think more people are using Sublime text than Office365, Google docs, and even notes on Macs? You have heard of services like Dropbox, OneDrive, Offive365 etc haven’t you? And BTW, the notes app on Mac also automatically syncs between my Mac, iPad and iPhone - yours doesn’t? > It's not even available to PWAs that do use an online account. iOS has unreliable background sync for PWAs Apple restricts background processes for all third party apps to save battery life. It’s been this way since 2010. > And in fact, even Apple devices do not require an Apple account to use because Apple recognizes that having that be optional is important to users. You really think iOS users don’t have iCloud accounts? Have you actually ever tried to use an iOS device without an account? You realize that Apple’s equivalent of Google Docs - the iWorks suite has synced across devices since 2010 don’t you?
- danShumway 3y ago> Which spec is Apple not supporting that would make that possible? Background Sync on iPhones is terrible, see https://developer.mozilla.org/en-US/docs/Web/API/Background_Synchronization_API https://developer.mozilla.org/en-US/docs/Web/API/Background_... In addition, Apple exposes limitations on local storage that go far beyond what specs demand. PWAs can save a maximum of 50mb of storage, which is woefully insufficient for an app platform that lacks good data export mechanisms. This is entirely Apple's choice, there is no limitation in the spec that requires this. In addition, Apple wouldn't need to use a web spec to improve storage reliability. We're not talking about a web standard at this point, we're just talking about persisting data in a way that users can inspect, and syncing data across devices. There is no web standard that Apple would need to adopt to allow Safari data from PWAs to be stored in iCloud. And that shouldn't be a web standard, it should be part of the browser as a user agent. Browser sync is not a web standard and should not be a web standard, and yet every major browser supports it to some degree including Safari. Apple isn't following a web standard when it syncs your bookmarks, and it's not obeying a web standard when it refuses to sync your localstorage. Apple is also not following web standards when it periodically deletes localstorage for non-PWA websites when they haven't been visited in a while. Imagine if you played a game on your phone, put it down for a month, and came back and everything you saved was just erased because Apple deliberately erased it. That's how Apple approaches web storage, and obviously that's a dealbreaker for serious application development. And this is not something Apple has to sit around waiting for web standards to evolve in order to fix. It's 100% their choice. > No you were saying that users don’t care about device sync and would be happy with only local storage. No, I very clearly was not. I was saying that local storage is important and it matters, and that device sync is not a perfect substitute or necessarily desirable for every app. Which is correct. Device sync is not a substitute for reliable offline storage. Note that it's extra super-not a substitute for reliable offline storage if Apple is the one in charge of it, because the offline storage is what gets synced. And if Apple is regularly deleting all of your data, then it doesn't matter that Apple is syncing it, because they will also sync the deletion. We could sort of broaden this out and say that PWAs lack reliable storage period, whether it's synced or not. Only 3rd-party servers can be trusted not to delete data (which is terrible for privacy), and Apple devices can't be trusted to send that data to the 3rd-party server if the app is used offline. In short, Apple has ensured that PWAs are not a great fit for storing any kind of important data, regardless of how you store it. > And BTW, the notes app on Mac also automatically syncs between my Mac, iPad and iPhone - yours doesn’t? Synchronization for every single app you mentioned is optional. Not everyone uses that stuff. And yeah, there are large portions of the population that use apps that don't sync. I don't know if it's a majority, probably not. But like... I'm sorry that programmers get to use apps too? I don't know what you want me to say, it's a non-trivial demographic that doesn't sync their data everywhere, and if you're trying to build a private platform that respects user autonomy, data sync should be optional. > Apple restricts background processes for all third party apps to save battery life. It’s been this way since 2010. This is a silly excuse. First, 3rd-party apps are restricted far less than the web is, it's not an example of Apple just applying the same rules everywhere. Second, 3rd-party apps don't need the same level of background access because they have reliable offline storage and their data gets synced to iCloud. Third, Apple doesn't need to give extensive background process access to web apps, it just needs to not randomly erase their data or fail syncing process. Background updates are available to 3rd-party apps to a higher degree and with more reliability than are available to the web. Finally, it's worth mentioning a detail that you glossed over here: 3rd-party apps. Part of the anticompetitive complaint against Apple is its privileging of 1st-party apps, both allowing them to collect more data than they should be able to collect and allowing access to privileged APIs that aren't available to other developers. This is part of the reason why Apple doesn't currently have a good solution for 3rd-party PWAs on iOS -- because they never built a security model. They just trust Safari to handle everything, which has led to some fairly embarrassing security vulnerabilities in the past. This lack of separation between the OS and 1st-party apps is part of the reason why privilege escalation bugs tend to be more serious in Safari than in other browsers. I'm sure your take on this is that Apple is completely justified in giving its 1st-party apps access to capabilities that are not available even to other native apps, but the majority of us would call that anticompetitive behavior. Not really relevant to the web but worth bringing up, this is not Apple's first time restricting competing platforms. > You really think iOS users don’t have iCloud accounts? Have you actually ever tried to use an iOS device without an account? Yes, I set up devices for my nieces without one, and I used a dedicated work Mac without one. Apple devices are very usable without accounts. It's not perfect, but it's impressive, Apple IDs really are fully optional for every Apple device I've ever seen or used. Which, good on Apple for realizing that is an important use-case to support. > You realize that Apple’s equivalent of Google Docs - the iWorks suite has synced across devices since 2010 don’t you? Optionally. Also, wasn't restricted to only 50mb of data either. There's no comparison here, there is no strangled logic path for you to go down to pretend that native apps are not privileged over the web in this area.