Q. Do I need to "Jailbreak" my iphone to use iPhone PhoneGap?
A. No.
Q. What PhoneGap apps are available in the iPhone store?
A. projects
Q. How do you change the default PhoneGap loading screen?
A. Change the default.png file to one of your liking.
Q. What about developing on older PowerPC (PPC) architectures?
A. Follow these steps. (or PDF)
Q. I get errors while building my iPhone app in Xcode.
A. See the known problems & solutions.
Q. What's this I hear about Apple rejecting PhoneGap apps? Will my app get rejected?
A. Of course, Apple always has the final say. As of version 0.8, PhoneGap apps should be okay. (or PDF) Also, Apple has done a technical review, and PhoneGap apps should be ok and each app will be judged on its own merits.
Q. I'm using navigator.geolocation on the iPhone, why does it show a popup alert with a funny url to my index.html file?
A. On iPhone OS 3.x, UIWebView's navigator.geolocation takes over, which will use the native Javascript API for it. This shows the warning and the location of the page asking for the location permission. Discussion here.
Q. Why do the iPhone PhoneGap functions not work when navigating to another local html file from index.html?
A. See this bug for discussion.
Q. How do I contribute my code to the main PhoneGap repo?
A. See this page.
Q. How do I add my own iPhone PhoneGap commands (in Objective-C) and expose them to Javascript using PhoneGap?
A. See this blog post.
Q. Can I just create an iPhone PhoneGap-based app that just loads my website?
A. You can, but as for Apple approving it, that's another matter, and they most likely won't. As a rule of thumb, if there is no Internet connection, you must at least load the UI (your views) without the corresponding data, and put an error notice to that effect. Therefore your app must have these views included in it. For a guideline, set your iPhone to Airplane Mode in the Settings, then load either the Maps, Weather, Youtube, ITunes or Facebook apps, and see what they do (have a "shell"). Apple is probably concerned about them approving your app based on your app description and functionality as promised by you, and then you turning around and changing it completely after approval to something undesirable.
Q. Is the Edge version "safe" to use, since its architecture has evolved? Apple has "approved" only 0.8.0 right, so will using anything else be unsafe?
A. The architecture has evolved only externally to make it easier to develop for, and easier to deploy for users (so if we update the core code, users will not have to integrate it in to their existing code, a big hassle with 0.8.0 and lower). Internally everything is the same, the way we handle commands, etc.
If you are looking for assurances of ultimate safety, there will be none, since Apple can change their mind no matter what they said before. We have never submitted anything to Apple to validate, they are the ones that chose to do so with the last version (a security review), and with any upcoming versions, it will be their decision ultimately.
Q. I want to create an application for phonegap to access externally deployed web services via AJAX. How can i resolve the issue with the
cross-domain security policy of XmlHttpRequest?
A. The cross-domain security policy does not affect PhoneGap applications. Since the html files are called by webkit with the file:// protocol, the security policy does not apply.
Q. I tried to download the source from the PhoneGap repo at http://github.com/phonegap/phonegap by using the "Download Source" button, but the platform subfolders are empty? Why are they empty?
A. Github's archive utility does not get the source for submodules, this is a known issue with them. We are using submodules for this umbrella repo since we are breaking up the different platforms into their own repo. See http://github.com/phonegap to see a list of repos for your particular platform where you can download the source from, this is the recommended way. To get the submodules, you will need to use git, instructions are in the README.md in the repo itself (scroll down!).
You can also watch an installation video that will walk you through the process of installing PhoneGap 0.9.0.
Q. With iOS 4 SDK, I get "Base SDK Missing" error?
A. See "Upgrade Your Xcode Template for iOS 4"
Comments (0)
You don't have permission to comment on this page.