News for hackers. Stuff that matters.
Re:Firefox’s Fight for the Future of the Web by capableweb on Sunday November 17, 2019 @06:53AM (#21557556)
My guess would be that it's policy-enforced and what Apple really has problems with is not browsers as a concept (dynamically loading and rendering data) but rather the execution engine that websites usually use (JavaScript) and seeing that as a too-large-to-review area where they want to avoid having vulnerabilities in applications published on App Store.

Or it's a anti-competitive move disguised as a "avoid vulnerabilities" but in reality they just really want to make sure iOS users keep using the one and only browser (Safari).

Re:Firefox’s Fight for the Future of the Web by marcthe12 on Sunday November 17, 2019 @07:54AM (#21557717)
Apple uses no Turing complete policy. So you also can't bundle a python or ruby interpreter in iOS. Its still anti-competitive but in a different area which is language and api. They are basically trying to push devs to use their native OS apis. PWA are also screwed up in Safari for a reason.
Re:Firefox’s Fight for the Future of the Web by Longhanks on Sunday November 17, 2019 @08:12AM (#21557776)
This is not true. There is for example the Pythonista IDE for iOS, which ships a full Python interpreter. https://omz-software.com/pythonista/
Re:Firefox’s Fight for the Future of the Web by labawi on Sunday November 17, 2019 @09:08AM (#21557947)
Is there an example of a non development/learning tool?
Re:Firefox’s Fight for the Future of the Web by vengefulduck on Sunday November 17, 2019 @01:09PM (#21559097)
If I remember correctly there’s an exception for learning and development tools.
Re:Firefox’s Fight for the Future of the Web by toxik on Sunday November 17, 2019 @08:09AM (#21557763)
That’s surely absurdly difficult to test, and provably impossible to prove the negative (i.e. my app is not Turing complete.) Is a calculator app not Turing complete? What about Google Sheets?
Re:Firefox’s Fight for the Future of the Web by danilocesar on Sunday November 17, 2019 @08:15AM (#21557787)
As long as it uses Apple's WebView, it's OK. This was the case for Firefox, they had to ditch Gecko in favor of using Apple's webview for iOS.
Re:Firefox’s Fight for the Future of the Web by dessant on Sunday November 17, 2019 @08:13AM (#21557781)
Kivy bundles Python in iOS apps, and the apps are accepted on the App Store. Do you have a link for this policy?
Re:Firefox’s Fight for the Future of the Web by saagarjha on Sunday November 17, 2019 @08:15AM (#21557789)
That likely falls under the “educational” exemption: https://developer.apple.com/app-store/review/guidelines/#sof...
Re:Firefox’s Fight for the Future of the Web by dessant on Sunday November 17, 2019 @08:18AM (#21557801)
That's unlikely, Kivy is also used for commercial apps. Bundling interpreters is allowed, but you must not use them to execute arbitrary code, unless you do it for educational purposes. Kivy doesn't load remote code, so it's not affected by this policy.
Re:Firefox’s Fight for the Future of the Web by saagarjha on Sunday November 17, 2019 @08:22AM (#21557811)
Then apps using it must ship all of their Python code in the app bundle to meet the App Store Review Guidelines.
Re:Firefox’s Fight for the Future of the Web by saagarjha on Sunday November 17, 2019 @08:08AM (#21557762)
> So you also can't bundle a python or ruby interpreter in iOS.

You can if it’s for educational purposes.

Re:Firefox’s Fight for the Future of the Web by beokop on Sunday November 17, 2019 @08:11AM (#21557771)
Pythonista is a full(-ish) offline Python IDE and has been on the App Store for years.
Re:Firefox’s Fight for the Future of the Web by JustSomeNobody on Sunday November 17, 2019 @07:06AM (#21557588)
interesting. But I can’t help but think by that logic Facebook should be too large to review.
Re:Firefox’s Fight for the Future of the Web by extropy on Sunday November 17, 2019 @07:35AM (#21557670)
Facebook does have code that dynamically compiles arbitrary input to machine code.

That's the part Apple is not allowing in third party apps.

Re:Firefox’s Fight for the Future of the Web by saagarjha on Sunday November 17, 2019 @08:09AM (#21557769)
> Facebook does have code that dynamically compiles arbitrary input to machine code.

Not outside of JavaScriptCore they don’t.