App works with Wifi but not with 3G
Hi,
My app is working perfectly on Simulator and in the iPhone when Wifi is enabled, but it doesn't work when I turn off the Wifi and try to use my 3G connection.
Any tips? Is it related to the info.plist or any other configuration?
Thanks
3 Answers
-
Accepted Answer
I'm not sure how that's possible. When you say it doesn't work, what does that mean?
-
Just adding some more data to this issue I am having.
Running on iPhone OS4, I am getting the following error on XHR.onerror() method
Domain=ASIHHTPRequestErrorDomain Code=2 "The request timed out" UserInfo=0x7718fa0 {NSLocalizedDescription=The request timed out}
-
Hi,
I am having the same issue now with an app that connects to a couple of web services.
The first service is a user login that returns a session key from the server. This session key is then pass in the header of subsequent request.
I am finding that the subsequent requests behave as if the session key was not passed at all.
This works fine in the simulator and in WiFi on iPhone 4. It also works OK on simulator via 3G Personal Hotspot to iPhone 4. It's as though the iPhone is resetting something in the 3G connection.
@Antonio, can you describe what your work around was in case it might help my situation?
Kind regards
Mark