Live data from Hacker News

Apple allows hot code push for JS downloaded and run by WebKit

meteor.com

1–10 of 74 posts

Re: Apple allows hot code push for JS downloaded and run by WebKit

#2
This is probably the only feature that gives hybrid apps an actual upper-hand vs their native counterparts.

So now I could instantly push an update to my apps by hot-swapping the js code, while a native version would be stuck in a a multi-day approval process.

I can imaging there are some scenarios where getting a feature to market before a competitor would make this feature really valuable.

One question, it specifically mentions using the WebKit framework, does that mean that this is not allowed under the old UIWebView class?

Re: Apple allows hot code push for JS downloaded and run by WebKit

#3
post #2

This is probably the only feature that gives hybrid apps an actual upper-hand vs their native counterparts. So now I could instantly push an update to my apps by hot-swapping the js code, while a native version would be stuck in a a multi-day approval process. I can imaging there are some scenarios where getting a feature to market before a competitor would make this feature really valuable. One question, it specific…

Of course, this advantage is more than outweighed by having to use JavaScript in the first place.

Re: Apple allows hot code push for JS downloaded and run by WebKit

#4
post #3
post #2

This is probably the only feature that gives hybrid apps an actual upper-hand vs their native counterparts. So now I could instantly push an update to my apps by hot-swapping the js code, while a native version would be stuck in a a multi-day approval process. I can imaging there are some scenarios where getting a feature to market before a competitor would make this feature really valuable. One question, it specific…

Of course, this advantage is more than outweighed by having to use JavaScript in the first place.

Considering all of the languages that can transpile to JS, I wouldn't say that's an issue.

Now the bugs and shortcomings of CSS, that's certainly a knock against hybrid apps :)

Re: Apple allows hot code push for JS downloaded and run by WebKit

#5
post #2

This is probably the only feature that gives hybrid apps an actual upper-hand vs their native counterparts. So now I could instantly push an update to my apps by hot-swapping the js code, while a native version would be stuck in a a multi-day approval process. I can imaging there are some scenarios where getting a feature to market before a competitor would make this feature really valuable. One question, it specific…

Companies have been doing this for a long time in the UIWebView. At a previous job, we offered this service and called it "live update". Never ran into any issues with Apple denying apps because of this. Phonegap build has a feature called Hydration that does something similar.

Re: Apple allows hot code push for JS downloaded and run by WebKit

#6
This sounds great. It bears noting that this form of code push is routinely implemented in native apps too - I know at least that the Quora and Facebook iOS apps make liberal use of web views (and code push). Native apps can take the opposite hybrid approach - sprinkle in web views where needed inside a native codebase, as opposed to sprinkling in native plugins (and a native wrapper) in a web codebase.

Re: Apple allows hot code push for JS downloaded and run by WebKit

#9
post #4
post #3

Earlier quoted context omitted.

Of course, this advantage is more than outweighed by having to use JavaScript in the first place.

Considering all of the languages that can transpile to JS, I wouldn't say that's an issue. Now the bugs and shortcomings of CSS, that's certainly a knock against hybrid apps :)

[deleted]
Post reply on HN