Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 5    Views: 183

joos13
Aspiring developer
Profile
Posts: 5
Reg: Jun 06, 2013
Charlottesville
5,650
06/07/13 09:20 AM (10 years ago)

How does bt_config.txt refresh work?

So I've been making changes in the control panel. When I hit the refresh button in iOS simulator, what is being refreshed? The bt_config.txt is not changing in my project. That leads me to think that the only bt_config.txt the app is paying attention to is the one in the control panel. Do I simply need to copy and paste the new bt_config.txt into the xcode? Josh
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/07/13 09:40 AM (10 years ago)
To your last question - yes. When you're finished and ready for submission, find your app configuration data in your control panel, copy that JSON data into your bt_config.txt file in your project and save. You now have the latest copy of your "app". As for your first question, refreshing DOWNLOADS that data automatically and replaces your current bt_config.txt file in your app. You do it manually at the end so that when the user opens the app for the first time they see the latest data rather than needing to refresh right after the first launch. Cheers, David https://buzztouchmods.com
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/07/13 10:04 AM (10 years ago)
I did a tutorial on this a while back: https://www.buzztouch.com/forum/thread.php?tid=CA595CCBE4EAD2F86FDA682 Hope it helps! Mark
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/07/13 10:31 AM (10 years ago)
@joos13, I could be wrong, but it sounds as if your app is in 'live' mode. If so, you need to 'publish changes' on your control panel so that your app picks up the changed config.txt file.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
06/07/13 10:46 AM (10 years ago)
@AlanMac *facepalm* I forgot that those are also relative to the configuration data text. Arg. Cheers, David https://buzztouchmods.com
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/07/13 01:43 PM (10 years ago)
Also keep in mind that the BT_Config.txt file that is 'refreshed' will never ever overwrite the BT_config.txt that is bundled into your app; it's merely a cached copy that is downloaded and used in place of the original, if the versions don't match. https://www.buzztouch.com/docs/v1.5/configData.php Cheers! -- Smug
 

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.