Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
08/06/12 06:45 AM (13 years ago)

source code download question

question for everyone. ive built an app using BT control panel 2.0. Since downloading source, ive done alot of custom coding in xcode and all added a few new screens and menu option on BT. Whenever i load onto iphone/ipad, the screens are outdated and i immediatly have to hit refresh so its how i would expect it. How can i stop this ? Do i have to download the source code again now its all but finished? (im hoping not as this will mean i have to do all the custom code again) or is there something else i can do. im worried that if i send this to app store now, they are going to see the 'old' version instead of my finished version as they will not know to refresh. Any ideas/suggestions? Thanks in advance
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
08/06/12 06:55 AM (13 years ago)
Before compiling your app make sure to copy all the json data from the Configuration Data section of your app on bt dashboard. And then paste the same in your bt_config file in the assets folder. This way the contents in the project and on the bt server remain same.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
08/06/12 07:34 AM (13 years ago)
You hero! Thanks :)
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/06/12 09:24 AM (13 years ago)
im worried that if i send this to app store now, they are going to see the 'old' version instead of my finished version as they will not know to refresh. They probably know to refresh, but they'll reject because you're using "place holder" in the app. Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/06/12 09:48 AM (13 years ago)
Always make sure the configuration data from buzztouch.com and your BT_Config.txt file are in sync before you publish the app. And then don't make any changes until after they approve it, or it'll prompt them for a refresh (which, as @Fred points out, they'll know how to do). If you download your source code again from BT, it won't contain any modifications you've made to the source, and you risk overwriting those modifications and loosing them. The source you get from BT never changes after you download it the first time...only the BT_Configuration.txt file changes. Mark
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
08/06/12 01:31 PM (13 years ago)
Mark, am I right in thinking there is one exception to "the source you get from BT never changes after you download it the first time" , which is if you need to add plugins to the control panel after the download. It might sound obvious but I learned this the hard way. So now I load all the 3rd party plugins into my control panel as they come out in case I think I am going to need them. Alan
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/06/12 01:35 PM (13 years ago)
Hi Alan, Yep, good point! I thought that v2 provides all the plugins available at the time of download, so they're all there. But I'd have to double-check. Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/06/12 02:04 PM (13 years ago)
You can add plugin files directly to the source code after you've downloaded the source code. If the plugin is also added to the control panel then the plugin should work. If the plugin uses new permissions you will need to modify the manifest (Android). 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.