6 ms·
What is Safari on iOS missing specifically?
by chrisseaton 6y ago
What is Safari on iOS missing specifically?
- jdauriemma 6y agoProgressive Web Apps
- chrisseaton 6y agoBut what exactly? Wikipedia says it does support it https://en.m.wikipedia.org/wiki/Progressive_web_application https://en.m.wikipedia.org/wiki/Progressive_web_application: And I know I’ve written Progressive apps for iOS myself - manifests etc. So I know it’s not as simple as you’re saying. What do you really mean?
- jdauriemma 6y agoSafari absolutely does not support PWAs in a meaningful way when compared with other platforms. Service Worker support is fine, but one of its main features is its use in combination with the Push API, which is not supported in Safari. This omitted feature alone alone makes web apps on iOS far less valuable than native apps. There are other omissions as well, but this one in the most glaring.
- heavyset_go 6y agoFor this specific use case, it's missing the Web Push API[1], which can be used to implement push notifications, and the Web Notification API[2], which can also be used for the same thing. [1] https://developer.mozilla.org/en-US/docs/Web/API/Push_API https://developer.mozilla.org/en-US/docs/Web/API/Push_API [2] https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...
- chrisseaton 6y agoIsn’t the entire point of progressive web apps that they’re tolerant of different features being available or not? That’s ‘progressive enhancement’. Your app is supposed to work if the functionality isn’t there, or equally if it’s there but denied access. You can have it show updates when the user checks the app if that’s what they want. Complaining a browser doesn’t support a progressive feature is a contradiction in terms!
- heavyset_go 6y agoIt works, but users don't get the notifications they sign up for and expect without using a native app on iOS.
- chrisseaton 6y agoRight... isn’t that the whole point of progressive web apps? Users get as many features as their browser supports or they permit? That’s the point. If your app doesn’t work like that then it’s not progressive... so you can’t complain it doesn’t support your progressive app because it’s not progressive.
- heavyset_go 6y agoTry explaining to users that the feature they want and expect doesn't work for them because their particular browser doesn't support it, despite it working on every other browser and platform. The only solution I see is telling users to "use the app", which doesn't exist yet.
- bluecalm 6y agoYou tell them it doesn't work on iPhone because of Apple policy such and such and to go complain to Apple if they want the feature. If enough people do it then maybe things change. If developers continue caving and not letting users know there will be no pressure on Apple.
- heavyset_go 6y agoI agree on principle, but I'm not telling sick people that.
- 3np 6y agoApart from chat, what are use-cases where users actually want notifications, as opposed to being coerced or tricked into accepting them?
- userbinator 6y ago"can be", not "must be"... Remember that we had real time webchat without JavaScript two decades ago, and a lot of other things that would probably turn into some sort of Chrome-only site if invented today.
- heavyset_go 6y agoIf you have a solution to giving iOS users the notifications they want via a web app, PWA or not, I'm all ears. We already implement text and email notifications.
- sp332 6y agoPolling, long-polling, websockets? I feel like I'm missing some context here.
- Shared404 6y agoIsn't the issue getting notifications out through the OS notification system? Unless I'm misunderstanding something about the problem, I don't do iOS dev or any webdev complicated enough to require OS notifications.
- heavyset_go 6y agoThe Push API allows for efficient push notifications without polling, I believe, but don't quote me on it. The problem is displaying notifications like you would a message notification on iOS.
- imron 6y ago> The problem is displaying notifications like you would a message notification on iOS. As an iPhone user, this being difficult for developers is a highly desirable feature!
- sp332 6y agoIt would be opt-in like on every other platform, isn't that enough? As heavyset_go said, it's a huge pain when a user wants a notification and can't enable one.
- phreack 6y agoI'm willing to go as far as to say it's The one feature that's singlehandedly holding back PWAs entirely. Most apps that you use every day needs notifications for one reason another, mainly communication apps, and if you could do them with a web app it'd be a game changer. But Apple is holding us all back and has been for years.
- millstone 6y agoI don't understand why Apple is holding anyone back. Just build an app that doesn't work on iOS. There's lots of apps exclusive to iOS and Mac - why not exclusive Android? If the app really is a game changer, if it's that compelling, Apple will absolutely change its tune.
- Leherenn 6y agoBecause any app that is social in nature (where interactions between users is required really) that can only reach 50% of users does not have 50% of the potential value, it's closer to 0. As an example, my girlfriend's a nurse, and they have a really bad paging system. Basically, the doctor calls the hospital reception who calls one person who is on call, who calls the second person on call. Of course, this breaks up regularly: the wrong person is called, or they call their boss because they don't know who is on call, and so on. I thought I would do a PWA to help them out and learn some new things, but it's pretty much impossible on iOS. Now, if 50% of her team cannot use the app, it has no value. You would have to know who has the app or not and call the other ones. It's easier to just keep on calling directly.
- oarsinsync 6y ago> Because any app that is social in nature (where interactions between users is required really) that can only reach 50% of users does not have 50% of the potential value, it's closer to 0. This wasn’t true 10 years ago when Instagram launched, and was iPhone only for a considerable time. Clubhouse seems to think it’s not true today either, also iPhone only.
- 3np 6y agoMaybe your app is a rare exception, but apart from chat apps, any use of notifications I’ve seen are undesirable and abused to spam users. Even those that do have a legit use-case still abuse it by pushing non-desirable (from user perspective) messages. I think apart from Gitter I’ve never wanted a notification, as a user.
- kitsunesoba 6y agoSimilarly, I’ve rarely needed web notifications and on the handful of occasions I have they’re of a nature that’s better tied to a desktop/laptop than a phone or tablet.
- heavyset_go 6y agoThis app helps sick patients navigate the healthcare system. Notifications were requested by users so that they don't need to continuously go back to the web app to see if there are any updates.
- asaddhamani 6y agoHow about sending notifications over email?
- heavyset_go 6y agoSee this post[1]. We already do text and email notifications. Not all phones and tablets get texts, and email notifications are unreliable. Many users wanted desktop and mobile notifications, hence why we implemented them on top of texts and emails. [1] https://news.ycombinator.com/item?id=26520303 https://news.ycombinator.com/item?id=26520303
- yunohn 6y agoThis speaks to your inexperience in making applications for the average user - they barely use email.
- onion2k 6y ago
- fragile_frogs 6y agoWeb Push Notifications, ShardeWorker, BroadcastChannel. Native Add to Homescreen, Good Developer tools to debug things on a non Apple computer, Background Sync, Notification Badging API, App Shortcuts These are only the ones that I remember right now, but I know there is more
- olliej 6y agoweb push notifications, notification badging, shared worker, etc are user hostile features. They burn battery life, the former two exist almost solely to spam users (Mozilla did a study and it turns out no one wants notifications from random websites). Safari has had add to home screen for the best part of a decade. Giving web pages the ability to spam users to add it is an anti feature.
- fragile_frogs 6y ago> Safari has had add to home screen for the best part of a decade On Chrome you can trigger a add to home screen prompt from your own UI, making it a two touch experience. On iOS IIRC it only works on Safari and not in Chrome, but I could be wrong. > no one wants notifications from random websites I am not talking about random websites, but rather web applications that you interact with on regular basis, if Apple cared about the user experience they could have just moved the notification prompt behind a user interaction. > shared worker ... They burn battery life If you are building more demanding websites shared workers are a great way to share state and computing resources across and thus saving battery life. Spawing a Worker per tab is more demanding.
- ksec 6y agoHow about Web Push Notifications that only works in sort of a PWA mode once it is added to Home Screen?
- saurik 6y agoIn addition to the issues other people are bringing up, there are a ton of decentralized video use cases crippled by the lack of Media Source Extensions on iPhone (they finally I think decided to deign to include it on iPad, just not iPhone).