Discussion Forums  >  Uncategorized

Replies: 14    Views: 283

JLdH78
Lost but trying
Profile
Posts: 4
Reg: Mar 01, 2011
Belgium
40
04/23/11 10:18 AM (14 years ago)

1.5 app approved, thanks! Small bug when installing from AppStore the first time

Hi BT team, Thanks for all this, the app is up and running, it s really great ! (vedett league app) I just have question: i ve installed the app from the AppStore and when I open it for the first time it just shows a dummy menu. The normal content only shows up when i hit the refresh button. Once i do that, it stays normal. Is there a fix to this ? Thanks for everything, Jean-Louis
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/23/11 11:50 AM (14 years ago)
Hmm... this doesn't sound like a very good user-experience (as you realize). There are countless ways to configure the data-source for your app. I'll be this is happening: a) App launches and errors trying to read the BT_config.txt file (not sure why, just thinking this is why home screen is blank) b) Nothing else happens...until user taps refresh. Refresh forces app to fetch latest copy of config data from server - works. c) Next time app is launched the previously downloaded copy of data is used, which is OK. It's very likely that there is somethign wrong with the BT_config.txt file that is in Xcode. When the app is first installed, this is the file that is read. Can you see any trouble in the output console when the app launches? Maybe delete it from the simulator, delete the simulators cached download directory then reinstall. This should produce the same condition - blank screen. Before tapping anything else, look at the output Console for clues.
 
hacerapps
buzztouch Evangelist
Profile
Posts: 542
Reg: Jan 30, 2011
usa
11,170
like
04/23/11 04:39 PM (14 years ago)
this happen to me before uploading your app make sure to download the source code again that will fix it delete your app from the simulator and download the s.code again insert your custom pics or backgrounds and install the app in your simulator again that will fix it trust me
 
JLdH78
Lost but trying
Profile
Posts: 4
Reg: Mar 01, 2011
Belgium
40
like
04/23/11 06:10 PM (14 years ago)
Thanks for the tips ! Now that you tell me about it, it maybe did happen on the simulator, but once, and of course afterwards everything seemed normal. I'll try this and keep you posted (I'm amazed Apple did approve it this way, it works but still, like you say user-experience isn't top-notch now :)).
 
gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
like
04/25/11 04:34 PM (14 years ago)
I too just experienced this. For some reason when looking in the console, there is never any call to the cloud to check the file. Once you force refresh, it's all good. The version that just hit the app store is based off of the 4/16/2011 release. Although, I never recall having this issue when I was testing the file on the device prior to submitting it. It possibly could be fixed by now. I'll follow up once I do a new compile.
 
JLdH78
Lost but trying
Profile
Posts: 4
Reg: Mar 01, 2011
Belgium
40
like
04/26/11 05:11 AM (14 years ago)
I'll do the same, a new compile with the latest 1.5 version (uploading pics...great :)) and will follow up.
 
gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
like
04/26/11 04:34 PM (14 years ago)
I just loaded the latest build to my device and am experiencing the same issue. I'm not certain what I should be looking for in the console that shows the task for comparing the included data config and the server data config. All I know is that at no point in the initial run is there anything about the data URL nor the date comparison I see if I've forced the refresh.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/27/11 03:43 AM (14 years ago)
I think we've found the issue with this.... expect an update tomorrow.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/28/11 02:54 AM (14 years ago)
grab the latest download...see if it works as expected. Bet it does ;-) Here's the logic: a) App launches for first time, no cached data, nothing to compare to. b) It 'reports' to cloud if it has a reportToCloudURL. This process saves a date-stamp to the device for comparison later c) Next time the app launches, it reports to cloud again. If server date-stamp is different than saved date-stamp (from last time) it alerts user for refresh. I DID find something wrong with this and you should be OK with the latest release I just put on the download server.
 
JLdH78
Lost but trying
Profile
Posts: 4
Reg: Mar 01, 2011
Belgium
40
like
04/28/11 03:24 AM (14 years ago)
Great thanks ! I'll try it asap !
 
gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
like
04/28/11 09:52 AM (14 years ago)
David, should this be notated in the change log as a new version or did you just overwrite the previous version?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/28/11 09:53 AM (14 years ago)
It will be noted if it solves some issues discussed in this thread ;-)
 
gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
like
04/28/11 10:02 AM (14 years ago)
Got it. In that case, it doesn't seem to have worked if I understand your logic list. Or maybe it did but not the way I think that it used to work. The first time the app loads upon clean install, there shouldn't be any notice of changes (even if there actually are). Only after the second time that the app loads there will be a notice of change now that there is a timestamp to compare to. Got that all right? If that is correct, it doesn't notice any changes that may have been previously made between the compiled download time and the first run time. Only if I make a change after the app has been run the first time will it then notice the changes. So, if I'm not actively making changes to the app, some users may never get that update notice. Unless of course they refresh the app themselves. Still with me? Just my thoughts on the logic.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/28/11 10:08 AM (14 years ago)
Um... not with you. LOL. The only time the app won't check for changes is the first time it's installed and run. From this point on it should always have the time-stamp saved. When the app launches each time (or is brought to the forefront in a multi-task enabled device) it will compare this file to the result from reportToCloud. If they don't match it will advise. Maybe we're saying the same thing? Test this on the sim. Install app and make sure it's documents directory is empty. My sim saves files here: /Users/davidbook/Library/Application Support/iPhone Simulator/4.2/Applications/APP ID/Documents Your's probably does this same thing. Install the app, make sure this directory is empty. When it launches you should see a file saved to that directory. This is a plain text file and saved the time-stamp of the last refresh. If this exists, and is different from the value returned from reportToCloudURL it should advise.
 
gotfox
buzztouch Evangelist
Profile
Posts: 146
Reg: Feb 05, 2011
Las Vegas
8,460
like
04/28/11 10:18 AM (14 years ago)
So, the timestamp comparison is just looking for a change no matter newer or older? In that case, I understand the logic. And it appears that now that I understand the logic, the issue has been resolved. Thanks, David! BTW, what a good choice by your parents for your first name! Mine had the same idea.
 

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.