News for hackers. Stuff that matters.
Re:Google and Mozilla are working on iOS browsers that aren'... by astlouis44 on Tuesday February 07, 2023 @01:17PM (#34696660)
About time. The way to free developers from the 30% app tax on iOS is through the web. Apple has been doing their best to drag their heels in order to keep grip over revenue from in-app purchases inside their walled garden, but the writing is truly on the wall at this point.
Re:Google and Mozilla are working on iOS browsers that aren'... by galleywest200 on Tuesday February 07, 2023 @01:52PM (#34697249)
For what it is worth...the rumor mill seems to believe that Apple will allow side-loading as of iOS 17.

https://techcrunch.com/2022/12/14/apple-will-reportedly-allo...

https://www.bloomberg.com/news/articles/2022-12-13/will-appl...

Re:Google and Mozilla are working on iOS browsers that aren'... by dsissitka on Tuesday February 07, 2023 @02:21PM (#34697807)
I wonder how difficult they're going to make things.

> To help protect against unsafe apps, Apple is discussing the idea of mandating certain security requirements even if software is distributed outside its store. Such apps also may need to be verified by Apple — a process that could carry a fee. Within the App Store, Apple takes a 15% to 30% cut of revenue.

Re:Google and Mozilla are working on iOS browsers that aren'... by throwawayapples on Tuesday February 07, 2023 @02:30PM (#34697998)
So, basically they're still the gatekeeper and tollbooth operator, but it looks like the opposite. Nicely done, Apple.
Re:Google and Mozilla are working on iOS browsers that aren'... by iib on Tuesday February 07, 2023 @04:12PM (#34699744)
If this brings us non-Webkit browsers on iOS, I think it's still a victory.
Re:Google and Mozilla are working on iOS browsers that aren'... by criddell on Tuesday February 07, 2023 @04:21PM (#34699859)
Safari on iOS is basically the only thing stopping the future of the web from being controlled by Google via Blink.
Re:Google and Mozilla are working on iOS browsers that aren'... by jaynetics on Tuesday February 07, 2023 @05:56PM (#34701082)
Even if there is a choice, iPhone users might tend to stick with Safari anyway. Desktop Safari's market share is about 10%, roughly the same as macOS' market share, which seems to suggest limited appetite for browser customization.
Re:Google and Mozilla are working on iOS browsers that aren'... by capableweb on Tuesday February 07, 2023 @06:08PM (#34701247)
> Desktop Safari's market share is about 10%, roughly the same as macOS' market share

Where you're getting these numbers from? Doesn't sound right to me, but maybe I just have a biased sample. I'd guesstimate that 50% if not more of my friends with macOS run Chrome, small percentage (2 or 3) runs Firefox and the rest Safari.

Re:Google and Mozilla are working on iOS browsers that aren'... by freshpots on Tuesday February 07, 2023 @06:33PM (#34701564)
I think they mean market share for all desktop/laptops and not just Macs. https://gs.statcounter.com/browser-market-share/desktop/worl...
Re:Google and Mozilla are working on iOS browsers that aren'... by mr_toad on Tuesday February 07, 2023 @08:45PM (#34703000)
Statcounter and other sites show ~10% for desktop Safari, and 15-18% in richer countries.

Most people I know with Macs have at least two browsers installed, but then most people with Macs I know are fairly tech savvy.

Re:Google and Mozilla are working on iOS browsers that aren'... by the_solenoid on Tuesday February 07, 2023 @10:40PM (#34703827)
I can tell you, the users on the whole know about as much about tech as a luddite from 1867.

I mean, that's a huge draw in the consumer space for mac/ios. Remember the scale were at here. Something like 250,000,000 ios devices a YEAR.

Re:Google and Mozilla are working on iOS browsers that aren'... by gdetassigny on Tuesday February 07, 2023 @06:44PM (#34701683)
One reason for that might be wanting to use the same browser across mobile and desktop though. I know I stuck with Safari for a while because of that. I'm now on Firefox for both Mac and iOS but the iOS experience isn't that great.

Once other browsers are allowed on iOS, it's possible more users will migrate on both desktop & mobile to Chrome/FF.

Re:Google and Mozilla are working on iOS browsers that aren'... by latexr on Wednesday February 08, 2023 @10:05AM (#34708987)
I have never read or heard of anyone using desktop Safari due to a “limited appetite for browser customization”. In every context of every conversation I’ve witnessed where desktop Safari was mentioned, every participant was fully aware other browsers exist.

