We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c85b76 commit 8abf09dCopy full SHA for 8abf09d
RadarSDK/RadarLocationManager.m
@@ -511,14 +511,14 @@ - (void)removeBubbleGeofence {
511
}
512
513
- (void)replaceSyncedGeofences:(NSArray<RadarGeofence *> *)geofences {
514
- [self removeSyncedGeofences];
515
-
516
if (!geofences) {
517
[[RadarLogger sharedInstance] logWithLevel:RadarLogLevelDebug message:@"Skipping replacing synced geofences"];
518
519
return;
520
521
+ [self removeSyncedGeofences];
+
522
RadarTrackingOptions *options = [Radar getTrackingOptions];
523
NSUInteger numGeofences = MIN(geofences.count, options.beacons ? 9 : 19);
524
NSMutableArray *requests = [NSMutableArray array];
0 commit comments