News for hackers. Stuff that matters.
Re:Open-sourcing Chrome on iOS by st3fan on Tuesday January 31, 2017 @03:58PM (#13535153)
> You're not allowed to ship a interpreter that interprets code that doesn't come from insider your app.

That is not true. Many apps do this. Games have been doing this for a decade. It is not a problem to do this. Apple has never made a big deal of that. Only if you are trying to build a shadow app store.

Re:Open-sourcing Chrome on iOS by wvenable on Tuesday January 31, 2017 @04:09PM (#13535251)
Games interpret code that's shipped with the app. You cannot create an app which downloads code off the Internet (for example) and executes it.
Re:Open-sourcing Chrome on iOS by st3fan on Tuesday January 31, 2017 @04:21PM (#13535356)
Games and apps have been doing this for a decade.

Apple does not care. As long as you are operating in the spirit of their App Store.

You know when they care? When you start charging money for those downloads. Via an alternative payment channel. Or when you run an alternative app store from within your app.

If you download assets on demand, and some of those turn out to be executable* code, nobody cares.

* Where executable means 'interpreted' because you cannot run unsigned code. But for games that is fine, they have been doing this with JS, Lua and Python for a decade.

(You can downvote me - but this is based on a decade of experience)

Re:Open-sourcing Chrome on iOS by wvenable on Tuesday January 31, 2017 @05:27PM (#13535913)
They do care; Apple has shut down (or restricted) several apps over the years that have tried this. But I ultimately agree with you, it's really more about how it's presented rather than how it works under the hood. This might have a lot to do with the review process.

The subject we're talking about here would not fly under their radar.

Re:Open-sourcing Chrome on iOS by bzbarsky on Wednesday February 01, 2017 @02:48PM (#13544313)
What you're saying is that Apple is inconsistent in enforcing its officially stated policy. That may be true, but does not change what the official policy is and that they can enforce it any time they want to.
Re:Open-sourcing Chrome on iOS by solidr53 on Tuesday January 31, 2017 @07:52PM (#13537074)
not true, checkout codepush from microsoft which enables OTA updates for cordova, react native, etc.
Re:Open-sourcing Chrome on iOS by ec109685 on Wednesday February 01, 2017 @01:29AM (#13538772)
Yeah, because JavaScript is exempted from their rules.
Re:Open-sourcing Chrome on iOS by bzbarsky on Monday February 06, 2017 @11:29AM (#13581022)
JavaScript in general, or JavaScript only if it's run via Apple's JavaScriptCore?
Re:Open-sourcing Chrome on iOS by wvenable on Sunday February 12, 2017 @07:29PM (#13632125)
JavaScript only if it's run via Apple's JavaScriptCore.

Pebble used this quite effectively to add phone-side apps to their product.

Re:Open-sourcing Chrome on iOS by tiles on Tuesday January 31, 2017 @10:32PM (#13537989)
See Microsoft CodePush and React Native for a counterexample: you can certainly publish apps which download code as long as they don't dramatically alter the functionality of the app.
Re:Open-sourcing Chrome on iOS by madeofpalk on Tuesday January 31, 2017 @04:09PM (#13535261)
Games are a specific exemption to this rule.