New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Knowing the user general location without asking for permission. #2
Comments
…parameter Merge pull request #2 from @podkovyrin. By default, the timeout countdown begins as soon as the `requestLocationWithDesiredAccuracy:timeout:block:` method is called. This commit introduces a new variant of this method that includes a `delayUntilAuthorized` parameter, which allows you to pass YES to delay the start of the timeout countdown until the user has responded to the system location services permissions prompt (if the user hasn't allowed or denied the app access yet).
++1 |
Thanks! |
I disagree. I mean, if user doesn't give you permission for location, well, it's because he doesn't want to located. Why do you want to bypass his/her decision? |
Do you think that google analitycs doesn't geocode your ip address? :) |
The library is basically an API for Apple's SDK. Not sure how getting the location through geocoding has anything to do with this. |
+1 |
@Ricardo1980 In our app we need at least knowing user's timezone in order to provide time related service. |
@callzhang Timezone and location are 2 different things. And you can get time zone always you want, you don't have to ask for permission. http://stackoverflow.com/questions/19186666/get-timezone-country-from-iphone |
If you already use Google Maps, you can accomplish this by piggybacking off of their |
This is probably something that will never get implemented for INTULocationManager. As @iwasrobbed suggested, there are other ways to accomplish this. Thanks for the suggestion. |
A nice feature to have in this class is the ability to identify the user general location (country) without asking for permission. Something like a
desiredAccuracy
ofINTULocationAccuracyCountry
. This can be done in a number of ways but the best I can think of is to use something like http://www.iplocationtools.com/ or any other free service that offers to translate an IP address to a country. (And of course without using Core Location)Services like Spotify etc' that are country based always using something like that in order to know the user location without asking for permission.
The text was updated successfully, but these errors were encountered: