Questions tagged [region-monitoring]
57 questions
7
votes
3 answers
iOS 7 CoreLocation: region monitoring fails on the first time after location services are authorised
I identified a strange behaviour on my app using CoreLocation. I'm using the region monitoring functionality but, after authorising the location services (via popup or settings->Location Services) region monitoring fails (The operation couldn’t be…

Rui
- 5,900
- 10
- 38
- 56
5
votes
1 answer
How does CLVisit work?
I am working on a app that relies heavily on monitoring user visits in possibly multiple regions / areas. I am currently experimenting with region monitoring which works pretty well, however, the location callback is not as accurate as I want it to…

gordoneliel
- 86
- 2
- 7
5
votes
1 answer
Android - Need to add more than 100 geofences
I'm developing an application where user can set multiple locations. I get succeed to show notifications when user get Enter or Leave specific region using GeoFencing.
Now, there is situation that i need to provide monitoring for all saved locations…

Naitik
- 796
- 11
- 32
5
votes
1 answer
Number of "region" monitored by RegionMonitoring, based on users current location in iOS7
I am working on such a project where apps do the following things:
User select a radius (10 meter to 1000 meter) and go to next viewController by pressing "Go" button
Here apps Grab users current position and start "region monitoring" based on that…

Tulon
- 4,011
- 6
- 36
- 56
5
votes
1 answer
Geofencing iOS 6
I am creating an app that tells the user whether they are near the destination.
I am calculating the distance between the currentLocation and the destination. I'm doing the calculation inside the didUpdateLocations. It is working but I've seen that…

Camus
- 827
- 2
- 20
- 36
4
votes
1 answer
Region Monitoring not working in iOS if region don't have major
In my iOs app i am trying to monitor some beacon region on different parameter as follows:
> Method 1 - Region With Only UUID and Identifier :
In above scenario am starting monitoring beacon region with following
code where only uuid and…

BhavikKama
- 8,566
- 12
- 94
- 164
4
votes
1 answer
iBeacon region exit when taking call with bluetooth headset
We are using iBeacons to tag when you are driving your vehicle. But lately we have had a large number of of our users reporting that the iBeacons are not found when they are also using their phone for streaming music or answering calls over…

Tobias
- 131
- 1
- 6
3
votes
1 answer
iOS 14 - how to get iBeacon to wake up the app when precise location permission is denied?
I’m running into the following problem with iOS 14.0 previously - with background location permission I could:
Register for iBeacon region monitoring
Kill the app from the app switcher
Tap the screen and see the app relaunched in the console.
App…

Alex Stone
- 46,408
- 55
- 231
- 407
3
votes
0 answers
Region monitoring for current location iOS 7
I want to make an app that gives me an Enter & Exit alert message for current position with 10 meters radius. Here is my code:
-(void)startLocationServices
{
if (self.locationManager == nil)
{
self.locationManager =…

Tulon
- 4,011
- 6
- 36
- 56
2
votes
0 answers
iOS 15 does not wake up Xamarin Forms iOS app in background sometimes when app is killed
I am experiencing an issue with Xamarin Forms (iOS) app which does BLE beacon scanning in the background (App killed state).
The goal is to wake up app when user enters in a beacon region. This app works quite smoothly on iOS 12,13 & 14. The day…

Ali Raza
- 374
- 2
- 6
- 21
2
votes
1 answer
didUpdateLocations not being called anymore when didEnterRegion is being called
I have a problem with handling Geofence and user current location at the same time.
When app starts working, didUpdateLocations called perfectly and I have the user location as desired.
func locationManager(_ manager: CLLocationManager,…

Mina
- 2,167
- 2
- 25
- 32
2
votes
1 answer
iOS background wake on password protected device
In Apple Doc Understanding When Your App Gets Launched into the Background says
When password protection is enabled on the device, the system does not
launch an app in the background before the user first unlocks the
device.
Users cannot keep…

S.J
- 3,063
- 3
- 33
- 66
2
votes
0 answers
How to edit the regions already being monitored by CLLocationManager
Is there any way to edit a CLCircularRegion in the NSSet returned by monitoredRegions property of CLLocationManager object?
I want to do something like:
NSSet *monitoredRegionsSet = self.locationManager.monitoredRegions;
for (CLCircularRegion…

PGDev
- 23,751
- 6
- 34
- 88
2
votes
1 answer
Need to get more than 20 notification for Region Monitoring
I'm developing an application where user can set multiple locations. I get succeed to show notifications when user get Enter or Leave specific location boundary.
Now, there is situation that i need to provide monitoring for all saved locations and…

Mehul Solanki
- 465
- 7
- 27
2
votes
0 answers
Are there any undocumented reasons that could cause a kCLErrorRegionMonitoringFailure when trying to monitor regions?
When I monitor a region I frequently get a 'failure to monitor region error'.
There does not appear to be any consistency with which I get this error.
I can add and remove the exact same region details repeatedly and it will give me this error…

F3CP
- 730
- 5
- 17