Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh, my memory is hazy here, but if I remember right, at the beginning Apple didn’t let them download executable code (companion js) to the app, so they just took a javascript code from every app in the pebble store, bundled it into Pebble iOS app, and updated it every few days with a fresh code.

Can anyone confirm?



That is exactly what we did.

Bonus fact: we didn’t actually read the bundled code - we downloaded it from the internet and ran it as usual. But a server-side check ensured you could only get the JavaScript we’d bundled.

Or at least it did until we eventually quietly turned off the check, when Apple stopped paying attention.


Oooh, clever :). Just dash quickly when the Sauron's eye looks in another direction :)).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: