Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 8    Views: 132

I mean it
Code is Art
Profile
Posts: 66
Reg: Feb 20, 2012
London
1,060
03/14/12 09:13 AM (13 years ago)

Online vs offline app

Dear All, I have a lot of content in my app and I want my app to work perfectly in airplane mode. At the same time, I would like to be able to update the info via refresh from time to time. Am I correct in understanding that I will provide all my data with the app and that the app may be trying to connect to the BT servers to look for an update but when it can't (network down) will it still work fine, provided I previously put all the docs/icons/images in my xcode project? cheers, dan
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
03/14/12 09:16 AM (13 years ago)
That is correct. Just make sure that all files is in the app. Br Stefan
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
03/14/12 09:21 AM (13 years ago)
That is correct. For a more complete read about Online vs. Offline in three places: Www.myskylla.wordpress.com Buzztouch v1.5 (and 2.0) doocumentation in the help center Under How To fing GoNorthWest Online Offline explanation Fred
 
I mean it
Code is Art
Profile
Posts: 66
Reg: Feb 20, 2012
London
1,060
like
03/14/12 09:24 AM (13 years ago)
Dear Both, Thank you for your speedy reply. I did read the How-to before, I just thought I clarify to be absolutely sure. Best wishes, Dan
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/14/12 09:45 AM (13 years ago)
Hi Dan, As @Stefan says, you have it correct! Just to make sure you believe it, though, you should test your app in airplane mode or with out a network connection. All your content should be available in either case, provided you have correctly added it to Xcocde. There is a How-to on adding files to your Xcode project if you're unsure on the process (or just want to verify you have it right). Thanks! Mark
 
I mean it
Code is Art
Profile
Posts: 66
Reg: Feb 20, 2012
London
1,060
like
03/14/12 10:15 AM (13 years ago)
Brilliant. Cheers Mark! Best wishes, Dan
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
03/14/12 12:03 PM (13 years ago)
Just to be sure when checking your app - remove it completely from your device, put the phone in airplane mode, reinstall tha app and then check every screen really are downloaded with the app. Otherwise you might be looking at cached files believing that the app is in off line mode. BR/Stefan
 
I mean it
Code is Art
Profile
Posts: 66
Reg: Feb 20, 2012
London
1,060
like
03/14/12 12:06 PM (13 years ago)
Ok, will do. Thanks for the advice Stefan. Best wishes, Dan
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
03/14/12 12:28 PM (13 years ago)
Regarding uninstalling: You can see what the app is going to initially show by clearing the cache. By leaving the app online you can update via Control Panel The user will see the update if they open the app and update, otherwise they'll see what was published or last update. This doesn't prevent the app from working in airplane mode. So clearing the cache is not necessarily what you wish to do. That would only represent one state of the app. The other state 'cache' not cleared is also a valid airplane mode state. You just want to be sure both states are functional. Some apps the user will need to activate prior to entering airplane mode for it to be useful. Fred
 

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.