[Offline Apps] "Server connection error" the starting app in flight mode on iOS

Forge Component
Published on 2015-11-19 by Labs
26 votes
Published on 2015-11-19 by Labs


Our OutsystmesNow app with offline mode works ok on Android, but on iOS when in flight mode app can't start displaying "Server connection Error" screen. Any special settings for iOS should be done?

Thank you

Hey, Mykola,

Just tested it through "Try our Demo" (the button below the environment address), using the Inspections app, and it worked fine. Have you cached the resources before turning on Airplane mode? Could you confirm if the Inspections app, through "Try our Demo", doesn't work?

If so, could you share the OutSystemsNow app's version (I'm assuming you took our base code and forked it for customization)? And also the iOS version?

Best regards,

Carlos Simões

Hi Carlos,

I've download osNow app and used "try our demo" to access "Inspections" app. it loaded resources and works fine with airplane mode. But if I close the app and try to open it in airplane mode I see again initial screen and after click on "try our demo" I have white screen with bottom navigation bar.

iOS 9.3.4

I think it is related to my previous threads http://www.outsystems.com/forums/discussion/17718/outsystemsnow-works-offline/ and http://www.outsystems.com/forums/discussion/17945/outsystems-now-login-not-skipped-if-no-default-app-is-set/ 

Will test some options again.

I've just updated to 9.3.5 and now instead of error screen it is just blank screen with load bar on the bottom that sucked at around 80%...

on xCode console i see x

|    Pushwoosh request:

| Url:      https://cp.pushwoosh.com/json/1.3/registerUser

| Payload:  {"request":{"hwid":"6CBC811C-8138-4889-B438-A98F3E3DA26C","userId":"6CBC811C-8138-4889-B438-A98F3E3DA26C","application":"","v":"","device_type":1}}

| Status:   "0 server error"

| Response: 


I've removed Pushwoosh_APPID variable but it still making this request... will try to disable pushwoosh.

ok i've commented out all pushwoosh calls(i hope) and now i have another error that i can't find the source:

2016-09-01 14:16:50.606 FrisbeeDEV[384:29715] [PW] [I] +[UIApplication(Pushwoosh)] Pushwoosh: Initializing application runtime

2016-09-01 14:16:50.907 FrisbeeDEV[384:29715] SkipNativeLogin: 1

2016-09-01 14:16:50.908 FrisbeeDEV[384:29715] SkipApplicationList: 1

2016-09-01 14:16:50.910 FrisbeeDEV[384:29715] HideNavigationBar: 1

2016-09-01 14:16:50.912 FrisbeeDEV[384:29715] DefaultHostname: airbus-dev.outsystemscloud.com

2016-09-01 14:16:50.914 FrisbeeDEV[384:29715] DefaultApplicationURL: /FrisbeePOC/

2016-09-01 14:16:51.404 FrisbeeDEV[384:29715] Apache Cordova native platform version 3.9.2 is starting.

2016-09-01 14:16:51.404 FrisbeeDEV[384:29715] Multi-tasking -> Device: YES, App: YES

2016-09-01 14:16:51.411 FrisbeeDEV[384:29715] Unlimited access to network resources

2016-09-01 14:16:51.413 FrisbeeDEV[384:29715] 

Started backup to iCloud! Please be careful.

Your application might be rejected by Apple if you store too much data.

For more information please read "iOS Data Storage Guidelines" at:


To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file

2016-09-01 14:16:51.437 FrisbeeDEV[384:29715] [CDVTimer][file] 7.776976ms

2016-09-01 14:16:51.441 FrisbeeDEV[384:29715] [CDVTimer][loader] 3.078997ms

2016-09-01 14:16:51.473 FrisbeeDEV[384:29715] [CDVTimer][socialsharing] 31.656981ms

2016-09-01 14:16:51.511 FrisbeeDEV[384:29715] [CDVTimer][localnotification] 35.373986ms

2016-09-01 14:16:51.530 FrisbeeDEV[384:29715] [CDVTimer][localnotification] 0.694990ms

2016-09-01 14:16:51.532 FrisbeeDEV[384:29715] [CDVTimer][TotalPluginStartup] 102.260947ms

2016-09-01 14:16:51.541 FrisbeeDEV[384:29715] ERROR: Start Page at '/' was not found.

2016-09-01 14:16:51.686 FrisbeeDEV[384:29715] Reachability Flag Status: -- ------- networkStatusForFlags

2016-09-01 14:16:51.698 FrisbeeDEV[384:29715] No cached response found.

2016-09-01 14:16:51.703 FrisbeeDEV[384:29715] Unlock Interface Orientation

2016-09-01 14:16:51.709 FrisbeeDEV[384:29715] Unlock Interface Orientation

2016-09-01 14:16:52.115 FrisbeeDEV[384:29715] Request scheme: about

2016-09-01 14:16:52.187 FrisbeeDEV[384:29715] Resetting plugins due to page load.

2016-09-01 14:16:52.191 FrisbeeDEV[384:29715] Lock Interface to Current Orientation: 1

2016-09-01 14:16:52.215 FrisbeeDEV[384:29715] Request scheme: https

2016-09-01 14:16:52.240 FrisbeeDEV[384:29715] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)

2016-09-01 14:16:52.242 FrisbeeDEV[384:29715] Resetting plugins due to page load.

2016-09-01 14:16:52.243 FrisbeeDEV[384:29715] Lock Interface to Current Orientation: 1



Hi Mykola,

On the DefaultApplicationURL setting try to use the "FrisbeePOC" value instead of "/FrisbeePOC/".


Luís Silva


Hi Luís,

That made the trick! Thank you very much!