Discussion Forums  >  Crashes, Memory Warnings

Replies: 3    Views: 465

farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
10/17/13 12:16 AM (10 years ago)

Failing to launch (with Parse) when offline

Hi, I have noticed an annoying behavior on my soon-to-be-born IOS app. When offline (and unplugged) the app is so sluggish on my device that after 15 seconds of trying to launch it just aborts. If I have WiFi on, it launches in 2 seconds. I have made minimal modifications to the app and I am using parse for push notification which might be the problem. When the device is plugged in (WiFi off) and I launch the app I can see the following in the data output: 2013-10-17 09:03:07.808 app[749:430b] Network connection failed. Making attempt 5 after sleeping for 14.784283 seconds. 2013-10-17 09:03:24.020 app[749:133b] Error: Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x15df5940 {NSErrorFailingURLStringKey=https://api.parse.com/2/update, NSErrorFailingURLKey=https://api.parse.com/2/update, NSLocalizedDescription=The Internet connection appears to be offline., NSUnderlyingError=0x1706cd00 "The Internet connection appears to be offline."} (Code: 100, Version: 1.2.15) The app is ready to submit and that's he last hurdle. Can anyone send a clue my way please? IOS7, Xcode5.0, BT2.1.9 self hosted. Farcat
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
11/11/13 09:06 AM (10 years ago)
Will respond to your email soon Farcat. We'll post a solution here if we find it. Anyone else is free to chip in of course :-) David https://buzztouchmods.com/market
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
11/11/13 12:55 PM (10 years ago)
Thanks David!
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
11/11/13 12:57 PM (10 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.