Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyHuRadar committed Oct 1, 2024
1 parent 2605897 commit 68822d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions RadarSDK/RadarLocationManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,6 @@ - (void)replaceSyncedGeofences:(NSArray<RadarGeofence *> *)geofences {
NSString *notificationTitle = [geofence.metadata objectForKey:@"radar:notificationTitle"];
NSString *notificationSubtitle = [geofence.metadata objectForKey:@"radar:notificationSubtitle"];
NSString *notificationURL = [geofence.metadata objectForKey:@"radar:notificationURL"];
//NSLog(@"Notification URL: %@", notificationURL);
//NSLog(@"Geofence Metadata: %@", geofence.metadata);
if (notificationText) {
UNMutableNotificationContent *content = [UNMutableNotificationContent new];
if (notificationTitle) {
Expand Down
5 changes: 2 additions & 3 deletions RadarSDK/RadarSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,8 @@ + (void)setBeaconUUIDs:(NSArray<NSString *> *_Nullable)beaconUUIDs {
}

+ (NSString *)host {
return @"https://api.radar-staging.com";
//NSString *host = [[NSUserDefaults standardUserDefaults] stringForKey:kHost];
//return host ? host : kDefaultHost;
NSString *host = [[NSUserDefaults standardUserDefaults] stringForKey:kHost];
return host ? host : kDefaultHost;
}

+ (void)updateLastTrackedTime {
Expand Down

0 comments on commit 68822d7

Please sign in to comment.