Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 75

Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
05/08/13 04:20 AM (12 years ago)

Live - Design mode question

Hi, I am looking to update an app and cant see any directions on how to without the changes being applied live. I assume it has something to do with live design mode? If someone could point me in the right direction i'd be appreciative. All the best.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/08/13 04:40 AM (12 years ago)
Before you compile your app for the markets, you should change the line in your BT_config.txt file from "currentMode":"Design", to "currentMode":"Live", then compile, submit, etcetera. After that, all the changes you make in your control panel will NOT be reflected in your 'Live' applications until you 'publish changes' in the control panel. All 'Design' mode apps will see an immediate change in the app configuration regardless of publish or not. Changing the 'version number' in the 'Publish Changes' screen is merely an arbitrary number for *you* to know which version is which; the app stays the same, as that version is determined by the binary at compile time. If your app was released with "currentMode":"Design", instead of 'Live', or if your app was released pre-2.1.8, then *any* change made in the control panel will be reflected in all apps upon reload. Does that help any? Cheers! -- Smug
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
05/08/13 05:50 AM (12 years ago)
Indeed it does thanks! Quick Q if I may!?! - At what point do you make the change? After you send the binary and before it goes live on the app store? I have released all of mine in 'Design'!! Balls.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/08/13 06:27 AM (12 years ago)
It needs to go in sometime 'before' you compile and send the binary for app store submission. Once it's in the app store and released, you're in whatever Mode it was in until your next update, meaning, your next binary submission to the app store/play store. If that means you're in Design mode, be careful of your changes; they're real time. Cheers! -- Smug
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
05/08/13 06:28 AM (12 years ago)
I would do an update with nothing changed but current mode to live. Then upload it. After that make your changes. -Shane
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
05/08/13 06:30 AM (12 years ago)
Good idea. Thanks.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
05/08/13 06:40 AM (12 years ago)
Cheers smug.
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
05/08/13 11:09 AM (12 years ago)
Clear explanation Smug... I finally get it! Thanks, Pancho.
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
05/25/13 08:15 AM (12 years ago)
I guys i just to clarify something. My app is uploading the Apple as we speak and im already thinking about future changes/additions. I changed it from design to live before sending the binary however if i want to add stuff to my app do i just make the changes, change the version and hit the publish changes button and will that then instruct the people who downloaded the app that there is a update to do or will i have to go through Apple again and get them to post the changes somehow?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/25/13 01:39 PM (12 years ago)
1) The 'version' in your control panel (when you 'publish' updates) is not really a 'version' of the app, so much as it is a 'scratchpad' for you to keep track of your changes; it has no bearing on the app, other than to assist the developer. 2) While your app is released 'in the wild', any changes you make in your control panel will affect 'Design Mode' apps only, *until* you publish them. This is so you can test your changes on a device before 'publishing' those changes to the devices 'in the wild' to devices with a 'Live' configuration. 3) When you 'publish' your changes, you do not need to inform anyone; when the app is launched, it will communicate with BT to ensure it has the latest configuration file. When it reports to BT, BT will instruct the app that a newer version of config is available, and the app will download the new config, implementing your changes. You may have seen the alert "configuration data has changed, would you like to refresh" (or something similar). So basically, you are correct, with the exception of you do not have to do anything after updating. Hope this clears it up a bit... Cheers! -- Smug
 
KRima
Apple Fan
Profile
Posts: 154
Reg: Jan 27, 2013
Sydney
1,940
like
05/25/13 07:42 PM (12 years ago)
It is clear however i can only test this when (hopefully) my app gets approved by Apple. Thanks for your help.
 

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.