Discussion Forums  >  Self Hosted Control Panels

Replies: 9    Views: 56

andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
08/16/12 06:28 AM (12 years ago)

Bug report - settingsLocation

Posted my problem here yesterday: http://www.buzztouch.com/forum/thread.php?tid=1AC9E601C5954915D5C068F&fid=06DB0BCB08E6666&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 Decided to try a "virgin" project this morning and I did indeed have the same issue. I would love it if someone could try and recreate. 1) Download BT self-hosted 2.0 project and set it up to run in simulator 2) Add a "Allow GPS" screen 3) Make "Allow GPS" screen your non-tabbed layout home screen in the "Layout / Tabs" section 4) Run app in simulator 5) Click on "Prevent Location Reports" in your app 6) Then, click on "Allow Location Reports" 7) The app will crash From my research, it appears that we're calling for an object that has been freed (not retained). I would appreciate anyone who can try to replicate this behavior. Also, this crash appears to happen on all my self-hosted BT 2.0 apps no matter the layout. Here's my error log: 012-08-16 08:19:40.065 parsetest[59937:c07] parsetest_appDelegate: appModified.txt does not exist in the cache. Not checking for updates. 2012-08-16 08:19:41.978 parsetest[59937:c07] BT_screen_settingsLocation: didSelectRowAtIndexPath 2012-08-16 08:19:44.249 parsetest[59937:c07] BT_screen_settingsLocation: didSelectRowAtIndexPath (lldb)
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
08/16/12 06:46 AM (12 years ago)
Hi andydahl, Just tested this but it doesn't crash. I connected the GPS from a menu. Did you connect it right from a tab? Maybe that's causing the crash. Best Regards, Danny
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
08/16/12 06:56 AM (12 years ago)
Weird - No matter how I try it, it crashes. Just to clarify, you're BT self-hosted 2.0 and you're choosing "Deny" and then "Allow"? Thanks for checking this for me. I'm using Xcode 4.4.1 on Mountain Lion. Regards, Andy
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
08/16/12 07:04 AM (12 years ago)
Hi andydahl, Tried direct link from tab and no issues. This was testing ios 4.3 simulator. After that I tried on ios 5.0 simulator and can confirm the crash. Don't know what is causing it but there is another problem: If I allow "start tracking location" on ios 4.3 simulator no popup will come up on the start of the app and prevent or allow location report always shows the simulator(user) addres. On ios 5.0 simulator it warns the user that gps is on. Best Regards, danny
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
08/16/12 07:08 AM (12 years ago)
Thanks so much Danny! At least I know I'm not crazy. Regards, Andy
 
WebNevees
Code is Art
Profile
Posts: 206
Reg: Oct 28, 2012
KL
11,660
like
02/13/13 04:48 AM (12 years ago)
Hi Guys... Andy, Danny Was there any conclusion to this? Anyway to fix this problem? I am now facing the exact same thing! I'm on a self hosted BT2.1.8 and have crashes due to the gps settings screen. It also doesn't function as it is supposed to. The mode selected is not mirrored onto the actual device settings in the ios settings app. Please help!
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
02/13/13 05:28 AM (12 years ago)
It's still an issue. I just submitted an app to Apple without the screen because of it. If/when it's approved I might enable it, but if it truly doesn't work, what's the point?
 
WebNevees
Code is Art
Profile
Posts: 206
Reg: Oct 28, 2012
KL
11,660
like
02/13/13 06:00 AM (12 years ago)
So do you have any idea if it is actually required by apple? I mean it is possible to set the preference of using or not using location services in the actual ios settings app. So it shouldn't be that crucial. I think David has meant it in a more ethical way than technical requirements or guidelines to include the settings screen if we're using GPS locations. I hope your app is approved quickly. Let me know when it's out. I really liked your Villa Grove Football app with all the customizations it had. Keep it up.
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
02/13/13 06:06 AM (12 years ago)
Thanks for the kind words! I set the app to "Not Track Location" when it opens. That way, there is no need to turn it off. Andy
 
WebNevees
Code is Art
Profile
Posts: 206
Reg: Oct 28, 2012
KL
11,660
like
02/13/13 06:26 AM (12 years ago)
So do you have any idea if it is actually required by apple? I mean it is possible to set the preference of using or not using location services in the actual ios settings app. So it shouldn't be that crucial. I think David has meant it in a more ethical way than technical requirements or guidelines to include the settings screen if we're using GPS locations. I hope your app is approved quickly. Let me know when it's out. I really liked your Villa Grove Football app with all the customizations it had. Keep it up.
 

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.