Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 60

richardemery839
Aspiring developer
Profile
Posts: 258
Reg: May 15, 2013
Bangkok
9,480
08/30/14 09:30 PM (9 years ago)

Can I add a new plugin to a released app?

Whilst creating my mag. app I didn't add a location map plugin mainly because I didn't know what kind of map I was going to use. The app was released a month ago and now I want to add a location map plugin. How do I (or can I) go about this?
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
08/30/14 09:41 PM (9 years ago)
You would have to recompile the app with the new plugin, the re-submit the app to the app store as an update. Once the new plugin is compiled in the app, then you can make changes to the app from the control panel as normal without the need to re-compile.
 
richardemery839
Aspiring developer
Profile
Posts: 258
Reg: May 15, 2013
Bangkok
9,480
like
08/30/14 09:59 PM (9 years ago)
Hi Stobe Thanks. I was kind of hoping not to have to do that but hey, if it needs to be done.
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
08/31/14 01:46 AM (9 years ago)
That is why I like to compile with ALL the plugins that can be compiled; that way, you avoid the need to re-submit the app.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
08/31/14 01:54 PM (9 years ago)
Yeah, the other gotcha to worry about is updating the JSON with the new plugin before people have had a chance to update their apps. This is less of a problem now that apps usually get their updates automatically, but that's not foolproof. Some people have automatic updates turned off. Some have them on but they aren't consistent (at least in my experience). I've taken to adding in some extra code to look at the "version" tag in my BT_config.txt file in the bundle to see if it's higher than the version in the cached file. If so, then the app automatically downloads a fresh copy of the BT_config. That way, I can store separate BT_config files on my server for the different versions of my app and make sure that people only get the one that matches the version their app is on.
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
08/31/14 11:47 PM (9 years ago)
>extra code to look at the "version" tag in my BT_config.txt Excellent.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
09/01/14 04:19 PM (9 years ago)
Good tip, Chris! Could you post the details when there is a lull? Thanks, -- Niraj
 

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.