Skip to content

Commit

Permalink
fix notification authorization value for track call (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiCheng-Lu authored Oct 17, 2024
1 parent d634f27 commit 1f6b2b0
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 @@ -314,7 +314,7 @@ - (void)trackWithLocation:(CLLocation *_Nonnull)location
if (locationAccuracyAuthorization) {
params[@"locationAccuracyAuthorization"] = locationAccuracyAuthorization;
}
params[@"notificationAuthorization"] = [RadarState notificationPermissionGranted] ? @"true" : @"false";
params[@"notificationAuthorization"] = @([RadarState notificationPermissionGranted]);

params[@"trackingOptions"] = [options dictionaryValue];

Expand Down

0 comments on commit 1f6b2b0

Please sign in to comment.