Questions tagged [location-services]

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.

268 questions
8
votes
5 answers

Turn GPS on programmatically like Ola Cabs Android app

I am working on an application and need to integrate GPS location. I want to switch the GPS on programmatically. The condition is: I don't want to send the user to the Setting panel to enable it. I want to enable it forcefully or a single prompt…
Alpesh
  • 265
  • 2
  • 7
  • 22
8
votes
4 answers

Android Fake GPS location apps do not work anymore

I used to work with this application: https://play.google.com/store/apps/details?id=com.fakegps.mock&hl=en And before this with this one: https://play.google.com/store/apps/details?id=com.incorporateapps.fakegps.fre&hl=en Am working on a LG G3 and a…
rosu alin
  • 5,674
  • 11
  • 69
  • 150
7
votes
7 answers

Something wrong with my iOS app's location service declaration

A few days ago when I uploaded a new version of my app to the App Store using Xcode, I received the following e-mail from iTunes Connect: Subject: iTunes Connect: Your app AppName has one or more issues Dear developer, We have discovered one or…
Standix
  • 67
  • 2
7
votes
2 answers

Fused Location Provider - onLocationChanged stops getting called

In our app we used the Fused Location Provider (FLP) to track location. We've noticed that occasionally the app can get into a state where the location callback stops getting called. The app in question is used primarily on two tablets (a nexus 7…
6
votes
1 answer

How do I set CoreLocation usage description for macOS?

I'm trying to set the string that is shown when my app requests location authorization. I've tried setting all four possible keys in…
Nate
  • 473
  • 3
  • 14
6
votes
0 answers

FusedLocationApi Background Location service stops receiving updates randomly

i'm trying to use FusedLocationApi with pending intent to get period location updates so i can send the data to some server for processing. Everything works. However, there are some instances where the broadcast just stops receiving. I would need to…
6
votes
3 answers

Cannot resolve symbol 'LocationClient' in Android Studio

I'm getting this error developing an application in Android Studio that I would like to use location services in.I know this question has been asked before but I beleive the previous was with an app developed in Eclipse. I beleive this may be an…
5
votes
5 answers

iOS why system kills the app using location in background

I have an app that uses the location updates when it is in the foreground as well as in the background. Using the CoreLocation framework, I have implemented the app so that location updates are sent to the server after every 5 minutes, using this…
TechSavy
  • 797
  • 2
  • 8
  • 22
5
votes
0 answers

iOS: Why is the outlined location services icon still showing after stopping monitoring for regions?

I am testing on an iPad 3rd gen on iOS 7.1 since I have no other iOS device for the moment. The first time I run my app, it starts monitoring for several regions. The status bar and the Location Services settings page are showing the outlined…
Raphael Royer-Rivard
  • 2,252
  • 1
  • 30
  • 53
5
votes
2 answers

Does location service require Internet to get location?

I am little confused with the answers. can anybody give me a right answer to solve this question. I have developed an emergency alert app. I am getting location from GPS and Network service. In some situation there is no mobile data or WiFi…
TheDevMan
  • 5,914
  • 12
  • 74
  • 144
5
votes
1 answer

getTriggeringGeofences and getGeofenceTransition from LocationServices

I noticed that the LocationClient class has currently been deprecated. I was using it for a travel app. and I changed the logic to use LocationServices instead of…
4
votes
1 answer

Flutter iOS App Crashes Immediately when asking for location

I'm simply trying to get the device's current location using the location pub package, however the app is crashing in runtime. I made sure to all the permissions to Info.plist,…
Ryan Roberts
  • 318
  • 1
  • 4
  • 12
4
votes
1 answer

How I can avoid battery optimization of Samsung devices? (S6, S7 and S8)

I have a GPS tracking Android app that receives continuous push messages when someone requires user's position. Everytime that I receive a push, I start the location service that send positions during X time while he is receiving push messages. The…
Xose
  • 544
  • 1
  • 4
  • 12
4
votes
2 answers

How to hide status bar message when app is using background location services in iOS

I want to hide message that appears on status bar in blue colour on iOS devices, when i minimise my app using location services in background mode.
K_Mohit
  • 528
  • 3
  • 17
4
votes
2 answers

Google Play Services or Android Location Services

I am wanting to implement location based functionality in my app. I have been reading a bit and I find my self a bit confused. When googling for tutorial almost every result comes back with an example using Android Location API. However when reading…
Zapnologica
  • 22,170
  • 44
  • 158
  • 253
1
2
3
17 18