PhoneGap Explicitly Denied!

15 views
Skip to first unread message

JayRafferty

unread,
Jun 19, 2009, 10:09:31 AM6/19/09
to phonegap
Just got this back from the app store for one of my apps:

" An Application may not itself install or launch other executable
code by any means, including without limitation through use of a plug-
in architecture, calling other frameworks, other APIs or otherwise. No
interpreted code may be downloaded and used in an Application except
for code that is interpreted and run by Apple's Published APIs and
built-in interpreter(s).

The PhoneGap API implemented in your application is an external
framework.

This is after running phoneungap.py on it. Any suggestions on how I
can remove all traces of phonegap?

Nickname unavailable

unread,
Jun 21, 2009, 10:31:32 AM6/21/09
to phonegap
Unfortunately, I can't really help you, because I haven't yet had an
app rejected for this. And I haven't even bothered to try stripping
references to PhoneGap out.

But I am curious as to whether you are doing any loading of external
code at all? AJAX? Anything? It seems as though this is really
what Apple is concerned about, because you could get your app
approved, and then change the externally loaded code to change the app
into something else. All of my applications are local applications
(games), and only contact external sites to load and save high
scores.

So I am wondering if Apple is actually sniffing the network traffic
when they're reviewing apps, and then using PhoneGap as the reason for
rejection if there is code being loaded, as opposed to simply
transferring data.

JayRafferty

unread,
Jun 21, 2009, 12:49:01 PM6/21/09
to phonegap
My app is a usage meter application for Optus (Australian Mobile
Carrier). It fetches data from the Optus website and formats it, to
evaluation of javascript occurs and there is no facility to update. It
was approved the first time and all that changed between the second
attempt was an update to the latest version on github.

I already had quite a few people purchase my app and because it
stopped working because Optus changed their site, I was in total limbo
and had to do something, I decided to take the plunge and learn
objective C and wrote phonegap essentially (well only the
functionality I needed and grossly simplified). It was great to be
able to use phonegap as an example and I'm very happy that it's got me
into iPhone development but I think letting it go for my own code is
the right move to ensure my apps get approved without arguing with
apple, it's such a shame that they take the stance they do on external
api's though :(

JayRafferty

unread,
Jun 21, 2009, 12:50:50 PM6/21/09
to phonegap
*NO evaluation of javascript code occurs

rustbucket

unread,
Jun 22, 2009, 10:26:39 AM6/22/09
to phonegap
Yeah, that seems to be the sticking point, if you're calling out to
the network in such a way that Apple thinks the application they've
approved could change they reject it. I suppose one way around that is
to create hybrid application: phonegap for local functionality tied to
Objective-C for network calls.

Steve Swinsburg

unread,
Jun 22, 2009, 10:32:20 AM6/22/09
to phon...@googlegroups.com
If you are getting your data from outside then it should be ok. Think
an RSS reader, or a twitter app, or even the Facebook app. All data
comes from an external source.

However, if you are getting all of your content from outside, then
that's bad. If if you made a call to a complete page and just rendered
that, it then that could change so would be rejected. Hopefully they
will allow outside data to be allowed. After all they already have for
heaps of other apps.

My guess is that it is the actual PhoneGap implementation that they
have the problem with.

JayRafferty

unread,
Jun 22, 2009, 11:40:58 PM6/22/09
to phonegap
"My guess is that it is the actual PhoneGap implementation that
they
have the problem with."

I'm pretty confident that's the reason, my app doesn't load a whole
page or evaluate Javascript it simply logs into and parses a website
using regular expressions. I think whether phonegap gets rejected or
not depends totally on the reviewer. There is nothing in Apple
documentation that says it's not OK to use UIWebview extensively or
use javascript within UIWebview or even a bridge between objective C
and javascript. The problam is that they consider PhoneGap an external
API.

On Jun 22, 11:32 pm, Steve Swinsburg <steve.swinsb...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages