News for hackers. Stuff that matters.
Re:Why is Apple acting like an asshole? by nlitened on Wednesday September 16, 2020 @04:52AM (#24490804)
Why wouldn't you use Android then?

I would personally like to continue paying higher prices to protect myself from low-quality background-syncing byte-code-obfuscated web-pages with push notifications, please.

Re:Why is Apple acting like an asshole? by spiderfarmer on Wednesday September 16, 2020 @05:00AM (#24490850)
Something can be said for both. I have built a couple of 15 year old websites with passionate users who have been begging me for an app. Not to replicate the website, which works perfectly on mobile and is very up to date with best practices. They just want it for push notifications. I can switch to Android, yes. But my users won't switch phones for just my website. And I can recommend something like Pushover, but that's too complicated for most users.

Just enable the API Apple, I bet you already have it hidden behind some flags.

Re:Why is Apple acting like an asshole? by nlitened on Wednesday September 16, 2020 @05:27AM (#24490977)
Why wouldn't you just do exactly what your users passionately want, and make a small app just for notifications? You may even make it paid, so that your efforts are compensated -- I am sure, the users will be happy to support you.
Re:Why is Apple acting like an asshole? by spiderfarmer on Wednesday September 16, 2020 @05:56AM (#24491131)
I am working on it. But as a web developer this "small app" and everything that comes with it is easily hundreds of hours of work, just to clumsily recreate functionality that's already working in other browsers.
Re:Why is Apple acting like an asshole? by gfxgirl on Wednesday September 16, 2020 @01:09PM (#24494715)
But that's exactly what Apple wants. They want you to invest your time in their ecosystem because that prevents you from spending time in other ecosystems. Every thing they do that makes it more work for you to make an iOS or MacOS app is time you won't be spending making things for other platforms including the web.

plus, they get the added bonus that they can demand you pay 30% of various transitions that they couldn't demand if you just left it a website that happened to be PWA

Their incentives are entirely aligned not to support the latest web standards and not allow any other browsers on iOS to add them

Re:Why is Apple acting like an asshole? by alsetmusic on Wednesday September 16, 2020 @11:24PM (#24500864)
This is an unnecessarily pessimistic view.

Yes, Apple wants us to spend all of our time interacting with / committed to their users. No, that aren’t maliciously trying to steal our time from other platforms. The thought chain ends with their platform, never considering that we even have other platforms to support.

A self-obsessed outlook is different from a deliberately sabotaging business plan, even when they present the same outward behaviors. Occam’s razor.

Re:Why is Apple acting like an asshole? by spiderfarmer on Wednesday September 16, 2020 @01:27PM (#24494940)
I am 100% convinced that mobile Safari is worse for the future of the web than IE6 ever was. And it’s 100% intentional.
Re:Why is Apple acting like an asshole? by oarsinsync on Wednesday September 16, 2020 @02:36PM (#24495847)
Can you elaborate on what you foresee happening, and why?
Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @05:24AM (#24502639)
On top of the now years old and still not implemented notification API, Apple recently declined to implement 16 other PWA API's, citing privacy concerns.

They could make every API opt-in or propose improvements, but they won't.

With IE6, people were at least allowed to install more capable browsers. With iOS there are no other browsers. Only user interfaces around Safari webviews.

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @01:19PM (#24494840)
How many apps that are just an interface to a website and could be viable as a website if only iOS Safari had push notifications would actually bring in any significant amount of revenue?

Besides that, according to the latest App Store rules, apps that just surface cross platform services aren’t required to have in app purchases.

Re:Why is Apple acting like an asshole? by Wowfunhappy on Wednesday September 16, 2020 @01:31PM (#24494995)
Breaking up your question into two pieces:

> How many apps [could] be viable as a website if only iOS Safari had push notifications[?]

I’d say a lot.

> [How many of them] would actually bring in any significant amount of revenue?

Adding this caveat doesn’t change my answer—but I really don’t like what it's implying. Software is not suddenly without value just because it doesn’t make money.

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @01:35PM (#24495030)
> I’d say a lot

Yet you didn’t name any. If that were the case, you should be able to name the equivalent web apps on Android that must be apps on iOS.

> Software is not suddenly without value just because it doesn’t make money.

So where are those “valuable” web apps on Android? Also revenue is the most objective way to measure value.

Re:Why is Apple acting like an asshole? by pietrovismara on Wednesday September 16, 2020 @02:36PM (#24495851)
> Also revenue is the most objective way to measure value.

Nonsense. Wikipedia must be worthless for you? What about air? Do you feel you'd breathe with more satisfaction if someone was profiting from the air you breathe?

On the other hand, there's plenty of immensely profitable things that have negative value. Cigarettes? Oil? Weapons? Opioids? I could go on and on.

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @02:45PM (#24495976)
And you still haven’t come up with a situation where a major developer was forced to make an iOS app and decided to be content with a PWA for Android customers.

“Value” has a definite meaning in economics. If someone is willing to pay for something, it has value to them.

Re:Why is Apple acting like an asshole? by pietrovismara on Wednesday September 16, 2020 @03:09PM (#24496253)
I don't even care about iOS. I just despise your definition of value, since it's simply wrong and dangerous.
Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @03:13PM (#24496300)
Whether you despise it or not. It’s the only objective measure that we have to ascertain the value that a population puts on an item.
Re:Why is Apple acting like an asshole? by pietrovismara on Wednesday September 16, 2020 @04:05PM (#24497051)
How can it be objective when every single individual would bid a different price for the same product, if asked without being shown the market price beforehand? It's all about perception and -my friend, I have bad news for you- perception is all but objective. Yes, perception of value can be manipulated through tools like marketing. That doesn't make the product itself anymore (or less) valuable than it actually is.
Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @04:33PM (#24497466)
That’s the issue. Anyone could respond that they have an app that valuable to only them and their best friend.

What better choice do we have than to measure value across a population? How much value a population places on something based on how much they are willing to pay is objective. Whether that value is utilitarian or based on other factors is subjective.

Are we really arguing about basic supply and demand? Yes suppliers have methods to drive demand.

Re:Why is Apple acting like an asshole? by Wowfunhappy on Wednesday September 16, 2020 @01:50PM (#24495219)
> Yet you didn’t name any.

Reddit, Trello, Twitter. Probably Discord and Slack too.

I haven't used Android in years but I certainly don't see why these wouldn't work as web apps if you had push notifications. All the functionality is there.

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @02:17PM (#24495585)
And none of those companies thought the web app was good enough to eschew native apps on Android. Why is that?
Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @05:15AM (#24502590)
Because they have the budgets to do both.

That's why you're asking the wrong question.

Re:Why is Apple acting like an asshole? by scarface74 on Thursday September 17, 2020 @06:54AM (#24503099)
Companies don’t just spend money because they “have the budget”.
Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @08:32AM (#24503802)
No but that doesn't refute my point, does it.
Re:Why is Apple acting like an asshole? by scarface74 on Thursday September 17, 2020 @10:02AM (#24504710)
What is your point? If the vast amount of the industry thought PWAs were good enough, they wouldn’t create Android apps when a web app would do.. Companies don’t just spend money needlessly.

You should see a proliferation of cases where companies create an iOS app and a web app for everyone else.

Re:Why is Apple acting like an asshole? by spiderfarmer on Wednesday September 16, 2020 @01:25PM (#24494925)
A large amount of apps could just be a website if Apple supported more API’s. It would also bring bigger budgets to webdev teams and improve the quality of their webapps.
Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @01:32PM (#24495002)
Care to name some web apps that are successful on Android but are required to be apps on iOS?
Re:Why is Apple acting like an asshole? by spiderfarmer on Wednesday September 16, 2020 @01:58PM (#24495309)
Why rephrase the question? Lots of apps could have been just a webapp. It doesn’t have to be popular or succesful to prove that point, because it’s the smaller apps / teams like my one man company that would profit the most. Let larger companies spend their money on squeezing out maximum performance via native code. And let me use the browser for the 10k users of my app.
Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @02:19PM (#24495616)
If the argument is that Apple is holding back PWAs, then there should be a lot of corresponding web only apps on Android that are forced to be native on iOS. The developers would have a web app anyway for the desktop so you should see a lot of apps that are PWA apps with iOS apps.
Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @05:18AM (#24502609)
Why should there be? There are thousands of webdevs who weren't 'forced' to be native on iOS, because they don't have knowledge and budget to be native.

You're asking the wrong question.

Re:Why is Apple acting like an asshole? by scarface74 on Thursday September 17, 2020 @06:59AM (#24503147)
Whether there should be or not. The question isn’t why doesn’t every website have a native app. The question is if PWAs are good enough for Android because of its great support and not good enough for iOS. You should see a lot of companies doing iOS + Web instead of iOS + Android + Web. But that’s not the case. Companies have spoken with their budgets. They decided that it was worth the money to have native Android apps.

Could it possibly be that HN posters are wrong and PWAs aren’t good enough on Android either?

Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @08:39AM (#24503863)
Almost all smaller e-commerce websites don't have an app. They rely on their website + e-mail notifications.

Would they enable web notifications if it was universally available? Yes. Would they enable it just for Android users? Some do. Does this say something about the quality of PWA's? You tell me. You seem to be adamant that the web sucks, yet literally millions of companies are succesful on the web without accompanying apps.

Re:Why is Apple acting like an asshole? by scarface74 on Thursday September 17, 2020 @10:07AM (#24504780)
I never said the web sucks. The thesis was that Apple was holding PWAs back and given a choice, app developers wouldn’t create native iOS apps and just create web apps. If Apple’s lack of support for the necessary APIs was the deciding factor, the same developers who make native iOS apps wouldn’t go through the trouble of making native Android apps - yet they do.
Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @01:34PM (#24507486)
No the thesis is that Apple is holding the web a a whole back. I’m not the one that says Apps like Youtube are better off or even good enough as a PWA. I’m arguing that if Apple enabled the notification API, a lot of websites and apps can save money by not replicating simple functionality in a native app. Your arguments don’t refute that at all.
Re:Why is Apple acting like an asshole? by scarface74 on Thursday September 17, 2020 @05:43PM (#24510317)
If the lack of push notifications on iOS were the only thing forcing developers to create iOS apps, those same developers wouldn’t overwhelmingly be creating Android apps.

Where are all the developers who are being forced to create iOS apps but are “saving money” by not creating Android apps because PWA support is so good?

Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @11:52PM (#24512818)
Most skip making apps all together because they rely on email notifications.
Re:Why is Apple acting like an asshole? by scarface74 on Friday September 18, 2020 @08:24AM (#24515766)
I agree. But if PWAs were good enough on Android, you should see, depending on your budget from largest to smallest:

1. Web, iOS, Android

2. Web, iOS - since PWAs are suppose to be “good enough for Android”.

3. Web

But you hardly ever see #2. Why is that?

Re:Why is Apple acting like an asshole? by spiderfarmer on Friday September 18, 2020 @04:02PM (#24521292)
Doesn’t matter. My point still stands. You keep repeating yours, while failing to see mine.
Re:Why is Apple acting like an asshole? by scarface74 on Friday September 18, 2020 @05:46PM (#24522197)
You’ve made a point without any evidence. If your point is that PWA’s could save developers money, rationally you should see developers saving money by only creating iOS apps and PWAs. Developers with real money on the line haven’t made that choice.
Re:Why is Apple acting like an asshole? by saagarjha on Wednesday September 16, 2020 @01:52PM (#24495246)
You've got it wrong, because Android has much looser review policies so these apps don't have to be web pages on that platform. People (including Apple!) push web apps on iOS to not be subject to App Store review.
Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @02:20PM (#24495638)
It doesn’t matter. If PWAs were good enough on Android, and seeing that you would probably need to build a web app anyway. Why not just build a web app + iOS app and not build an Android app at all?
Re:Why is Apple acting like an asshole? by nlitened on Wednesday September 16, 2020 @08:17AM (#24491862)
I feel your pain, for me as a strictly back-end developer it is the same when I have to make front end.

May I suggest trying to outsource this small app to a freelancer? It could be a quite time- and cost-effective small project for someone who already has extensive experience with iOS.

Re:Why is Apple acting like an asshole? by jdhawk on Wednesday September 16, 2020 @07:20AM (#24491501)
Email them? SMS Them? Its not pure notifications, but its far easier to implement.
Re:Why is Apple acting like an asshole? by spiderfarmer on Wednesday September 16, 2020 @01:23PM (#24494901)
I have e-mail notifications, yes. But a growing amount of people don’t check their email regularly and it gets drowned out.
Re:Why is Apple acting like an asshole? by danielscrubs on Wednesday September 16, 2020 @11:22AM (#24493522)
Email would get drowned with all the other apps with the same idea, which is exactly why Apple shouldn’t allow it.
Re:Why is Apple acting like an asshole? by remexre on Wednesday September 16, 2020 @11:50AM (#24493801)
Why Apple shouldn't allow websites to email you instead of causing those websites to create iOS apps?
Re:Why is Apple acting like an asshole? by CamJN on Wednesday September 16, 2020 @01:41PM (#24495095)
No, it's why apple shouldn't allow notifications from the web. People are already drowning in notification spam from native apps. To the point where Apple has added three different ways the OS prompts you to disable notifications.

People just allow everything and then get overloaded by all the worthless interruptions.

Re:Why is Apple acting like an asshole? by spiderfarmer on Wednesday September 16, 2020 @02:02PM (#24495364)
If Apple would make it so that websites can’t request to enable notifications, but only via manual user action, I’d still prefer that to developing an entire app to fit that goal.
Re:Why is Apple acting like an asshole? by tekknik on Wednesday September 16, 2020 @09:17PM (#24500122)
You’re very much making this out to be more difficult than it actually is. If you’re a webdev throw a web browser frame in, or use react native, or just spend the few hours it takes to learn how to setup and app and push notifications and add a bullet point to your resume.
Re:Why is Apple acting like an asshole? by spiderfarmer on Thursday September 17, 2020 @05:14AM (#24502579)
Not sure what I need a resume for. I'll probably never work for an employer and I think I'm a better farmer than a webdev.

I know how to design and build things with my hands. I also know how to design logos, websites and other things. I can code and enjoy building and maintaining the network of websites I built in the past 15 years.

But I feel I'm spreading myself too thin when I'm also learning to code in React or Dart (Flutter) for a single one-off project. I fear I won't be able to put in the hours required to become adequately proficient in another field that's constantly changing.

Re:Why is Apple acting like an asshole? by tekknik on Thursday September 17, 2020 @07:48AM (#24503445)
No you are not spreading yourself too thin. Each new language or framework you learn will teach you something you’ll use for the rest of your time programming. You may not remember everything you learn exactly, but it will help you carry conversations or know where to start should you be tasked to need those skills in the future. Also Google is your friend, you’re never going to know some language or framework so completely that you can verbatim spit out it’s docs and signatures without some reference.

The rest of what you said sounds pretty on par with the rest of the self taught programmers I’ve met (me being one of them).

Re:Why is Apple acting like an asshole? by arendtio on Wednesday September 16, 2020 @01:53PM (#24495253)
This answer is wrong on so many levels...

I don't know why Apple is allowed to keep other browser engines out of their system, but probably just because the relevant people just don't understand that the Chrome/FF/etc. on iOS are just a Safari with a different UI and that it gives Apple about half (depending on country; in the US probably more) of the mobile browser share and users just the chance to either use Android or be stuck with Safari.

In addition, the author obviously doesn't know that the before mentioned push notification API is not just used for regular push notifications, but is also required for other use-cases like messengers for example.

Re:Why is Apple acting like an asshole? by the_lucifer on Wednesday September 16, 2020 @02:31PM (#24495788)
Playing the devils advocate here. This browser restriction is what I'd wager is keeping the non-chromium browser market at a substantial proportion.
Re:Why is Apple acting like an asshole? by arendtio on Wednesday September 16, 2020 @03:16PM (#24496345)
I am wondering what you are referring to with 'non-chromium' browser market. Typically people don't complain about chromium-based browsers, but about the dominance of Webkit-based browsers (Safari, Chrome, Opera, Edge, etc.) and from that perspective there is more or less just Firefox left.

Nevertheless, that is besides the point as the rendering engine is not the sole source of browser differences. I am not saying the Googles high market share isn't a problem itself, but that Apple is abusing their market position to hold back the development of the web (by not implementing relevant APIs and not allowing competing browser engines on their platform).

Re:Why is Apple acting like an asshole? by tekknik on Wednesday September 16, 2020 @09:20PM (#24500141)
> Typically people don't complain about chromium-based browsers...

In my neck of the woods people most definitely do complain about Chrome, specifically the lack of privacy from being a Google product.

Re:Why is Apple acting like an asshole? by pseudalopex on Wednesday September 16, 2020 @03:46PM (#24496784)
Google forked WebKit 7 years ago.
Re:Why is Apple acting like an asshole? by kitsunesoba on Wednesday September 16, 2020 @03:25PM (#24496497)
Yes. Including mobile WebKit users, there are enough non-chromium users to give devs incentive to support non-chromium browsers. Take away mobile WebKit and alternative browser usage dips into single digit percentages, which is low enough for many devs to readily disregard.

It’s a bit ironic, but browser engine monopoly on iOS is the only thing standing in the way of browser engine monopoly across all platforms.

Re:Why is Apple acting like an asshole? by millstone on Wednesday September 16, 2020 @02:57PM (#24496138)
Google nominally allows other browser engines on Android, but non-Chrome marketshare is a rounding error. There's not some great browser engine ecosystem out there, waiting to be unleashed.

The conversation is 100% about how much influence Apple should permit Google to have over the evolution of iOS.

Re:Why is Apple acting like an asshole? by arendtio on Wednesday September 16, 2020 @03:18PM (#24496383)
Actually, since a year or so Firefox is a pretty solid mobile browser and I am pretty pissed I can't use the real thing on my iPhone.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @09:05AM (#24492296)
> I would personally like to continue paying higher prices to protect myself from low-quality background-syncing byte-code-obfuscated web-pages with push notifications

are you really saying you would pay higher prices because you can' t press the "no" button and never visit the same website again?

Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @01:40PM (#24495087)
Yes, absolutely! Just like I'd rather pay for Apple Arcade so that I don't have to wade through the sewage of free-to-play games clicking "no" on in-app purchase requests and hiding spammy notifications. Just like I'd rather pay for streaming services with no ads rather than having to mute commercials on live TV or skip commercials on DVR'd TV.

It's not absurd to me to pay for platforms that attempt to preemptively remove filth rather than need to be on the constant lookout for filth. This is particularly true when most of these entire ecosystems (the web, app stores, video content) seem to be based on sneaking filth in front of your eyes at every available opportunity.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:48PM (#24496013)
Web notifications are a standard feature, meaning the APIs are in the web standard.

Making an hyperbole here, but wouldn't Mosaic 1993 edition solve every issue then?

Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @04:27PM (#24497387)
Reasonable people can disagree about which features are and are not useful. And those reasonable people can purchase smartphones and computers which best cater to their own views about these features.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @04:55PM (#24497788)
True, but reasonable people that know about web notifications API are less than 1% of Apple customers...
Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @05:56PM (#24498462)
That sounds like a great reason to not let every trashy website in the world to spam them asking if they want to enable notifications.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @06:00PM (#24498496)
But is it Apple's call?

I mean, removing features of course makes software more secure

I argue that disabling JavaScript would only bring great benefits to humanity

Re:Why is Apple acting like an asshole? by baddox on Wednesday September 16, 2020 @06:05PM (#24498538)
If Apple had a dominant market position in smartphones then one could argue that end customers don't have much of a choice, but Apple only has at most 50% market share in the US and much lower globally. For my own smartphone usage I would much rather Apple choosing which features and APIs that third-party developers (of apps and websites) can use rather than those developers being able to do whatever they want. I think it's pretty clear that developers tends to have a much more hostile relationship with their end users than Apple does with their customers.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @06:48PM (#24498904)
The argument is not about market domination, but about money power

Apple market is rich, it is the richest tech company, with the highest market valuation ever, one cannot avoid it

So it's gonna drive adoption no matter what

Like it did for Flash (right or wrong, they did it)

I was writing web applications during the 90s, they were called intranets back then, IE wasn't bad, it was simply unavoidable

And being unavoidable halted competition for more than a decade

On another side: having a platform that doesn't obey to common standards creates tech segregation

I remember seeing japanes phones 20 years ago, they were ahead of time,but unusable outside of Japan

Last but not least, having a flag that says "allow me to shoot myself in the foot of I want to" it's less hostile than "you don't know what you're doing let me handle it for you"

Re:Why is Apple acting like an asshole? by tekknik on Wednesday September 16, 2020 @09:25PM (#24500179)
So then write for all browsers, support what you can for each, and don’t promote Chrome anymore? If you continue to promote a one size fits all browser and the market moves that way then we’ll shortly be having this same discussion about Google. If you were writing websites in the 90s you should know this.
Re:Why is Apple acting like an asshole? by romanoderoma on Thursday September 17, 2020 @09:38AM (#24504434)
> So then write for all browsers, support what you can for each, and don’t promote Chrome anymore?

WOW

That escalated quickly

I never promoted Chrome, in fact I'm an old time Firefox users and in the 90s I owned a Netscape 3 gold license.

I don't write fronted software anymore, but writing for every browser means adhering to the standard

Apple has steered away more than any other vendor lately

So...

Re:Why is Apple acting like an asshole? by tekknik on Thursday September 17, 2020 @08:52PM (#24511811)
> I don't write fronted software anymore, but writing for every browser means adhering to the standard.

Yes, which you’ll find if you do Safari adheres to quite well. Finding examples where it doesn’t is easy, just like on chrome. Which is why we have media queries and poly fills because it’s simply impossible to have a unified platform without one entity owning it. If you found out Chrome doesn’t render the same on linux as it doesn’t on windows, would you call this not adhering to the standard?

Re:Why is Apple acting like an asshole? by chinesempire on Friday September 18, 2020 @05:17AM (#24514646)
> Yes, which you’ll find if you do Safari adheres to quite well

They don' t

Apple refused to implement 16 web API in Safari

> Which is why we have media queries and poly fills because it’s simply impossible to have a unified platform

And that' s why big players like Apple hat control a closed ecosystem shouldn't be allowed to be assholes

At least on Android I can install other browsers and other browser engines

Do you see the difference?

> Chrome doesn’t render the same on linux as it doesn’t on windows

that' s not true

Windows and Linux that have simply different font rendering engines and different native widgets

That's all

> would you call this not adhering to the standard?

absolutely NOT!

In no part of the standard rendering is formalized

It wouldn't make sense

The way things are rendered is standardized, not the way they should look

https://www.w3.org/TR/2014/REC-html5-20141028/rendering.html

> HTML is intended to apply to multiple media (it is a media-independent language). User agent implementors are encouraged to adapt the suggestions in this section to their target media.

Re:Why is Apple acting like an asshole? by tekknik on Friday September 18, 2020 @06:04PM (#24522323)
> Apple refused to implement 16 web API in Safari

OK and these APIs don’t stop real work.

> And that' s why big players like Apple hat control a closed ecosystem shouldn't be allowed to be assholes

And putting all that power into the hands of a single browser will not end well, so stop promoting Chrome or saying other browsers should be like Chrome. FF isn’t going to win.

> At least on Android I can install other browsers and other browser engines Do you see the difference?

Yes, next question, do I care?

> that' s not true

100% true, read the dev blogs and understand the WM on linux is fundamentally different than windows or mac, therefore rendering is not exactly the same.

Standards help align, they do not force alignment. If safari implemented a p element as a span, then this is not following the spec. Choosing not to implement a portion of a modular spec, is still following the spec.

Re:Why is Apple acting like an asshole? by tekknik on Wednesday September 16, 2020 @09:23PM (#24500167)
> But is it Apple's call?

Yes, just like you’re free to never visit an annoying website asking to spam notifications you’re free to take away Apple’s decision making power you grant them by simply not buying an iphone.

Re:Why is Apple acting like an asshole? by romanoderoma on Thursday September 17, 2020 @09:47AM (#24504542)
> you’re free to take away Apple’s decision making power you grant them by simply not buying an iphone.

That's a very common argument

But it doesn't get any less stupid with time.

I never owned an iPhone.

Because I am an adult homo sapiens that can take decisions for himself.

But you should know that if a standard exists, and the standard has been approved by a consortium, a consortium where Apple is a very important member, they should at least support what they signed for, instead of forcing developers to go through hoops just to support their platform.

When Elon Musk make Teslas he has to put airbags in them, stop lights, front lights, safety belts, they must pass crash tests, because that's the standard, otherwise he couldn't sell them as cars.

So if Apple believe that the standard that they approved is too dangerous, they can make their OS more secure, instead of putting the blame on developers.

Re:Why is Apple acting like an asshole? by tekknik on Thursday September 17, 2020 @02:20PM (#24508142)
Developers are not jumping through hoops to support their platform. I’m a full stack dev, I understand what it takes to support safari and a majority of the time is actually Chrome being fast and loose with the standard, not Apple. Is it a partial implementation, sure. But the features lacking don’t stop meaningful work at all. Just like hearing my statement is old, so is yours.
Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @05:20AM (#24514667)
> Developers are not jumping through hoops to support their platform

They are

> I’m a full stack dev, I understand what it takes to support safari and a majority of the time is actually Chrome being fast and loose with the standard

I am as well, I understand a closed platform when I see one.

> But the features lacking don’t stop meaningful work at all.

If only it was true...

It' s not lacking, it has been removed on purpose.

The web engine Safari is built from already supports those features.

Re:Why is Apple acting like an asshole? by tekknik on Friday September 18, 2020 @08:10AM (#24515664)
I can play this game too, Nope.
Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @09:17AM (#24516346)
Nope, apparently you can't play the game.

You don't even understand the rules.

Sorry.

Notification APIs are in Webkit, the open source implementation of Safari.

proof: https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f...

Can you prove that Apple didn't remove standard APIs from their browser?

Re:Why is Apple acting like an asshole? by tekknik on Friday September 18, 2020 @05:59PM (#24522298)
So this somehow keeps other HTML from rendering and CSS just doesn’t display correctly right? Look around, you’ll find very little care for that API except from sites trying to spam devices, something apple is against. So again, no, safari is following the spec just fine.
Re:Why is Apple acting like an asshole? by mirthflat83 on Wednesday September 16, 2020 @01:38PM (#24495064)
Yes. I don’t want to press the “no” button for a 100 times.
Re:Why is Apple acting like an asshole? by cdeutsch on Wednesday September 16, 2020 @05:29PM (#24498192)
I can relate.

Every time I pickup an old iOS device the stupid thing is nags me to update it, 100 times. And you can't just click no you have to click multiple things to get it to fuck off.

Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @05:21AM (#24514676)
So, in practice, Apple vetting process doesn't even do what they say it does and still grabs 30% from developers?
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:50PM (#24496044)
You should lobby W3C to remove the API from the standard then.

Or ask browser vendors to have a global allow/deny flag for every Web API

Re:Why is Apple acting like an asshole? by spideymans on Wednesday September 16, 2020 @03:23PM (#24496463)
I don't know if you're being sarcastic or not, but here's the thing:

I don't want websites asking me to enable notifications. 99.9% of the time, the answer is no.

I don't want websites asking me to enable location access. 99.9% of the time, the answer is NO.

Nor do I want them asking for permissions to install to my Home Screen (the answer is no), or to track me (the answer is NO).

>Or ask browser vendors to have a global allow/deny flag for every Web API

When possible, I've carefully configured my browser to automatically reject these requests, but instead of respecting that, these websites, with all their hubris, have chosen to circumvent my preferences by presenting shitty JS-based permission requests (as opposed to using the permissions UI built into the browser).

Each one of these new web APIs have significantly degraded my experience as an end user, by presenting a million permission dialogs whenever I'm visiting webpages, without providing me with any features of value (again, because I'm not ever, ever gonna trust some random website with these permissions).

Users don't care to pontificate about the virtues of the open web, they just want their stuff to work. And until the open web can provide a better user experience, of course users are going to flock to various walled gardens (App Stores, Facebook, etc...). Until we find a way to implement web standards elegantly, without degrading the user experience, the open web is always going to face an uphill battle over the relative safety of walled gardens.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @03:28PM (#24496531)
I think nobody wants web notifications, but the API is in the standard.

I know I don't want them.

Apple is in the committee.

https://www.w3.org/Consortium/Member/List

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @01:20PM (#24494858)
Along with every time I have to press OK to the “we used cookies” dialog, using the web is already like a “punch the monkey” game.
Re:Why is Apple acting like an asshole? by spideymans on Wednesday September 16, 2020 @01:45PM (#24495159)
These modern web APIs have a massive user experience problem, and if we want the web to be truly competitive with native, we'd be foolish to ignore that.

Beyond the "punch the monkey" game you mention, another massive problem is that web push notifications have just become another vector to deliver spam to users. If you look at devices belonging to "normal" users, you'll often see dozens of spammy web notifications (pornographic content, "30% off, BUY NOW", etc...). And because these are average users, they don't necessarily understand how to configure their devices to reduce or eliminate the spam.

Web push notifications needs a way to proactively filter out those that abuse the API, otherwise its doomed to become just another vector for spam that pisses off end users.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:52PM (#24496081)
I'm angry at Firefox because it was the only browser that I trust that allowed me to have extensions to solve my problems with bad websites on mobile and they removed them.

But bad websites are not something we are going to get rid of using only iPhones...

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @03:11PM (#24496280)
The difference is that notification spam on the web is allowed to escape the sandbox. Because of the punch the monkey nature of the web, I inadvertently clicked “allow notifications” on both PCWorld and Tom’s Hardware on different occasions - they both spammed me at least once a day. But not enough to figure out how to disable it.

To get rid of the cookie notifications, I can at least set web pages I go to default to reader view.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @03:22PM (#24496450)
I never accept web notifications, not even on slack.

The problem is that if Apple singlehandedly decide what's right and what isn't we are back to IE.

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @03:42PM (#24496720)
There is a middle ground I would be okay with. A website is only allowed to ask you if want notifications if you added it to your home screen. If you delete the web page from your home screen, it automatically disabled the notification. It falls within the same paradigm that people are accustomed to.
Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @04:59PM (#24497825)
AFAIK this is not the way Safari works and it's not the main motivation for Apple

They just don't want web apps to rival with the native ones skipping the whole store experience and fee

But that's just speculation on my side, I have no data to back it up

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @05:06PM (#24497918)
This makes no sense. As I said in another reply. If PWAs are so great, why aren’t companies bypassing creating Android apps and just telling Android users to use web apps?

On top of that, how many apps are really just surfacing server hosted services where there are no in app purchases?

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @05:57PM (#24498469)
According to the data I found, PWAs make 50% of the Android market.

Among the most popular there are

- Uber

- Pinterest

- Telegram

- Trivago

- Tinder

- Google maps Go

- AliExpress

Re:Why is Apple acting like an asshole? by scarface74 on Wednesday September 16, 2020 @06:54PM (#24498975)
Yet most of those companies decided to make native apps. If PWA’s were good enough, why bother writing native apps for Android?

Do you have a citation?

Re:Why is Apple acting like an asshole? by romanoderoma on Friday September 18, 2020 @09:20AM (#24516387)
> PWA’s were good enough, why bother writing native apps for Android?

same reason people write native apps on iOS

It's easier to track users, especially those users rich enough to buy high end phones and that will probably spend more money and the ROI is higher.

They also make PWAS to gain user base on low end phones and emerging markets.

And because making them is quite cheap.

Re:Why is Apple acting like an asshole? by scarface74 on Friday September 18, 2020 @04:55PM (#24521797)
So most companies aren’t using PWAs to save money on Android and probably wouldn’t on iOS either....

Do you propose that Apple makes Safari more able to invade privacy?

If the only purpose of PWAs for Android is to make it easier to run on low end cheap phones - that’s really not a good argument is it with iOS is it? Even the 6s from 2015 is more performant than many mid range new Android phones.

Re:Why is Apple acting like an asshole? by t-writescode on Wednesday September 16, 2020 @12:50PM (#24494490)
Privacy concerns about Google and security updates at the mercy of terrible carriers.

But those reasons are weakening.

Re:Why is Apple acting like an asshole? by jasonv on Wednesday September 16, 2020 @01:23PM (#24494899)
I agree with those reasons, not sure my will is weakening, so I'll add: vendor versions of Android, the dreaded "Android" slowdown, and slower/choppier performance - generally - when comparing latest releases of hardware & software.
Re:Why is Apple acting like an asshole? by the8472 on Wednesday September 16, 2020 @01:27PM (#24494938)
> and security updates at the mercy of terrible carriers.

Buy the hardware, install lineageos, insert SIM?

Re:Why is Apple acting like an asshole? by matheusmoreira on Wednesday September 16, 2020 @01:47PM (#24495187)
Is LineageOS the most trustworthy aftermarket smartphone OS out there? What makes it so?
Re:Why is Apple acting like an asshole? by t-writescode on Wednesday September 16, 2020 @01:57PM (#24495299)
Aren't I still bound by a GMail account for login and contact information, so if Google randomly decides to ban my account (see what happened to the viewers of a Markiplier stream), I'm in trouble?
Re:Why is Apple acting like an asshole? by yjftsjthsd-h on Wednesday September 16, 2020 @02:48PM (#24496021)
How so? Lineage works without gapps, although obviously you then lose access to those services, including the Play Store.
Re:Why is Apple acting like an asshole? by t-writescode on Wednesday September 16, 2020 @02:58PM (#24496145)
I’ve never used LineageOS, I was asking. I didn’t see how you could completely separate Android and Google, especially for things like contact syncing.
Re:Why is Apple acting like an asshole? by yjftsjthsd-h on Wednesday September 16, 2020 @03:44PM (#24496749)
Ah, okay. So the simplest case is that you just don't have those features through Google so you have to find another provider. For instance you can do contact sync through CardDAV courtesy of apps like https://www.davx5.com/, email with K-9 Mail, get apps from F-Droid, etc. Depending on exactly what the problem with Google is, you can also use unofficial software that still talks to Google services like https://microg.org/ instead of play services and newpipe instead of the official youtube app.
Re:Why is Apple acting like an asshole? by the8472 on Wednesday September 16, 2020 @03:51PM (#24496850)
LineageOS comes with AOSP stock applications and you can install additional app stores on it. You can also install the google apps packages including play store and play services, but you don't have to. Of course many 3rd party apps rely on play services e.g. for payment.
Re:Why is Apple acting like an asshole? by fmakunbound on Wednesday September 16, 2020 @10:41PM (#24500625)
It’s great, but you need a phone that’s popular with its developers.
Re:Why is Apple acting like an asshole? by Maximus9000 on Wednesday September 16, 2020 @01:15PM (#24494796)
I totally agree. Apple is great for privacy - and that's important to me - but I'm slowly starting to think I might move to something else. Sadly, it seems my only real option is Android. I miss windows phone and blackberry.
Re:Why is Apple acting like an asshole? by stale2002 on Wednesday September 16, 2020 @05:06AM (#24490872)
> to protect myself from low-quality background-syncing byte-code-obfuscated web-pages

I am not sure why other people being allowed to install other browsers on their phone would force you to do anything.

Re:Why is Apple acting like an asshole? by tonyedgecombe on Wednesday September 16, 2020 @05:31AM (#24491002)
Because app developers will use other browser engines allowing them to ignore any of the privacy constraints in place at the moment.
Re:Why is Apple acting like an asshole? by manigandham on Wednesday September 16, 2020 @05:43AM (#24491059)
That's already possible, and an app has far more access to your device and data anyway.
Re:Why is Apple acting like an asshole? by CiaranMcNulty on Wednesday September 16, 2020 @06:45AM (#24491336)
Apps cannot currently use other browser engines on iOS
Re:Why is Apple acting like an asshole? by manigandham on Wednesday September 16, 2020 @07:32AM (#24491586)
Most of the web privacy settings are specific to Safari, not the Webkit browser engine.

Also an app can access and send more data than a browser window. Anything the webview can block can just get transmitted by the app itself separately. So there's no reason to block 3rd-party browser engines as the GP post says.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @09:12AM (#24492354)
safari is enough and has enough bugs to be a totally good vector for malware

The real security issue is: if a bug in Safari is found (it happens quite often) users cannot use another browser in the meantime.

Re:Why is Apple acting like an asshole? by saagarjha on Wednesday September 16, 2020 @01:58PM (#24495311)
> has enough bugs to be a totally good vector for malware

Not for most people.

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:55PM (#24496110)
It's the main vector for malware on Apple phones (and mac laptops)
Re:Why is Apple acting like an asshole? by saagarjha on Wednesday September 16, 2020 @07:40PM (#24499400)
Most malware is installed consensually, not as the result of bugs.
Re:Why is Apple acting like an asshole? by romanoderoma on Thursday September 17, 2020 @05:03AM (#24502521)
So the only solution is to remove the computation from computation devices.
Re:Why is Apple acting like an asshole? by stale2002 on Wednesday September 16, 2020 @02:26PM (#24495719)
> Because app developers will use other browser engines

That still does not force you to install those browser engines.

If you want the apple approved apps, in the apple approve app store, that fine. But me using different settings does not force you to not use those approved apps.

Re:Why is Apple acting like an asshole? by chipotle_coyote on Wednesday September 16, 2020 @01:50PM (#24495216)
Safari on macOS supports push notifications and it hasn't intrinsically been a bad thing -- at worst, I have to tell a web site "no, I don't want your notifications." They're opt-in rather than opt-out like native app notifications are. The higher prices you and I are paying aren't protecting us from "low-quality" notifications as it is, anyway.

At any rate, maybe you're so worried about single-page web apps being bad actors that you're happy Apple so severely hamstrings them, but I... just can't see a lot to worry about there. And if Apple let PWAs be even a little better on iOS than they are now, it would go at least some distance toward ameliorating complaints about the App Store.

Re:Why is Apple acting like an asshole? by tynorf on Wednesday September 16, 2020 @03:29PM (#24496555)
Just a point of clarification: native app notifications on iOS are absolutely opt-in. If the app wants to send notifications it requires a dialogue and user confirmation.

Disappointingly, Apple makes an exception for their first party apps.

Re:Why is Apple acting like an asshole? by chipotle_coyote on Wednesday September 16, 2020 @09:55PM (#24500347)
Thanks. It may be that the exception was stuck in my head. :)
Re:Why is Apple acting like an asshole? by spideymans on Wednesday September 16, 2020 @03:28PM (#24496542)
>They're opt-in rather than opt-out like native app notifications are

Native iOS notifications are opt-in

Re:Why is Apple acting like an asshole? by Wowfunhappy on Wednesday September 16, 2020 @01:38PM (#24495051)
> Why wouldn't you use Android then?

Frankly, because everyone I know uses iMessage.

Re:Why is Apple acting like an asshole? by ActorNightly on Wednesday September 16, 2020 @04:57AM (#24490825)
This doesnt happen though. Look at the state of web apps accessed through your computers browser - there is no issues with quality if you want a customer base.
Re:Why is Apple acting like an asshole? by nlitened on Wednesday September 16, 2020 @05:12AM (#24490905)
My computer browser is indeed fine, but my mother's -- is an entirely different story. I am really happy I can still get her an iPad these days.
[dead]
Re:Why is Apple acting like an asshole? by srtjstjsj on Wednesday September 16, 2020 @12:19PM (#24494124)
Denying the existence of someone's mother is quite rude.
Re:Why is Apple acting like an asshole? by dang on Wednesday September 16, 2020 @05:29PM (#24498194)
"Don't feed egregious comments by replying; flag them instead."

https://news.ycombinator.com/newsguidelines.html

Re:Why is Apple acting like an asshole? by romanoderoma on Thursday September 17, 2020 @06:25AM (#24502920)
Can I ask what's "egregious" about my comment?

an I not say that my mom, albeit being older than me, does not need her son's protection from malware and certainly does not need Apple to tell her what's right, just because she's older?

Is ageism permitted on HN?

Re:Why is Apple acting like an asshole? by romanoderoma on Wednesday September 16, 2020 @02:53PM (#24496094)
My mom exists, she's 74, she never had a malware problem in her life.

Maybe she's smarter than us all...

Re:Why is Apple acting like an asshole? by snemvalts on Wednesday September 16, 2020 @05:10AM (#24490894)
Even if they switched to Android, they'd still have to ensure iOS compatibility since Apple has ~60% of the smartphone market in the US. Any abusive behaviour from Apple at this monopolistic stage is just asking for an antitrust case & resolution.
Re:Why is Apple acting like an asshole? by valuearb on Wednesday September 16, 2020 @11:13AM (#24493439)
Apple has never had even 50% of the US smartphone market.

https://www.counterpointresearch.com/us-market-smartphone-sh...

Re:Why is Apple acting like an asshole? by srtjstjsj on Wednesday September 16, 2020 @12:21PM (#24494150)
iOS is 60% of the mobile (phone+tablet) market

https://gs.statcounter.com/os-market-share/mobile/united-sta...

Re:Why is Apple acting like an asshole? by valuearb on Wednesday September 16, 2020 @03:44PM (#24496759)
Studies have shown that individual iPads and iPhones are used for web browsing much more than Android devices, just as their users spend more on apps.

So Web Browsing is a very imperfect measure of installed base. Worldwide estimates are that that less than 20% of mobile devices sold are iOS, roughly 15% iirc. It’s almost certain US sales percentages for iOS are much higher, but no where near 60%.

Re:Why is Apple acting like an asshole? by leptons on Wednesday September 16, 2020 @01:40PM (#24495088)
>Statcounter is a web analytics service. Our tracking code is installed on more than 2 million sites globally.

Sorry but this is not an effective way to gauge market share of a browser or a platform. That 60% figure you're throwing around is not an absolute metric. It's based only on visitors to websites that use the "Statcounter" tracking code. There definitely is a large margin of error using this to gather statistics about market share.

In comparison, the other commenter's link is actually more accurate because:

>This report is one of the series of reports which tracks mobile handset: Smartphone and Feature Phone shipments every quarter for more than 140 brands covering more than 95% of the total device shipments in the industry.

Tracking site visitors based on sporadic implementation of a tracker, vs getting actual numbers of units shipped/sold. I'm going with the actual numbers, not the sort-of-guessing of Statcounter.

Re:Why is Apple acting like an asshole? by jefftk on Wednesday September 16, 2020 @02:17PM (#24495588)
If you track shipments, how do you handle iPhones generally staying in use longer than Android phones?

(Disclosure: I work for Google)

Re:Why is Apple acting like an asshole? by leptons on Thursday September 17, 2020 @01:43PM (#24507602)
Neither one is a great way to measure market share. Using tracking pixels is notoriously bad though, because it tends to lead to an echo-chamber like effect. Not everyone with a device will visit a site with the specific browser tracking code, and many people will visit those sites many times from different IP addresses, and even different browsers installed on their device. There are many ways tracking code can lead to false statistics.

Units shipped doesn't tell the whole story either, but it is a specific metric that doesn't suffer from bots gaming things or any of the other problems that using stats based on tracking code can lead to.

Re:Why is Apple acting like an asshole? by eddieroger on Wednesday September 16, 2020 @08:30AM (#24491960)
That's a misuse of "monopolistic" - 60% is not a majority to the point of no competition. Any developer could write an Android-only app if they wanted, they just don't do it.
Re:Why is Apple acting like an asshole? by srtjstjsj on Wednesday September 16, 2020 @12:21PM (#24494154)
Most consumers only handle one phone.
Re:Why is Apple acting like an asshole? by CamJN on Wednesday September 16, 2020 @01:44PM (#24495148)
So? Apple has a monopoly on Apple products? Big deal. Ford has a monopoly on Ford trucks, Sony has a monopoly on playstations.