Skip to content

Commit

Permalink
Sync geofences if there are no tracking options
Browse files Browse the repository at this point in the history
  • Loading branch information
lmeier committed Oct 24, 2023
1 parent ba97664 commit 72d285d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RadarSDK/RadarAPIClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ - (void)trackWithLocation:(CLLocation *_Nonnull)location
}

RadarTrackingOptions *options = [Radar getTrackingOptions];
if (options.syncGeofences) {
if (options.syncGeofences || options == nil) {
params[@"nearbyGeofences"] = @(YES);
}
if (beacons) {
Expand Down

0 comments on commit 72d285d

Please sign in to comment.