Hacker News new | ask | show | jobs
by lygaret 5913 days ago
Nothing in PhoneGap is against the TOS. It's a wrapper around HTML and JS, providing in WebKit's javascript engine access to system services. In that sense, it's not against the part of the TOS which says specifically you can use Webkit.
2 comments

"providing in WebKit's javascript engine access to system services"

Yes, it's almost as if it were some kind of "intermediary" or "translation layer".

Right. One written in Objective-C, likely using the native iPhone UIWebView container and thus able to run Javascript, all supported languages.
We'll have to see how this pans out. The language in 3.3.1 puts Javascript and the Cs into two separate categories with regard to access to "the documented APIs" and taken at face value would appear to rule out Phonegap.

(and yes, I have looked at their source and know how it works.)

The clause in question is somewhat ambiguous. PhoneGap could be seen as a "compatibility layer" that allows you to "link against" APIs that aren't normally accessible to JavaScript:

"only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs"

But I'm glad it sounds like Apple will allow it.