As an example, Safari is the only choice if you don’t want to give more marketshare to Chromium but also need to programatically control or retrieve information from your browser. Firefox has no AppleScript support, which disqualifies it immediately.

Re:Google and Mozilla are working on iOS browsers that aren'... by robotnikman on Tuesday February 07, 2023 @06:24PM (#34701451)
If they really want that to be the case, they need to make Safari available on other OS's again
Re:Google and Mozilla are working on iOS browsers that aren'... by actionfromafar on Tuesday February 07, 2023 @06:35PM (#34701581)
If they did that, Safari market share would increase 0.01% percent or something.

When it was available for Windows, nobody used it, except web developers who wanted their website to work on Macs, but didn't have a Mac to test with.

Re:Google and Mozilla are working on iOS browsers that aren'... by wkat4242 on Tuesday February 07, 2023 @06:56PM (#34701810)
I used it because I liked the Mac font rendering but I had to use Windows for work.

These days with hidpi screens the difference between font rendering between windows and Mac is negligible though. So that's not a factor anymore.

Re:Google and Mozilla are working on iOS browsers that aren'... by RussianCow on Tuesday February 07, 2023 @07:12PM (#34701960)
I think synchronized bookmarks/history, which didn't exist back then, would be reason enough for many people to switch. So maybe more like 1%. ;)
Re:Google and Mozilla are working on iOS browsers that aren'... by actionfromafar on Wednesday February 08, 2023 @03:42AM (#34705670)
Also, most people don't know what a browser is. They just look at Internet, or google.
Re:Google and Mozilla are working on iOS browsers that aren'... by lern_too_spel on Tuesday February 07, 2023 @07:07PM (#34701923)
No. Apple's iPhone app policies on iOS are stopping it. Safari on iOS is utter garbage. Once regulation fixes Apple's app policies, Safari will have to get better.
Re:Google and Mozilla are working on iOS browsers that aren'... by mensetmanusman on Tuesday February 07, 2023 @06:19PM (#34701372)
They will probably say it’s a security threat to prevent that :)
Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @02:47PM (#34698323)
> About time. The way to free developers from the 30% app tax on iOS is through the web.

You mean like all of the developers who aren’t creating native apps on Android and are creating PWAs?

There are just three issues with this narrative:

1. It came out in the Epic trial that 80% of all app revenue is coming from games.

2. Most of the other revenue derived from the App Store is coming from services where no one pays through the App Store

3. Large companies have already abandoned in app purchases like Spotify and Netflix

Re:Google and Mozilla are working on iOS browsers that aren'... by arcturus17 on Tuesday February 07, 2023 @03:52PM (#34699406)
> You mean like all of the developers who aren’t creating native apps on Android and are creating PWAs?

I'm not sure I understand your wording right... Are you saying that devs creating PWAs are "free?" Because it's well-known that PWAs has been stunted by Apple and Google. The technology is well behind its potential. PWAs could do significantly more if they had better access to system APIs.

Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @04:03PM (#34699592)
So now there is a great conspiracy by both Apple and Google? Maybe web technologies just aren’t as good as native?

In the history of computing there has never been a cross platform general purpose GUI framework that didn’t suck.

Not to mention most Android devices in the wild are low end and don’t handle complex web pages well

Re:Google and Mozilla are working on iOS browsers that aren'... by arcturus17 on Tuesday February 07, 2023 @05:22PM (#34700655)
> So now there is a great conspiracy by both Apple and Google?

What conspiracy?

They have huge economic disincentives to further PWAs - there is no need for any conspiracy.

In the first presentation of the iPhone, Steve Jobs laid out a vision where the smartphone would run web apps, using fundamental web technologies (HTML, CSS, JS). He quickly backtracked when he realised Apple could impose a 30% tax on transactions in the platform.

> Maybe web technologies just aren’t as good as native?

No one said they are, but that's no excuse to drag your feet in implementing simple things like push notifications.

> In the history of computing there has never been a cross platform general purpose GUI framework that didn’t suck.

What GUI framework? I barely even know what we are talking about anymore. You don't need one with PWA - again, you're using fundamental web technologies, and enabling them to make system calls.

> Not to mention most Android devices in the wild are low end and don’t handle complex web pages well

So that's another excuse to not further PWAs, huh?

Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @05:43PM (#34700919)
> What GUI framework? I barely even know what we are talking about anymore. You don't need one with PWA - again, you're using fundamental web technologies, and enabling them to make system calls.

Let me ask you this then. Name one cross platform framework that wasn’t meant to build command line tools that hasn’t sucked?

QT? Java Spring? React Native? Electron?

> In the first presentation of the iPhone, Steve Jobs laid out a vision where the smartphone would run web apps, using fundamental web technologies (HTML, CSS, JS). He quickly backtracked when he realised Apple could impose a 30% tax on transactions in the platform.

He “backtracked” because his “sweet solution” wasn’t good and everyone wanted native apps and web apps were called “a shit sandwich” by developers.

Do you know the history of creating “applications” using “web technologies”? They failed for RIM, Microsoft, and Palm. Web apps suck not to mention the clusterfuck of the front end ecosystem.

Every single platform that went down the “we can do great web apps” backtracked. They have never been good enough.

> So that's another excuse to not further PWAs, huh?

You mean making an app that’s actually performant on the majority of phones out there?

Re:Google and Mozilla are working on iOS browsers that aren'... by arcturus17 on Tuesday February 07, 2023 @05:56PM (#34701090)
> He “backtracked” because his “sweet solution” wasn’t good and everyone wanted native apps and web apps were called “a shit sandwich” by developers.

Sure, the 30% cut of all sales was just a sweet coincidence.

> You mean making an app that’s actually performant on the majority of phones out there?

Twitter and Uber have PWAs for countries where low-end devices are the majority of phones.

> They have never been good enough.

Complete bollocks, there are plenty of excellent web apps out there, and it's one of the most important mechanisms for software delivery nowadays, in both the enterprise and consumer spaces. You are a fundamentalist and there is no point discussing anything here anymore

Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @06:02PM (#34701173)
Were you around back then when developers were clamoring for native apps? It came out in the Epic trial that 80% of all app revenue came from games with in app purchases.

Besides that, most of the biggest players like Netflix and Spotify don’t even allow in app purchases.

Where are all of the great web apps for mobile? Have you tried using any of these web apps on Firefox for Android or is Firefox also involved in the conspiracy?

No one is clamoring for cross platform web apps accept web developers who want to foster a shitty Electron like experience on mobile.

And look at all of the server side work that Uber had to do.

https://www.uber.com/blog/m-uber/

And this wasn’t done to avoid the “30% tax” since Uber doesn’t use in app purchases. You do have Apple Pay as an option. But that’s a standard credit card transaction.

Re:Google and Mozilla are working on iOS browsers that aren'... by madeofpalk on Tuesday February 07, 2023 @06:04PM (#34701195)
> Because it's well-known that PWAs has been stunted by Apple and Google.

It is not well-known. It is well-believed.

I don't believe Apple has intentionally crippled Safari just to prop up their native platform. Google are the ones who invented the PWA buzzword and spend all their devrel effort on pushing. It's hard to believe they would also try and hamper that.

Re:Google and Mozilla are working on iOS browsers that aren'... by beefield on Tuesday February 07, 2023 @06:34PM (#34701575)
I have occasionally needed to advise mobile users how to use a simple web app showing phone's location on a map. Sample size is at least tens of people, selection bias to somewhat young and active people. Based on this "research",for a median iPhone user a location-aware web app is simply broken. Without external help, they are unable to change the (default/dark pattern, I do not know?) setting of not letting browser access to location data. You are welcome to come up with reasons why Apple has made it so difficult. I have difficulties to think other than intentionally crippling web apps.
Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @06:44PM (#34701684)
The browser asks for the same permission for location access as any other app does.

Once you deny it access, you have to go into settings to change it - just like any other app.

How much money do you think Apple makes when the same probably free website is a free app?

Re:Google and Mozilla are working on iOS browsers that aren'... by TylerE on Tuesday February 07, 2023 @06:46PM (#34701698)
That certainly isn’t the default.
Re:Google and Mozilla are working on iOS browsers that aren'... by vuln on Tuesday February 07, 2023 @06:51PM (#34701756)
Privacy?

Not every website I visit needs to know my location.

Not every website with a map needs access to my location.

Only websites I specifically allow to access my location should have access.

On the iPhone and specifically safari I've never had an issue or a steep learning curve to showing someone how to long press the reader view (AA) in the url then select _allow location_ or whatever.

I wonder if you sample all had something in common. Did they not regularly use this web app? Was this an event specific web app? If so it would be nice if the web app detected mobile browser by user agent and displayed instructions for activating location. Might help reduce confusion.

Re:Google and Mozilla are working on iOS browsers that aren'... by philliphaydon on Tuesday February 07, 2023 @07:12PM (#34701959)
Any ANY website that needs an accurate location of me is a crap website.

There’s pretty much no reason why 99.999% of any apps in existence need my precise location.

It’s not broken at all.

Re:Google and Mozilla are working on iOS browsers that aren'... by madeofpalk on Tuesday February 07, 2023 @07:30PM (#34702146)
There must be a higher bar (making it harder to blindly click 'yes') for user consent on the web because there's so much less intentionality behind what arbitary code your device will execute. Visiting any popular news website will run untrusted JS delivered through 10 different intermediaries in advertisements.

I think any complaint directed towards Apple's development on Safari can also be directed towards their actual native platform. Terrible/non-existent documentation, frequently breaking APIs, and a completely hostile app store and bug reporting/feedback process.

Re:Google and Mozilla are working on iOS browsers that aren'... by wolfendin on Tuesday February 07, 2023 @06:27PM (#34701484)
They might be able to do more but that isn’t going to make them better.

Just look at how reviled Electron is compared to native applications.

Re:Google and Mozilla are working on iOS browsers that aren'... by pier25 on Tuesday February 07, 2023 @06:40PM (#34701641)
The problem with Electron is that it's bloated by including a full browser engine and Node.

A couple of years ago I worked on an app that ran on 5 platforms (iOS, Android, Windows, macOS, ChromeOS). Initially we used Phonegap and Electron but then we created our own native wrapper that used the OS webview.

Our macOS app went from 100MB to 5MB of download size and the memory usage also went down considerably. IIRC correctly it consumed like 15MB of memory.

It certainly didn't look native but for our use case (education) that was not an issue. We were able to target 5 platforms with a very small team and the GUI was a single codebase made with InfernoJS and MobX.

Re:Google and Mozilla are working on iOS browsers that aren'... by pipeline_peak on Tuesday February 07, 2023 @07:01PM (#34701862)
Everyone loves to complain about how bloated Electron is. No one offers a solution that performs as well in supporting all of modern webs technologies.
Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @07:18PM (#34702020)
A better idea is not to use “web technologies” to create a native app
Re:Google and Mozilla are working on iOS browsers that aren'... by pipeline_peak on Tuesday February 07, 2023 @07:28PM (#34702128)
Say that to the industry
Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @08:25PM (#34702802)
Google moved away from cross platform frameworks - including its own.

https://9to5google.com/2021/10/10/google-ios-apps-native/

Facebook moved away from cross platform web based frameworks for its apps years ago.

Microsoft’s mobile and desktop apps (besides Teams which also sucks and VSCode which is pretty good) are not using web frameworks.

Re:Google and Mozilla are working on iOS browsers that aren'... by jocaal on Tuesday February 07, 2023 @11:18PM (#34704077)
So some of the richest companies in the world chose to invest in the more powerful platforms, does that mean if you don't already have billions in the bank, you aren't allowed to create applications for users on multiple platforms? It is an enormous amount of work to learn the intricacies of multiple programming languages and frameworks and then to get feature parity accross all your native applications will literally take you like 3x more effort to implement them. Moreover, the reason these companies chose native is because it provides more features and the reason web technologies can't provide these features isn't technical, it's political.
Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Wednesday February 08, 2023 @12:01AM (#34704324)
A smaller company’s ability to compete is not my problem. But why would I want to give any random web page that I browse to the same access to my computer or phone that I give an app that I choose to download that is much better sandboxed?

And most apps that would be suitable for PWAs are in fact free. How would Apple or Google benefit financially?

Besides most of the App Stores’s revenue comes from games

What happens when either Apple or Google introduce a new feature to their native platform?

Re:Google and Mozilla are working on iOS browsers that aren'... by palata on Tuesday February 07, 2023 @08:30PM (#34702867)
Nope, the product managers in the tech industry do. It's all about cost (or perceived cost). Web tech is more successful because it seems cheaper. Not because the resulting apps are better.
Re:Google and Mozilla are working on iOS browsers that aren'... by stock_toaster on Tuesday February 07, 2023 @11:13PM (#34704046)
revenue-per-employee has been at record highs in the industry for years now. Maybe companies could hire a couple more devs to make decent user experiences and native apps, instead of cheapening out and treating development like a cost center and using Electron apps as a way to just hire fewer devs (at the expense of a worse user experience).
Re:Google and Mozilla are working on iOS browsers that aren'... by palata on Tuesday February 07, 2023 @08:32PM (#34702884)
Make a nice API and let people write client apps that connect to it. Provide your official ElectronJS app next to that, and let the users choose.

I would definitely not use the ElectronJS Slack app if I had a choice.

Re:Google and Mozilla are working on iOS browsers that aren'... by throwaway49496 on Tuesday February 07, 2023 @07:05PM (#34701903)
You prioritized app size, and that's great.

People prefer Electron because it gives them a consistent environment across operating systems, OS versions/update patch numbers, browser versions etc.

If you write your app to work in all possible combinations of the above - like you'd write a web page - you can use OS web view.

But not everybody wants to do that because it's not as straight forward as just writing your app and being able to fully rely on your environment. Perhaps you actually need features that aren't universally available in the OS web view yet, and performance degradation because of polyfills is not acceptable.

Also, OS web view is usually locked down more than Electron. It's basically a browser without the UI around it. Then you need to hack your own native bridge instead of just using whatever Electron made. I guarantee your version is going to be worse, you simply don't have the combined resources of the Electron open source project.

Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @07:13PM (#34701972)
> People prefer Electron because it gives them a consistent environment across operating systems

People don’t prefer an application that takes up more memory, drains battery life and that’s not consistent with their other apps. Developers may prefer it.

How many users are switching back and forth between Windows and Macs?

The same applies in the other direction. When I was a Windows user, I hated the iTunes interface because it felt like a bad Mac port. I was a former Mac (and current) Mac user so I could tell.

Even before that, the Windows QuickTime Player felt like a bad port.

Re:Google and Mozilla are working on iOS browsers that aren'... by throwaway49496 on Tuesday February 07, 2023 @07:21PM (#34702060)
If the users don't want an Electron app, they won't use it and the developers will feel the need to change their ways.

Software development is not just about the users. Many Electron apps are single dev ventures. It's not easy to maintain multiple different platform specific apps even for a large enterprise. The larger the app the more difficult it becomes.

Re:Google and Mozilla are working on iOS browsers that aren'... by scarface74 on Tuesday February 07, 2023 @07:33PM (#34702188)
> Software development is not just about the users

And this says a lot about why people prefer commercial alternatives.

Re:Google and Mozilla are working on iOS browsers that aren'... by palata on Tuesday February 07, 2023 @08:29PM (#34702851)
> they won't use it

Except for all those popular Electron apps with lock-in effects, like Discord and Slack.

Re:Google and Mozilla are working on iOS browsers that aren'... by throwaway49496 on Wednesday February 08, 2023 @04:58AM (#34706184)
Seems like the users think it's better to accept the performance degradation than to switch apps.
Re:Google and Mozilla are working on iOS browsers that aren'... by palata on Thursday February 09, 2023 @06:51AM (#34722599)
Does it? My feeling is that users use whatever you give them. And then they buy a new device because theirs is "becoming slow". They don't say "wait, Slack is just a glorified IRC, it should work on my iPhone from 2008, I will just refuse to use it" because they need it.

There are no alternatives to the Slack ElectronJS Desktop app. That's the whole point: they don't want to maintain native apps. And they don't open their API to let others do it, I guess because that may hurt their lock-in benefits.

Re:Google and Mozilla are working on iOS browsers that aren'... by 331c8c71 on Wednesday February 08, 2023 @04:46AM (#34706120)
> Just look at how reviled Electron is compared to native applications

I don't notice any issues with Obsidian which I use every day.

Re:Google and Mozilla are working on iOS browsers that aren'... by p1necone on Tuesday February 07, 2023 @07:23PM (#34702084)
> PWAs could do significantly more if they had better access to system APIs.

Isn't the whole point of PWAs that they're easy because they're just web apps? If you start using system/OS specific APIs you lose all of the benefits except for the instant install time.

Re:Google and Mozilla are working on iOS browsers that aren'... by jbverschoor on Tuesday February 07, 2023 @07:07PM (#34701920)
If your revenue is under $1m, it's only 15%. If you'd do your own payment processing (stripe) and tax consolidation (?), it would only equates to about 11%.

https://developer.apple.com/app-store/small-business-program...