Questions tagged [geofencing]

A geo-fence is a virtual perimeter for a real-world geographic area. Geo-fencing is a means of notification when a location-aware device crosses this virtual perimeter.

735 questions
43
votes
4 answers

iOS - CoreLocation and geofencing while app is closed

I've read many tutorials about geofencing my iOS app (i.e., here), but none mention whether or not iOS allows any app-specific location data to be handled when the app is closed. For instance, I understand that when the app is in the background,…
Brett
  • 10,971
  • 27
  • 114
  • 198
32
votes
5 answers

Tracking multiple (20+) locations with iOS geofencing

An iOS application uses the geofencing for notifying the user about predefined nearby locations. The application is allowed to miss some location (the user is not getting a notification about a nearby location), but it is desirable to keep the…
silentser
  • 1,991
  • 2
  • 21
  • 27
29
votes
9 answers

iOS Geofence CLCircularRegion monitoring. locationManager:didExitRegion does not seem to work as expected

I am currently trying to get my app to monitor particular regions using CoreLocation however I am finding that it does not seem to work as expected, it seems to me that it cannot work with small a small radius set for each location i.e. 10m. I've…
MonkeyBlue
  • 2,126
  • 6
  • 30
  • 39
26
votes
6 answers

Testing geofencing with Google Play Services 6.5.+

I've been testing the geofencing api available in the latest Google Play Services, using the official sample available here: https://github.com/googlesamples/android-Geofencing/ And of course, following the training course:…
Redwarp
  • 3,172
  • 3
  • 27
  • 43
23
votes
2 answers

Do Geofences remain active in android after a device reboot

I'm writing an application that needs to use geofencing for when someone enters/exits multiple sites over the lifetime of the application being installed. My implementation of geofencing (very similar to the second link below) is all working fine…
23
votes
2 answers

Android - How to retrieve list of registered geofences

How can I determine all geofences registered for an application? After registering GeoFences with LocationClient.addGeofences(),I waited for onAddGeofencesResuls()(which returned SUCCESS) and tried to use…
Flo
  • 1,409
  • 1
  • 16
  • 26
21
votes
2 answers

Unable to add Geofence in Android because "network location is disabled"

I'm attempting to add a geofence to an Android application. I noticed the following in the logs: 07-04 11:41:19.201 1945-2271/com.google.android.gms.persistent W/GeofencerStateMachine: Ignoring addGeofence because network location is disabled. I…
zundi
  • 2,063
  • 1
  • 23
  • 40
20
votes
2 answers

Excessive WakeUps warned by Android Vitals for Google Play Services geofences

I am currently working in a sample app for Android which uses geofencing for location monitoring, and I am finding it difficult to comply with Android Vitals background wakeup limit…
Gabriel Falcone
  • 648
  • 4
  • 16
17
votes
1 answer

Is geofencing completely unusable in Android?

Because of this bug my team is deciding to not use geofencing at all. Is geofencing in Android something that is usable or not? From the bug report: On all in-house test devices everything runs fine with debug and release builds. However, for…
Bruno Bronosky
  • 54,357
  • 9
  • 132
  • 120
17
votes
3 answers

Handling multiple geofences transition with common area

If I have these two geofences, after registering these geofences I should get notified when I'm entering or exiting the circumference of these circles. However, I don't want my App to send a notification if I'm moving through the common area, i.e.…
Pankaj
  • 2,005
  • 2
  • 17
  • 36
16
votes
1 answer

What is the maximum and minimum radius that can be set for regions in iOS geofencing

I was working on geofencing in iOS. I actually want to set different regions on the map with different radius for each regions. I actually want to know the Min and Max radius for Regions in iOS geofencing. Thanks,
Srivathsava K
  • 437
  • 1
  • 5
  • 15
15
votes
5 answers

Geofencing : HTTP request failed while sending through the background service. Gives UnknownHostException

I implemented Geofence in android application. I followed this link to implement 'Geofence' in app. I am using 'Retrofit' library to call 'HTTP' request. App has following permissions :
15
votes
3 answers

Are Android geofences surviving a reboot?

is the system persisting them or do I have to add them again them after reboot? I have not found anything about that in the documentation at https://developer.android.com/training/location/geofencing.html
ligi
  • 35,518
  • 37
  • 123
  • 220
15
votes
3 answers

Do Android Geofences get removed if the app is killed by the user?

The question is in the title. Do the new Android Geofences get removed if the app is killed by the user? I am using the new Android Geofences (announced at Google IO 2013). I can't quite work out if the app's Geofences get removed if the user…
Tim
  • 5,697
  • 9
  • 43
  • 60
14
votes
1 answer

Android LocationServices.GeofencingApi example usage

Does anyone know of an example of using the LocationServices.GeofencingApi? All the android geofencing examples I find are using the deprecated LocationClient class. From what I can see, the LocationServices class is the one to use, but there…
InquisitorJax
  • 984
  • 9
  • 15
1
2 3
48 49