Discussion Forums  >  Uncategorized

Replies: 5    Views: 533

lsmith
Code is Art
Profile
Posts: 12
Reg: Jan 30, 2011
Sacramento
420
02/17/11 09:22 AM (15 years ago)

Error - Configuration data unable to load

I hae created an App under V1.5 and installed it on an IPhone 3.22 and IPod 4.2 . The error is triggered when the iPod is not connected via WiFi. Is this because of the Map and email options that I have in the App? What can I do that will allow the App to load and function? Currently I just get a blank screen.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/17/11 10:05 AM (15 years ago)
You have a few options here. The assumption is that the app will be connected at least 'once' when it first launche so it can download it's configuration data. You can create an app that does not NEED to download anything but you'll have to make a few changes. a) Create your project on the control panel. b) In the 'core' settings area, click the link to show the Configuration Data. Save this file as a text file, like myconfig.txt c) Add this file to your Xcode project in the BT_config directory d) Find the configuration file name in the appDelegate class - change it to the name of the new configuration file you just saved e) Remove the dataURL value and the reportToCloud value from the configuration file to the app doens't look for anything online. Compile.
 
lsmith
Code is Art
Profile
Posts: 12
Reg: Jan 30, 2011
Sacramento
420
like
02/17/11 03:02 PM (15 years ago)
Thank you David. This worked perfectly. Buzztouch is FANTASTic!!! I really appreciate the work you and the team have put in to this product. Thank you.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/17/11 10:21 PM (15 years ago)
Glad it worked - good stuff.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
03/08/11 09:58 PM (14 years ago)
By doing this does it effect updating the app online in any way? The BT control panel no longer effective?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/08/11 11:58 PM (14 years ago)
Yes and No. The idea is that were trying to allow folks that want to 'disconnect' and host their config. file on their own server/website an ability to do so. Moving your config file to your server and changing the dataURL to point to your own configuration file accomplishes this. But, it does change what the control panel is used for. The idea is this: Offline only Apps: a) If app DOES have a dataURL in the configuration file in the Xcode project (BT_config.txt by default) then it check this dataURL for a newly updated version. b) If app DOES NOT have a dataURL in the configuration file in the Xcode proejct it doesn't check anything. In this case, the app operates only form this file. This is useful for apps that don't use online content. This approach is cool but DOES NOT ALLOW any oline updates. Online apps: a) App checks dataURL in configuration file and downloads latest version. Stored a 'last downloaded copy' b) When app launches again, it checks for newer version. If no newer version found, it used the previously cached version. c) This file can be on buzztouch or on app owners server (dataURL determines this) This means that parking your config file on your server requires you to change it when when updates are needed. To do this, it's a matter of making the change on the control panel, re-downloading your config file (from Core Settings screen), then re-uploading to your server. FYI: Battling with iPad background orientation. Still. Crazy. I'll get it!
 

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.