Skip to content

Commit 4763340

Browse files
authored
Merge pull request #357 from Countly/visibility-flag-fix
Fixed visibility tracking flag issue
2 parents 693e51a + f13026c commit 4763340

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 24.7.7
2+
* Changed the visibility tracking segmentation values to binary
3+
14
## 24.7.6
25
* Mitigated an issue with experimental visibility tracking and previous name recording, ensuring they’re included even when no segmentation is provided in event or view recording.
36

Countly-PL.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Countly-PL'
3-
s.version = '24.7.6'
3+
s.version = '24.7.7'
44
s.license = { :type => 'MIT', :file => 'LICENSE' }
55
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
66
s.homepage = 'https://github.com/Countly/countly-sdk-ios'

Countly.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ - (NSDictionary*) processSegmentation:(NSMutableDictionary *) segmentation event
941941
}
942942

943943
if(CountlyCommon.sharedInstance.enableVisibiltyTracking) {
944-
segmentation[kCountlyVisibility] = @([self isAppInForeground]);
944+
segmentation[kCountlyVisibility] = @([self isAppInForeground] ? 1 : 0);
945945
}
946946

947947
return segmentation.count == 0 ? nil : segmentation;

Countly.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Countly'
3-
s.version = '24.7.6'
3+
s.version = '24.7.7'
44
s.license = { :type => 'MIT', :file => 'LICENSE' }
55
s.summary = 'Countly is an innovative, real-time, open source mobile analytics platform.'
66
s.homepage = 'https://github.com/Countly/countly-sdk-ios'

Countly.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@
738738
"@loader_path/Frameworks",
739739
);
740740
MACOSX_DEPLOYMENT_TARGET = 10.14;
741-
MARKETING_VERSION = 24.7.6;
741+
MARKETING_VERSION = 24.7.7;
742742
PRODUCT_BUNDLE_IDENTIFIER = ly.count.CountlyiOSSDK;
743743
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
744744
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -770,7 +770,7 @@
770770
"@loader_path/Frameworks",
771771
);
772772
MACOSX_DEPLOYMENT_TARGET = 10.14;
773-
MARKETING_VERSION = 24.7.6;
773+
MARKETING_VERSION = 24.7.7;
774774
PRODUCT_BUNDLE_IDENTIFIER = ly.count.CountlyiOSSDK;
775775
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
776776
PROVISIONING_PROFILE_SPECIFIER = "";

CountlyCommon.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ @interface CountlyCommon ()
2929
#endif
3030
@end
3131

32-
NSString* const kCountlySDKVersion = @"24.7.6";
32+
NSString* const kCountlySDKVersion = @"24.7.7";
3333
NSString* const kCountlySDKName = @"objc-native-ios";
3434

3535
NSString* const kCountlyErrorDomain = @"ly.count.ErrorDomain";

0 commit comments

Comments
 (0)