Location Services allows location-based apps and websites (including Maps, Camera, Safari, and other Apple and third-party apps) to use information from cellular, Wi-Fi, Global Positioning System (GPS) networks, and iBeacons to determine your approximate location.
Questions tagged [location-services]
268 questions
4
votes
2 answers
Adding multiple locations for "Suggested Apps" in iOS8
My question is: How can I add multiple locations to my iOS app so that it suggests the app to users at my customers' locations and not just my headquarters?
A little background: The "Suggested Apps" feature in iOS 8 adds an icon to the bottom…

user3203106
- 41
- 1
4
votes
1 answer
Get iPhone location in iOS without preference Location Services set to ON
I'm writing a daemon similar to Chris Alvares daemon. I want to get the divice location in background without users permission. If the Location Services preference in Settings is set to ON then I have no problem getting location. For this I'm adding…

user3586942
- 81
- 7
3
votes
0 answers
How to stop iOS app from request location services permission on app open?
Something in my app broke. The previous behavior--which was working really well until recently--was the following: I use iOS location services, but in onboarding, ONLY when a specific button is pressed should the pop up requesting location…

nickcoding2
- 142
- 1
- 8
- 34
3
votes
0 answers
Oreo - Background Location Service sport tracker
first of all I'd like to point out that I've done much of research here on stack overflow, on the android documentation and other sites but I still haven't found a solution.
I need your help to find out how to keep my SportTracker service running in…

Fabio Pocci
- 31
- 3
3
votes
4 answers
After enable gps from an app prompt how to refresh and get the current location?
I am currently developing an Android app which prompts the user to enable GPS if it's not on and I have used Alert Dialog for this purpose. After I enable the GPS from settings and come back to my app by pressing back button, the toast message…
user8181649
3
votes
1 answer
Error in adding location service to android custom ROM
I wrote a Location Service in android . and in AndroidManifest.xml i defined two intent-filters :

ofskyMohsen
- 1,121
- 1
- 12
- 26
3
votes
2 answers
iOS app rejected - Your app enables the display of nearby users' locations on a map, but does not have the required privacy precautions in place
My iOS app rejected from apple due to following reason :-
Your app enables the display of nearby users' locations on a map, but
does not have the required privacy precautions in place.
And they are sharing this screenshot of my app with…

Meet Doshi
- 4,241
- 10
- 40
- 81
3
votes
1 answer
Using geolocation.watchPosition() in mobile safari using location services
The output geo coordinates are only accurate on first load, the problem is when the iPhone screen times out and the locations services also timeout. And if I open safari again the geo coordinates are off by 100's of meters. The same thing happens if…

jasan
- 11,475
- 22
- 57
- 97
3
votes
1 answer
Google Play Location Services 9.2.0 missing Google attribution Android resource
I was trying to upgrade a dependency on Google Play Services from 9.0.2 to 9.2.0 within an Android app, namely the Locations API:
dependencies {
...
compile 'com.google.android.gms:play-services-location:9.2.0'
...
}
The APIs were…

M A
- 71,713
- 13
- 134
- 174
3
votes
1 answer
geolocation not working when location service toggled off and on
I have a function triggered by button click that checks geolocation..it works fine on phones when geolocation is on, and when off, a message saying so displays, as expected. The problem occurs when first the phone's location service is turned off,…

JasonBK
- 539
- 3
- 12
- 37
3
votes
1 answer
Prompt user to allow location services after being denied without crashing
The problem I am facing is that when I press a UIButton - location services are required to initiate the action. However if the user was to deny Location Services at the initial launch of the app - the app will crash.
I have tried finding a way to…

lifewithelliott
- 1,012
- 2
- 16
- 35
3
votes
1 answer
Using Google SettingsAPI and PermissionModel API in tandem
I am looking at the Play Services 7.0 documentation that can be found…

user2511882
- 9,022
- 10
- 51
- 59
3
votes
3 answers
Location service permission popup is not shown in iOS 9.1
I am facing problem with iOS 9.1 when my app is installed for the first time user is prompted for location service permission, but alert view gets hidden instantly as soon as it is shown. Therefore app do not detect a user's location. Although…

K_Mohit
- 528
- 3
- 17
3
votes
0 answers
Angular JS with ngMock & Jasmine causing Promise issue
I am new to Jasmine JS & ngMock.
When I am trying to inject ngMock in angular & accessing $location service for injecting in controller for Testing purpose.
I am not getting promise response. Please help me.
I am getting below error
Error: Timeout…

HaRdik Kaji
- 390
- 1
- 11
3
votes
1 answer
Multiple locations from location services in ios?
My question is about the getting the multiple locations from #CLLocation manager and how to make the x and y axis in the objective C.

Aashoo
- 33
- 3