Hacker News new | ask | show | jobs
by rubyn00bie 4276 days ago
In other words: webpages function as expected on iOS.

... Not to blame the meteor folks for writing it, if they were getting asked it... But wow.

I personally think the title is a bit click-baity, but that's because it's not really hot code push. It's loading a web view. If this was hot loading new native code that'd be newsworthy or at least interesting.

2 comments

[i work at meteor]

Meteor's hot code push on mobile is more sophisticated than this. When you deploy a new version of a Meteor app, clients fetch and save the new client JavaScript bundle along with its static assets. Future launches of the installed app immediately run new code (even offline) without first requiring a round trip to a server.

How can something that is offline somehow get new code? Besides that it sounds exactly like a website.
He's saying it caches the JS and all assets when online so that they can continue to function offline.
That sounds awesome. Are you using localStorage?
Insofar as pushing new Meteor code up to the server will trigger an update to connected clients, it's hot code push. That's _not_ the same, technically, as a web view displaying a webpage that will update on the next page refresh.

Link bait? Maybe, maybe not. There are more interesting discussions to have. :-)