Skip to content

Commit

Permalink
Add missing fields verified token (#347)
Browse files Browse the repository at this point in the history
* add missing fields to verified token when converting to a dictionary

* bump version 3.13.1
  • Loading branch information
ShiCheng-Lu authored Jun 7, 2024
1 parent baff0d7 commit 8303e9c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ build/
docs/undocumented.json
*.xcarchive
IntegrationExamples

.build/
2 changes: 1 addition & 1 deletion RadarSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'RadarSDK'
s.version = '3.13.0'
s.version = '3.13.1'
s.summary = 'iOS SDK for Radar, the leading geofencing and location tracking platform'
s.homepage = 'https://radar.com'
s.author = { 'Radar Labs, Inc.' => '[email protected]' }
Expand Down
4 changes: 2 additions & 2 deletions RadarSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MARKETING_VERSION = 3.13.0;
MARKETING_VERSION = 3.13.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -1083,7 +1083,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MARKETING_VERSION = 3.13.0;
MARKETING_VERSION = 3.13.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
OTHER_CFLAGS = "-fembed-bitcode";
Expand Down
2 changes: 1 addition & 1 deletion RadarSDK/RadarUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ + (NSNumber *)timeZoneOffset {
}

+ (NSString *)sdkVersion {
return @"3.13.0";
return @"3.13.1";
}

+ (NSString *)deviceId {
Expand Down
2 changes: 2 additions & 0 deletions RadarSDK/RadarVerifiedLocationToken.m
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ - (NSDictionary *)dictionaryValue {
dict[@"events"] = [RadarEvent arrayForEvents:self.events];
dict[@"token"] = self.token;
dict[@"expiresAt"] = [RadarUtils.isoDateFormatter stringFromDate:self.expiresAt];
dict[@"expiresIn"] = @(self.expiresIn);
dict[@"passed"] = @(self.passed);
return dict;
}

Expand Down

0 comments on commit 8303e9c

Please sign in to comment.