I like to force the users of the app to allow location services.
My problem is.. the toast message that asks the users -- "Blah blah would like to use your current location." [Don't Allow] [OK] -- is only asked once. I like to somehow loop and reask and reask and reask until they say [OK].
I tried to write a simple repeat loop to perform "iphoneStartTrackingLocation" repeatedly...so I found out that it never asks again.
Is there a way to do this? Probably RESET the tracking so it's like it never asked before?
Please help.
Thanks,
Genie
GPS: iphoneStartTrackingLocation
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 328
- Joined: Mon Dec 05, 2011 5:34 pm
- Contact:
Re: GPS: iphoneStartTrackingLocation
I really don't think that is allowed by either Apple or the rest of the morally thinking world!
The purpose of the question regarding whether the user wants to allow location tracking is not to ignore them and try and force them to use it. If the user says no then your app should respect that decision. If you need the location tracking then simply explain that to the user and ask them to enable it. You should never - I repeat never, force the owner of the device to do something, else you will simply not get any further sales because of bad reviews and likely complains to Apple that will get you app pulled from iTunes.
Try not to be silly - do it the right way.
Dave
The purpose of the question regarding whether the user wants to allow location tracking is not to ignore them and try and force them to use it. If the user says no then your app should respect that decision. If you need the location tracking then simply explain that to the user and ask them to enable it. You should never - I repeat never, force the owner of the device to do something, else you will simply not get any further sales because of bad reviews and likely complains to Apple that will get you app pulled from iTunes.
Try not to be silly - do it the right way.
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.
Visit http://electronic-apps.info for released App information.
Re: GPS: iphoneStartTrackingLocation
Thank you, Dave!
Hmmm...I just like to user to stay in one page, and not able to continue. Anyway, this app is not going to be on the app store. It's like an in-house app for a company...and that's what they want to happen.
Well, thank for letting me know it's nearly impossible, and thanks for the very prompt response.
Thanks,
Genie
Hmmm...I just like to user to stay in one page, and not able to continue. Anyway, this app is not going to be on the app store. It's like an in-house app for a company...and that's what they want to happen.

Well, thank for letting me know it's nearly impossible, and thanks for the very prompt response.

Thanks,
Genie
-
- Livecode Opensource Backer
- Posts: 328
- Joined: Mon Dec 05, 2011 5:34 pm
- Contact:
Re: GPS: iphoneStartTrackingLocation
Ah well. An in-house App is an easy thing to handle.
Simply let them refuse - but detect that they refused and stop the program from moving to another screen (easy task to change the action for a button). But leave them on a screen that tells them why they must enable the service (and how to).
When they come back from the settings screen you simply run the hidden check again and if it passes then let them continue.
Dave
PS. Probably best to mention that this is an in-house App when asking the question in the first place - it solves a lot of misunderstanding.
Simply let them refuse - but detect that they refused and stop the program from moving to another screen (easy task to change the action for a button). But leave them on a screen that tells them why they must enable the service (and how to).
When they come back from the settings screen you simply run the hidden check again and if it passes then let them continue.
Dave
PS. Probably best to mention that this is an in-house App when asking the question in the first place - it solves a lot of misunderstanding.
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.
Visit http://electronic-apps.info for released App information.
Re: GPS: iphoneStartTrackingLocation
Hi guys,
we have a dedicated "iOS" forum, so please use it, thanks!
Will move this thread.
Best
Klaus
we have a dedicated "iOS" forum, so please use it, thanks!
Will move this thread.
Best
Klaus