Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 10    Views: 110

xpack
Aspiring developer
Profile
Posts: 29
Reg: Jun 13, 2011
location unknow...
290
03/27/12 05:28 PM (13 years ago)

Update Available

I see many are plague with this error, glad to see I'm not the only one http://imgkeep.com/nnu0tlg8bid9.html I created a bare basic app in both BT-server and buzztouch.com that dont require any images or anything and both do this. Is there a solution besides taking the app offline. I keep seeing things about [appname]_appDelegate.m but I can only fine a [appname]_appDelegate.java dont mean to sound stupid but where is the .m file. This is for BT-server 2.0 b 2.1.6 I've been using BT-server since the beginning and it has never given me these problems.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/27/12 09:56 PM (13 years ago)
Hi @xpack, If you make ANY changes at all to your app using the control panel...be it changing an Advanced Property or screen nickname or something like that, it would cause this behavior. The way it works is that when the user starts the app, or bring it to the forefront, the app checks the Report to Cloud URL to see if there have been any updates. If there have, then it gives the prompt that you see. If there aren't any, then it doesn't. The config file in your app (either cached or otherwise) must match exactly the one on the server in order a refresh to not happen. So, given that, is this expected behavior, or are you literally not making any changes at all in the control panel, and it's prompting you each time? Mark
 
xpack
Aspiring developer
Profile
Posts: 29
Reg: Jun 13, 2011
location unknow...
290
like
03/27/12 10:56 PM (13 years ago)
I'm not making any changes and it shows the screen above and even when I click Yes and it updates it pops back up again.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/27/12 11:13 PM (13 years ago)
Hmmm...interesting. I'll see if I can replicate it on my server. Do you have any particular screens in your test app? To answer one of your other questions, the [appname]_appDelegate.m file is for iOS, while [appname]_appDelegate.java is for Android. You'll have one or the other in your package depending on what you downloaded. By your screen shot, it looks like you're doing Android. Mark
 
xpack
Aspiring developer
Profile
Posts: 29
Reg: Jun 13, 2011
location unknow...
290
like
03/27/12 11:20 PM (13 years ago)
Yes here is a screenshot of the apps I have installed http://imgkeep.com/xawnejpldzxj.html And here is the apk it doesn't have anything on it http://www.mediafire.com/?wr2q87omnhy5nrm It will start after after you click menu refresh all data
 
xpack
Aspiring developer
Profile
Posts: 29
Reg: Jun 13, 2011
location unknow...
290
like
03/27/12 11:24 PM (13 years ago)
Sorry refreshed by accident
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
03/27/12 11:39 PM (13 years ago)
This problem first appeared after the new site was launched. Am I correct in understanding that this app was created using BTv2.1.6 using Buzztouch's server and not a self-hosted server? When did you create the app? When did you download the source code? Is the problem isolated to Android? Fred
 
xpack
Aspiring developer
Profile
Posts: 29
Reg: Jun 13, 2011
location unknow...
290
like
03/27/12 11:43 PM (13 years ago)
I created one on a self hosted and buzztouch and both did the same when it came to buzztouch 2.0 made another using 1.5 and its working and updating perfectly. I created the app earlier today and downloaded it soon after (since there wasn't much to the app) and I noticed the problem. And I dont have an iPhone with me to test it on one of them, but this app only needs to run on Android.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
03/28/12 12:00 AM (13 years ago)
When did you install the self hosted server? When did you update to 2.1.6 ? Fred
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/28/12 12:02 AM (13 years ago)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/28/12 12:14 AM (13 years ago)
David is the man!
 

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.